22max-line-length = 88
33select =
44# flake8 default
5- C90, E, F, W,
6- # docstring-convention=numpy
7- D100, D101, D102, D103, D104, D105, D106,
8- D200, D201, D202, D204, D205, D206, D207, D208,
9- D209, D210, D211, D214, D215,
10- D300, D301, D302,
11- D400, D401, D403, D404, D405, D406, D407, D408,
12- D409, D410, D411, D412, D414,
13- # matplotlib-specific extra pydocstyle errors
14- D213,
5+ D, E, F, W,
156ignore =
167# flake8 default
178 E121,E123,E126,E226,E24,E704,W503,W504,
189# Additional ignores:
1910 E127, E131,
2011 E266,
2112 E305, E306,
22- E722, E741,
13+ E741,
2314 F841,
24- # Some new flake8 ignores:
25- N801, N802, N803, N806, N812,
2615# pydocstyle
27- D100, D101, D102, D103, D104, D105, D106, D107,
28- D200, D202,D203, D204, D205, D207, D212 ,
16+ D100, D101, D102, D103, D104, D105, D106,
17+ D200, D202, D204, D205,
2918 D301,
30- D400, D401, D402, D403, D404, D413,
19+ D400, D401, D403, D404
20+ # ignored by pydocstyle numpy docstring convention
21+ D107, D203, D212, D213, D402, D413, D415, D416, D417,
3122
3223exclude =
3324 .git
@@ -42,7 +33,6 @@ exclude =
4233per-file-ignores =
4334 setup.py: E402
4435
45-
4636 lib/matplotlib/__init__.py: E402, F401
4737 lib/matplotlib/_animation_data.py: E501
4838 lib/matplotlib/_api/__init__.py: F401
@@ -81,9 +71,6 @@ per-file-ignores =
8171 tutorials/text/mathtext.py: E501
8272 tutorials/text/text_intro.py: E402
8373 tutorials/text/text_props.py: E501
84- tutorials/text/usetex.py: E501
85- tutorials/toolkits/axes_grid.py: E501
86- tutorials/toolkits/axisartist.py: E501
8774
8875 examples/animation/frame_grabbing_sgskip.py: E402
8976 examples/images_contours_and_fields/tricontour_demo.py: E201
@@ -93,7 +80,6 @@ per-file-ignores =
9380 examples/misc/print_stdout_sgskip.py: E402
9481 examples/misc/table_demo.py: E201
9582 examples/style_sheets/bmh.py: E501
96- examples/style_sheets/plot_solarizedlight2.py: E501
9783 examples/subplots_axes_and_figures/demo_constrained_layout.py: E402
9884 examples/text_labels_and_annotations/custom_legends.py: E402
9985 examples/ticks/date_concise_formatter.py: E402