forked from matplotlib/matplotlib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flake8
252 lines (245 loc) · 12.3 KB
/
.flake8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
[flake8]
ignore =
# Normal default
E121,E123,E126,E226,E24,E704,W503,W504,
# Additional ignores:
E122, E125, E127, E128, E129, E131,
E265, E266,
E305, E306,
E722, E741,
F401, F403, F811, F841,
# Some new flake8 ignores:
N801, N802, N803, N806, N812,
# pydocstyle
D100, D101, D102, D103, D104, D105, D106, D107,
D200, D202, D203, D204, D205, D207, D209, D212, D213,
D300, D301
D400, D401, D402, D403, D413,
exclude =
.git
build
# External files.
versioneer.py
tools/gh_api.py
tools/github_stats.py
.tox
.eggs
per-file-ignores =
setup.py: E402
tools/subset.py: E221, E251, E261, E302, E501
lib/matplotlib/_cm.py: E202, E203, E302
lib/matplotlib/_mathtext_data.py: E203, E261
lib/matplotlib/font_manager.py: E203, E221, E251, E501
lib/matplotlib/mathtext.py: E221, E251
lib/matplotlib/rcsetup.py: E501
lib/matplotlib/tests/test_mathtext.py: E501
lib/matplotlib/transforms.py: E201, E202, E203
lib/matplotlib/tri/triinterpolate.py: E201, E221
lib/mpl_toolkits/axes_grid1/axes_size.py: E272
lib/mpl_toolkits/axisartist/angle_helper.py: E221
doc/conf.py: E402, E501
tutorials/advanced/path_tutorial.py: E402, E501
tutorials/advanced/patheffects_guide.py: E402, E501
tutorials/advanced/transforms_tutorial.py: E402, E501
tutorials/colors/colormaps.py: E501
tutorials/colors/colors.py: E402
tutorials/colors/colormap-manipulation.py: E402
tutorials/intermediate/artists.py: E402, E501
tutorials/intermediate/constrainedlayout_guide.py: E402
tutorials/intermediate/gridspec.py: E402, E501
tutorials/intermediate/legend_guide.py: E402, E501
tutorials/intermediate/tight_layout_guide.py: E402, E501
tutorials/introductory/customizing.py: E501
tutorials/introductory/images.py: E402, E501
tutorials/introductory/pyplot.py: E402, E501
tutorials/introductory/sample_plots.py: E501
tutorials/introductory/usage.py: E501
tutorials/text/annotations.py: E501
tutorials/text/pgf.py: E501
tutorials/text/text_intro.py: E402
tutorials/text/text_props.py: E501
tutorials/text/usetex.py: E501
tutorials/toolkits/axes_grid.py: E501
tutorials/toolkits/axisartist.py: E501
examples/animation/frame_grabbing_sgskip.py: E402
examples/axes_grid1/inset_locator_demo.py: E402
examples/axisartist/demo_curvelinear_grid.py: E402
examples/color/color_by_yvalue.py: E402
examples/color/color_cycle_default.py: E402
examples/color/color_cycler.py: E402
examples/color/color_demo.py: E402
examples/color/colorbar_basics.py: E402
examples/color/colormap_reference.py: E402
examples/color/custom_cmap.py: E402
examples/color/named_colors.py: E402
examples/event_handling/data_browser.py: E501
examples/event_handling/path_editor.py: E501
examples/event_handling/pick_event_demo.py: E501
examples/event_handling/poly_editor.py: E501
examples/event_handling/viewlims.py: E501
examples/images_contours_and_fields/affine_image.py: E402
examples/images_contours_and_fields/barb_demo.py: E402
examples/images_contours_and_fields/barcode_demo.py: E402
examples/images_contours_and_fields/contour_corner_mask.py: E402
examples/images_contours_and_fields/contour_demo.py: E402, E501
examples/images_contours_and_fields/contour_image.py: E402
examples/images_contours_and_fields/contourf_demo.py: E402, E501
examples/images_contours_and_fields/contourf_hatching.py: E402
examples/images_contours_and_fields/contourf_log.py: E402
examples/images_contours_and_fields/demo_bboximage.py: E402
examples/images_contours_and_fields/image_clip_path.py: E402
examples/images_contours_and_fields/image_demo.py: E402
examples/images_contours_and_fields/image_masked.py: E402
examples/images_contours_and_fields/image_transparency_blend.py: E402
examples/images_contours_and_fields/image_zcoord.py: E402
examples/images_contours_and_fields/interpolation_methods.py: E402
examples/images_contours_and_fields/irregulardatagrid.py: E402
examples/images_contours_and_fields/layer_images.py: E402
examples/images_contours_and_fields/matshow.py: E402
examples/images_contours_and_fields/multi_image.py: E402
examples/images_contours_and_fields/pcolor_demo.py: E402
examples/images_contours_and_fields/plot_streamplot.py: E402
examples/images_contours_and_fields/quadmesh_demo.py: E402
examples/images_contours_and_fields/quiver_demo.py: E402
examples/images_contours_and_fields/quiver_simple_demo.py: E402
examples/images_contours_and_fields/shading_example.py: E402, E501
examples/images_contours_and_fields/specgram_demo.py: E402, E501
examples/images_contours_and_fields/spy_demos.py: E402
examples/images_contours_and_fields/tricontour_demo.py: E201, E402
examples/images_contours_and_fields/tricontour_smooth_delaunay.py: E402
examples/images_contours_and_fields/tricontour_smooth_user.py: E402
examples/images_contours_and_fields/trigradient_demo.py: E402
examples/images_contours_and_fields/triinterp_demo.py: E402
examples/images_contours_and_fields/tripcolor_demo.py: E201, E402
examples/images_contours_and_fields/triplot_demo.py: E201, E402
examples/images_contours_and_fields/watermark_image.py: E402
examples/lines_bars_and_markers/errorbar_limits_simple.py: E402
examples/lines_bars_and_markers/fill.py: E402
examples/lines_bars_and_markers/fill_between_demo.py: E402
examples/lines_bars_and_markers/filled_step.py: E402
examples/lines_bars_and_markers/horizontal_barchart_distribution.py: E402
examples/lines_bars_and_markers/joinstyle.py: E402
examples/lines_bars_and_markers/scatter_piecharts.py: E402
examples/lines_bars_and_markers/scatter_with_legend.py: E402
examples/lines_bars_and_markers/span_regions.py: E402
examples/lines_bars_and_markers/stem_plot.py: E402
examples/lines_bars_and_markers/step_demo.py: E402
examples/lines_bars_and_markers/timeline.py: E402
examples/lines_bars_and_markers/xcorr_acorr_demo.py: E402
examples/misc/agg_buffer.py: E402
examples/misc/anchored_artists.py: E501
examples/misc/contour_manual.py: E501
examples/misc/font_indexing.py: E501
examples/misc/ftface_props.py: E501
examples/misc/histogram_path.py: E402
examples/misc/print_stdout_sgskip.py: E402
examples/misc/svg_filter_line.py: E402, E501
examples/misc/svg_filter_pie.py: E402, E501
examples/misc/table_demo.py: E201
examples/mplot3d/voxels.py: E501
examples/mplot3d/wire3d_zero_stride.py: E501
examples/pie_and_polar_charts/bar_of_pie.py: E402
examples/pie_and_polar_charts/nested_pie.py: E402
examples/pie_and_polar_charts/pie_and_donut_labels.py: E402
examples/pie_and_polar_charts/pie_demo2.py: E402
examples/pie_and_polar_charts/pie_features.py: E402
examples/pie_and_polar_charts/polar_bar.py: E402
examples/pie_and_polar_charts/polar_demo.py: E402
examples/pie_and_polar_charts/polar_legend.py: E402
examples/pie_and_polar_charts/polar_scatter.py: E402
examples/pyplots/align_ylabels.py: E402
examples/pyplots/annotate_transform.py: E228, E251, E402, E501
examples/pyplots/annotation_basic.py: E402
examples/pyplots/annotation_polar.py: E231, E402
examples/pyplots/auto_subplots_adjust.py: E231, E302, E402
examples/pyplots/boxplot_demo_pyplot.py: E231, E402
examples/pyplots/compound_path_demo.py: E231
examples/pyplots/dollar_ticks.py: E402
examples/pyplots/fig_axes_customize_simple.py: E402
examples/pyplots/fig_axes_labels_simple.py: E402
examples/pyplots/fig_x.py: E402
examples/pyplots/pyplot_formatstr.py: E231, E402
examples/pyplots/pyplot_mathtext.py: E231, E402
examples/pyplots/pyplot_scales.py: E402
examples/pyplots/pyplot_simple.py: E231, E402
examples/pyplots/pyplot_text.py: E402
examples/pyplots/pyplot_three.py: E402
examples/pyplots/pyplot_two_subplots.py: E402
examples/pyplots/text_commands.py: E231, E402
examples/pyplots/text_layout.py: E231, E402
examples/pyplots/whats_new_1_subplot3d.py: E402
examples/pyplots/whats_new_98_4_fill_between.py: E225, E402
examples/pyplots/whats_new_98_4_legend.py: E228, E402
examples/pyplots/whats_new_99_axes_grid.py: E402
examples/pyplots/whats_new_99_mplot3d.py: E402
examples/pyplots/whats_new_99_spines.py: E231, E402
examples/recipes/placing_text_boxes.py: E501
examples/scales/power_norm.py: E402
examples/scales/scales.py: E402
examples/shapes_and_collections/artist_reference.py: E402
examples/shapes_and_collections/collections.py: E402
examples/shapes_and_collections/compound_path.py: E402
examples/shapes_and_collections/dolphin.py: E402, E501
examples/shapes_and_collections/donut.py: E402
examples/shapes_and_collections/ellipse_collection.py: E402
examples/shapes_and_collections/ellipse_demo.py: E402
examples/shapes_and_collections/fancybox_demo.py: E402
examples/shapes_and_collections/hatch_demo.py: E402
examples/shapes_and_collections/line_collection.py: E402
examples/shapes_and_collections/marker_path.py: E402
examples/shapes_and_collections/patch_collection.py: E402
examples/shapes_and_collections/path_patch.py: E402, E501
examples/shapes_and_collections/quad_bezier.py: E402
examples/shapes_and_collections/scatter.py: E402
examples/showcase/firefox.py: E501
examples/specialty_plots/anscombe.py: E402, E501
examples/specialty_plots/radar_chart.py: E402
examples/specialty_plots/sankey_basics.py: E402, E501
examples/specialty_plots/sankey_links.py: E402
examples/specialty_plots/sankey_rankine.py: E402
examples/specialty_plots/skewt.py: E402
examples/statistics/boxplot_demo.py: E501
examples/style_sheets/bmh.py: E501
examples/style_sheets/ggplot.py: E501
examples/style_sheets/plot_solarizedlight2.py: E501
examples/subplots_axes_and_figures/axes_margins.py: E402
examples/subplots_axes_and_figures/axes_zoom_effect.py: E402
examples/subplots_axes_and_figures/custom_figure_class.py: E402
examples/subplots_axes_and_figures/demo_constrained_layout.py: E402
examples/subplots_axes_and_figures/demo_tight_layout.py: E402
examples/subplots_axes_and_figures/secondary_axis.py: E402
examples/subplots_axes_and_figures/two_scales.py: E402
examples/subplots_axes_and_figures/zoom_inset_axes.py: E402
examples/tests/backend_driver_sgskip.py: E402, E501
examples/text_labels_and_annotations/annotation_demo.py: E501
examples/text_labels_and_annotations/demo_text_rotation_mode.py: E402
examples/text_labels_and_annotations/custom_legends.py: E402
examples/text_labels_and_annotations/fancyarrow_demo.py: E402
examples/text_labels_and_annotations/font_family_rc_sgskip.py: E402
examples/text_labels_and_annotations/font_file.py: E402
examples/text_labels_and_annotations/legend.py: E402
examples/text_labels_and_annotations/line_with_text.py: E402
examples/text_labels_and_annotations/mathtext_asarray.py: E402
examples/text_labels_and_annotations/tex_demo.py: E402
examples/text_labels_and_annotations/watermark_text.py: E402
examples/ticks_and_spines/auto_ticks.py: E501
examples/ticks_and_spines/date_concise_formatter.py: E402
examples/user_interfaces/canvasagg.py: E402
examples/user_interfaces/embedding_in_gtk3_panzoom_sgskip.py: E402
examples/user_interfaces/embedding_in_gtk3_sgskip.py: E402
examples/user_interfaces/embedding_in_qt_sgskip.py: E402
examples/user_interfaces/embedding_in_wx2_sgskip.py: E501
examples/user_interfaces/embedding_in_wx3_sgskip.py: E501
examples/user_interfaces/embedding_in_wx4_sgskip.py: E501
examples/user_interfaces/embedding_in_wx5_sgskip.py: E501
examples/user_interfaces/embedding_webagg_sgskip.py: E501
examples/user_interfaces/gtk_spreadsheet_sgskip.py: E402
examples/user_interfaces/mathtext_wx_sgskip.py: E402, E501
examples/user_interfaces/mpl_with_glade3_sgskip.py: E402
examples/user_interfaces/pylab_with_gtk_sgskip.py: E302, E402
examples/user_interfaces/toolmanager_sgskip.py: E402
examples/userdemo/connectionstyle_demo.py: E402
examples/userdemo/custom_boxstyle01.py: E402
examples/userdemo/pgf_preamble_sgskip.py: E402
examples/userdemo/simple_annotate01.py: E501
examples/widgets/rectangle_selector.py: E501