@@ -3,17 +3,24 @@ ignore =
3
3
# Normal default
4
4
E121,E123,E126,E226,E24,E704,W503,W504,
5
5
# Additional ignores:
6
- E111, E114, E115, E116, E122, E124 , E125, E127, E128, E129, E131,
6
+ E122, E125, E127, E128, E129, E131,
7
7
E265, E266,
8
8
E305, E306,
9
9
E722, E741,
10
10
F401, F403, F811, F841,
11
11
# Some new flake8 ignores:
12
12
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,
13
18
14
19
exclude =
15
20
.git
16
21
build
22
+ doc/gallery
23
+ doc/tutorials
17
24
# External files.
18
25
versioneer.py
19
26
tools/gh_api.py
@@ -25,41 +32,21 @@ per-file-ignores =
25
32
setup.py: E402
26
33
setupext.py: E501
27
34
28
- tools/compare_backend_driver_results.py: E501
29
35
tools/subset.py: E221, E251, E261, E302, E501
30
36
31
37
lib/matplotlib/_cm.py: E202, E203, E302
32
38
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
44
41
lib/matplotlib/rcsetup.py: E501
45
42
lib/matplotlib/tests/test_mathtext.py: E501
46
- lib/matplotlib/transforms.py: E201, E202, E203, E501
43
+ lib/matplotlib/transforms.py: E201, E202, E203
47
44
lib/matplotlib/tri/triinterpolate.py: E201, E221
48
- lib/matplotlib/type1font.py: E731
49
45
50
- lib/mpl_toolkits/axes_grid1/axes_divider.py: E402, E501
51
46
lib/mpl_toolkits/axes_grid1/axes_size.py: E272
52
- lib/mpl_toolkits/axes_grid1/colorbar.py: E225, E501
53
47
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
57
48
58
49
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
63
50
tutorials/advanced/path_tutorial.py: E402, E501
64
51
tutorials/advanced/patheffects_guide.py: E402, E501
65
52
tutorials/advanced/transforms_tutorial.py: E402, E501
@@ -86,6 +73,7 @@ per-file-ignores =
86
73
87
74
examples/animation/frame_grabbing_sgskip.py: E402
88
75
examples/axes_grid1/inset_locator_demo.py: E402
76
+ examples/axes_grid1/scatter_hist_locatable_axes.py: E401, E402
89
77
examples/axisartist/demo_curvelinear_grid.py: E402
90
78
examples/color/color_by_yvalue.py: E402
91
79
examples/color/color_cycle_default.py: E402
@@ -110,6 +98,7 @@ per-file-ignores =
110
98
examples/images_contours_and_fields/contourf_hatching.py: E402
111
99
examples/images_contours_and_fields/contourf_log.py: E402
112
100
examples/images_contours_and_fields/demo_bboximage.py: E402
101
+ examples/images_contours_and_fields/image_antialiasing.py: E402
113
102
examples/images_contours_and_fields/image_clip_path.py: E402
114
103
examples/images_contours_and_fields/image_demo.py: E402
115
104
examples/images_contours_and_fields/image_masked.py: E402
@@ -137,15 +126,19 @@ per-file-ignores =
137
126
examples/images_contours_and_fields/triplot_demo.py: E201, E402
138
127
examples/images_contours_and_fields/watermark_image.py: E402
139
128
examples/lines_bars_and_markers/errorbar_limits_simple.py: E402
129
+ examples/lines_bars_and_markers/fill.py: E402
140
130
examples/lines_bars_and_markers/fill_between_demo.py: E402
141
131
examples/lines_bars_and_markers/filled_step.py: E402
132
+ examples/lines_bars_and_markers/horizontal_barchart_distribution.py: E402
142
133
examples/lines_bars_and_markers/joinstyle.py: E402
134
+ examples/lines_bars_and_markers/scatter_hist.py: E402
143
135
examples/lines_bars_and_markers/scatter_piecharts.py: E402
144
136
examples/lines_bars_and_markers/scatter_with_legend.py: E402
145
137
examples/lines_bars_and_markers/span_regions.py: E402
146
138
examples/lines_bars_and_markers/stem_plot.py: E402
147
139
examples/lines_bars_and_markers/step_demo.py: E402
148
140
examples/lines_bars_and_markers/timeline.py: E402
141
+ examples/lines_bars_and_markers/xcorr_acorr_demo.py: E402
149
142
examples/misc/agg_buffer.py: E402
150
143
examples/misc/anchored_artists.py: E501
151
144
examples/misc/contour_manual.py: E501
@@ -188,7 +181,6 @@ per-file-ignores =
188
181
examples/pyplots/text_commands.py: E231, E402
189
182
examples/pyplots/text_layout.py: E231, E402
190
183
examples/pyplots/whats_new_1_subplot3d.py: E402
191
- examples/pyplots/whats_new_98_4_fancy.py: E302, E402
192
184
examples/pyplots/whats_new_98_4_fill_between.py: E225, E402
193
185
examples/pyplots/whats_new_98_4_legend.py: E228, E402
194
186
examples/pyplots/whats_new_99_axes_grid.py: E402
@@ -225,15 +217,17 @@ per-file-ignores =
225
217
examples/style_sheets/plot_solarizedlight2.py: E501
226
218
examples/subplots_axes_and_figures/axes_margins.py: E402
227
219
examples/subplots_axes_and_figures/axes_zoom_effect.py: E402
220
+ examples/subplots_axes_and_figures/custom_figure_class.py: E402
228
221
examples/subplots_axes_and_figures/demo_constrained_layout.py: E402
229
222
examples/subplots_axes_and_figures/demo_tight_layout.py: E402
230
223
examples/subplots_axes_and_figures/secondary_axis.py: E402
231
224
examples/subplots_axes_and_figures/two_scales.py: E402
232
225
examples/subplots_axes_and_figures/zoom_inset_axes.py: E402
233
226
examples/tests/backend_driver_sgskip.py: E402, E501
234
227
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
236
229
examples/text_labels_and_annotations/custom_legends.py: E402
230
+ examples/text_labels_and_annotations/fancyarrow_demo.py: E402
237
231
examples/text_labels_and_annotations/font_family_rc_sgskip.py: E402
238
232
examples/text_labels_and_annotations/font_file.py: E402
239
233
examples/text_labels_and_annotations/legend.py: E402
@@ -242,7 +236,7 @@ per-file-ignores =
242
236
examples/text_labels_and_annotations/tex_demo.py: E402
243
237
examples/text_labels_and_annotations/watermark_text.py: E402
244
238
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
246
240
examples/user_interfaces/canvasagg.py: E402
247
241
examples/user_interfaces/embedding_in_gtk3_panzoom_sgskip.py: E402
248
242
examples/user_interfaces/embedding_in_gtk3_sgskip.py: E402
@@ -257,6 +251,7 @@ per-file-ignores =
257
251
examples/user_interfaces/mpl_with_glade3_sgskip.py: E402
258
252
examples/user_interfaces/pylab_with_gtk_sgskip.py: E302, E402
259
253
examples/user_interfaces/toolmanager_sgskip.py: E402
254
+ examples/userdemo/connectionstyle_demo.py: E402
260
255
examples/userdemo/custom_boxstyle01.py: E402
261
256
examples/userdemo/pgf_preamble_sgskip.py: E402
262
257
examples/userdemo/simple_annotate01.py: E501
0 commit comments