@@ -3,17 +3,24 @@ ignore =
33 # Normal default
44 E121,E123,E126,E226,E24,E704,W503,W504,
55 # Additional ignores:
6- E111, E114, E115, E116, E122, E124 , E125, E127, E128, E129, E131,
6+ E122, E125, E127, E128, E129, E131,
77 E265, E266,
88 E305, E306,
99 E722, E741,
1010 F401, F403, F811, F841,
1111 # Some new flake8 ignores:
1212 N801, N802, N803, N806, N812,
13+ # pydocstyle
14+ D100, D101, D102, D103, D104, D105, D106, D107,
15+ D200, D202, D203, D204, D205, D207, D209, D212, D213,
16+ D300, D301
17+ D400, D401, D402, D403, D413,
1318
1419exclude =
1520 .git
1621 build
22+ doc/gallery
23+ doc/tutorials
1724 # External files.
1825 versioneer.py
1926 tools/gh_api.py
@@ -25,41 +32,21 @@ per-file-ignores =
2532 setup.py: E402
2633 setupext.py: E501
2734
28- tools/compare_backend_driver_results.py: E501
2935 tools/subset.py: E221, E251, E261, E302, E501
3036
3137 lib/matplotlib/_cm.py: E202, E203, E302
3238 lib/matplotlib/_mathtext_data.py: E203, E261
33- lib/matplotlib/backends/_backend_tk.py: E501
34- lib/matplotlib/backends/backend_agg.py: E302
35- lib/matplotlib/backends/backend_cairo.py: E203, E221, E402
36- lib/matplotlib/backends/backend_gtk3.py: E203, E221, E225, E251, E501
37- lib/matplotlib/backends/backend_pgf.py: E731
38- lib/matplotlib/backends/qt_editor/_formlayout.py: E501
39- lib/matplotlib/font_manager.py: E203, E221, E251, E501
40- lib/matplotlib/fontconfig_pattern.py: E201, E203, E221, E222, E225
41- lib/matplotlib/mathtext.py: E201, E202, E203, E211, E221, E222, E225, E251, E301, E402
42- lib/matplotlib/projections/geo.py: E203, E221, E502
43- lib/matplotlib/pylab.py: E501
39+ lib/matplotlib/font_manager.py: E221, E251, E501
40+ lib/matplotlib/mathtext.py: E221, E251
4441 lib/matplotlib/rcsetup.py: E501
4542 lib/matplotlib/tests/test_mathtext.py: E501
46- lib/matplotlib/transforms.py: E201, E202, E203, E501
43+ lib/matplotlib/transforms.py: E201, E202, E203
4744 lib/matplotlib/tri/triinterpolate.py: E201, E221
48- lib/matplotlib/type1font.py: E731
4945
50- lib/mpl_toolkits/axes_grid1/axes_divider.py: E402, E501
5146 lib/mpl_toolkits/axes_grid1/axes_size.py: E272
52- lib/mpl_toolkits/axes_grid1/colorbar.py: E225, E501
5347 lib/mpl_toolkits/axisartist/angle_helper.py: E221
54- lib/mpl_toolkits/axisartist/clip_path.py: E225
55- lib/mpl_toolkits/axisartist/floating_axes.py: E225, E402, E501
56- lib/mpl_toolkits/axisartist/grid_helper_curvelinear.py: E225, E501
5748
5849 doc/conf.py: E402, E501
59- doc/sphinxext/github.py: E302, E501
60- doc/sphinxext/math_symbol_table.py: E302, E501
61- doc/sphinxext/skip_deprecated.py: E302
62- doc/users/generate_credits.py: E302, E501
6350 tutorials/advanced/path_tutorial.py: E402, E501
6451 tutorials/advanced/patheffects_guide.py: E402, E501
6552 tutorials/advanced/transforms_tutorial.py: E402, E501
@@ -86,6 +73,7 @@ per-file-ignores =
8673
8774 examples/animation/frame_grabbing_sgskip.py: E402
8875 examples/axes_grid1/inset_locator_demo.py: E402
76+ examples/axes_grid1/scatter_hist_locatable_axes.py: E401, E402
8977 examples/axisartist/demo_curvelinear_grid.py: E402
9078 examples/color/color_by_yvalue.py: E402
9179 examples/color/color_cycle_default.py: E402
@@ -110,6 +98,7 @@ per-file-ignores =
11098 examples/images_contours_and_fields/contourf_hatching.py: E402
11199 examples/images_contours_and_fields/contourf_log.py: E402
112100 examples/images_contours_and_fields/demo_bboximage.py: E402
101+ examples/images_contours_and_fields/image_antialiasing.py: E402
113102 examples/images_contours_and_fields/image_clip_path.py: E402
114103 examples/images_contours_and_fields/image_demo.py: E402
115104 examples/images_contours_and_fields/image_masked.py: E402
@@ -137,15 +126,19 @@ per-file-ignores =
137126 examples/images_contours_and_fields/triplot_demo.py: E201, E402
138127 examples/images_contours_and_fields/watermark_image.py: E402
139128 examples/lines_bars_and_markers/errorbar_limits_simple.py: E402
129+ examples/lines_bars_and_markers/fill.py: E402
140130 examples/lines_bars_and_markers/fill_between_demo.py: E402
141131 examples/lines_bars_and_markers/filled_step.py: E402
132+ examples/lines_bars_and_markers/horizontal_barchart_distribution.py: E402
142133 examples/lines_bars_and_markers/joinstyle.py: E402
134+ examples/lines_bars_and_markers/scatter_hist.py: E402
143135 examples/lines_bars_and_markers/scatter_piecharts.py: E402
144136 examples/lines_bars_and_markers/scatter_with_legend.py: E402
145137 examples/lines_bars_and_markers/span_regions.py: E402
146138 examples/lines_bars_and_markers/stem_plot.py: E402
147139 examples/lines_bars_and_markers/step_demo.py: E402
148140 examples/lines_bars_and_markers/timeline.py: E402
141+ examples/lines_bars_and_markers/xcorr_acorr_demo.py: E402
149142 examples/misc/agg_buffer.py: E402
150143 examples/misc/anchored_artists.py: E501
151144 examples/misc/contour_manual.py: E501
@@ -188,7 +181,6 @@ per-file-ignores =
188181 examples/pyplots/text_commands.py: E231, E402
189182 examples/pyplots/text_layout.py: E231, E402
190183 examples/pyplots/whats_new_1_subplot3d.py: E402
191- examples/pyplots/whats_new_98_4_fancy.py: E302, E402
192184 examples/pyplots/whats_new_98_4_fill_between.py: E225, E402
193185 examples/pyplots/whats_new_98_4_legend.py: E228, E402
194186 examples/pyplots/whats_new_99_axes_grid.py: E402
@@ -225,15 +217,17 @@ per-file-ignores =
225217 examples/style_sheets/plot_solarizedlight2.py: E501
226218 examples/subplots_axes_and_figures/axes_margins.py: E402
227219 examples/subplots_axes_and_figures/axes_zoom_effect.py: E402
220+ examples/subplots_axes_and_figures/custom_figure_class.py: E402
228221 examples/subplots_axes_and_figures/demo_constrained_layout.py: E402
229222 examples/subplots_axes_and_figures/demo_tight_layout.py: E402
230223 examples/subplots_axes_and_figures/secondary_axis.py: E402
231224 examples/subplots_axes_and_figures/two_scales.py: E402
232225 examples/subplots_axes_and_figures/zoom_inset_axes.py: E402
233226 examples/tests/backend_driver_sgskip.py: E402, E501
234227 examples/text_labels_and_annotations/annotation_demo.py: E501
235- examples/text_labels_and_annotations/demo_text_rotation_mode.py: E402
228+ examples/text_labels_and_annotations/demo_text_rotation_mode.py: E402
236229 examples/text_labels_and_annotations/custom_legends.py: E402
230+ examples/text_labels_and_annotations/fancyarrow_demo.py: E402
237231 examples/text_labels_and_annotations/font_family_rc_sgskip.py: E402
238232 examples/text_labels_and_annotations/font_file.py: E402
239233 examples/text_labels_and_annotations/legend.py: E402
@@ -242,7 +236,7 @@ per-file-ignores =
242236 examples/text_labels_and_annotations/tex_demo.py: E402
243237 examples/text_labels_and_annotations/watermark_text.py: E402
244238 examples/ticks_and_spines/auto_ticks.py: E501
245- examples/ticks_and_spines/date_concise_formatter.py: E402
239+ examples/ticks_and_spines/date_concise_formatter.py: E402
246240 examples/user_interfaces/canvasagg.py: E402
247241 examples/user_interfaces/embedding_in_gtk3_panzoom_sgskip.py: E402
248242 examples/user_interfaces/embedding_in_gtk3_sgskip.py: E402
@@ -257,6 +251,7 @@ per-file-ignores =
257251 examples/user_interfaces/mpl_with_glade3_sgskip.py: E402
258252 examples/user_interfaces/pylab_with_gtk_sgskip.py: E302, E402
259253 examples/user_interfaces/toolmanager_sgskip.py: E402
254+ examples/userdemo/connectionstyle_demo.py: E402
260255 examples/userdemo/custom_boxstyle01.py: E402
261256 examples/userdemo/pgf_preamble_sgskip.py: E402
262257 examples/userdemo/simple_annotate01.py: E501
0 commit comments