From a04a10e7e35f3341543273ab3cc1ec1b1a58980f Mon Sep 17 00:00:00 2001 From: nulano Date: Fri, 10 Jul 2020 01:49:09 +0200 Subject: [PATCH] ignore some nitpicky warnings --- docs/conf.py | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 6141fac18..98e52b59b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -112,7 +112,20 @@ nitpicky = True # generating warnings in “nitpicky mode”. Note that type should include the domain name # if present. Example entries would be ('py:func', 'int') or # ('envvar', 'LD_LIBRARY_PATH'). -# nitpick_ignore = [] +nitpick_ignore = [ + ("py:meth", "_open"), + ("py:attr", "tile"), + ("py:meth", "CDC.GetHandleAttrib"), + ("py:meth", "PIL.Image.Image.convert2byte"), + ("py:attr", "PIL.Image.Image.tag"), + ("py:attr", "PIL.Image.Image.tag_v2"), + ("py:attr", "PIL.Image.Image.tile"), + ("py:data", "PIL.Image.MAX_PIXELS"), + ("py:func", "PIL.ImageMath.convert"), + ("py:func", "PIL.ImageMath.float"), + ("py:func", "PIL.ImageMath.int"), + ("py:attr", "PIL.TiffImagePlugin.ImageFileDirectory_v2.tagtype"), +] # -- Options for HTML output ----------------------------------------------