mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-05 06:00:58 +03:00
Merge pull request #4776 from nulano/refs-nitpick
This commit is contained in:
commit
c6aae87da9
24
docs/conf.py
24
docs/conf.py
|
@ -105,6 +105,30 @@ pygments_style = "sphinx"
|
||||||
# If true, `todo` and `todoList` produce output, else they produce nothing.
|
# If true, `todo` and `todoList` produce output, else they produce nothing.
|
||||||
todo_include_todos = False
|
todo_include_todos = False
|
||||||
|
|
||||||
|
# If true, Sphinx will warn about all references where the target cannot be found.
|
||||||
|
# Default is False. You can activate this mode temporarily using the -n command-line
|
||||||
|
# switch.
|
||||||
|
nitpicky = True
|
||||||
|
|
||||||
|
# A list of (type, target) tuples (by default empty) that should be ignored when
|
||||||
|
# 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 = [
|
||||||
|
("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_IMAGE_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 ----------------------------------------------
|
# -- Options for HTML output ----------------------------------------------
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ New DecompressionBomb Warning
|
||||||
|
|
||||||
:py:meth:`PIL.Image.Image.crop` now may raise a DecompressionBomb
|
:py:meth:`PIL.Image.Image.crop` now may raise a DecompressionBomb
|
||||||
warning if the crop region enlarges the image over the threshold
|
warning if the crop region enlarges the image over the threshold
|
||||||
specified by :py:data:`PIL.Image.MAX_PIXELS`.
|
specified by :py:data:`PIL.Image.MAX_IMAGE_PIXELS`.
|
||||||
|
|
||||||
Removed Deprecated Items
|
Removed Deprecated Items
|
||||||
========================
|
========================
|
||||||
|
|
Loading…
Reference in New Issue
Block a user