|
| 1 | +[flake8] |
| 2 | +ignore = |
| 3 | + # Normal default |
| 4 | + E121,E123,E126,E226,E24,E704,W503,W504, |
| 5 | + # Additional ignores: |
| 6 | + E111, E114, E115, E116, E122, E124, E125, E127, E128, E129, E131, |
| 7 | + E265, E266, |
| 8 | + E305, E306, |
| 9 | + E722, E741, |
| 10 | + F401, F403, F811, F841, |
| 11 | + # Some new flake8 ignores: |
| 12 | + N801, N802, N803, N806, N812, |
| 13 | + |
| 14 | +exclude = |
| 15 | + .git |
| 16 | + build |
| 17 | + # External files. |
| 18 | + versioneer.py |
| 19 | + tools/gh_api.py |
| 20 | + tools/github_stats.py |
| 21 | + |
| 22 | +per-file-ignores = |
| 23 | + setup.py: E402 |
| 24 | + setupext.py: E302, E501 |
| 25 | + |
| 26 | + tools/compare_backend_driver_results.py: E501 |
| 27 | + tools/subset.py: E221, E231, E251, E261, E302, E501, E701 |
| 28 | + |
| 29 | + matplotlib/_cm.py: E202, E203 |
| 30 | + matplotlib/_mathtext_data.py: E203, E261 |
| 31 | + matplotlib/backend_bases.py: E225 |
| 32 | + matplotlib/backends/_backend_tk.py: E203, E222, E225, E231, E271, E301, E303, E401, E501, E701 |
| 33 | + matplotlib/backends/backend_agg.py: E261, E302, E303, E701 |
| 34 | + matplotlib/backends/backend_cairo.py: E203, E221, E261, E303, E402, E711 |
| 35 | + matplotlib/backends/backend_gtk3.py: E203, E221, E222, E225, E251, E261, E501 |
| 36 | + matplotlib/backends/backend_macosx.py: E231, E261 |
| 37 | + matplotlib/backends/backend_pgf.py: E303, E731 |
| 38 | + matplotlib/backends/backend_ps.py: E203, E225, E228, E231, E261, E262, E302, E303, E501, E701 |
| 39 | + matplotlib/backends/backend_svg.py: E203, E225, E228, E231, E261, E302, E501 |
| 40 | + matplotlib/backends/qt_editor/formlayout.py: E301, E501 |
| 41 | + matplotlib/backends/tkagg.py: E231, E302, E701 |
| 42 | + matplotlib/backends/windowing.py: E301, E302 |
| 43 | + matplotlib/font_manager.py: E203, E221, E225, E251, E261, E262, E302, E501 |
| 44 | + matplotlib/fontconfig_pattern.py: E201, E203, E221, E222, E225, E302 |
| 45 | + matplotlib/legend_handler.py: E201, E501 |
| 46 | + matplotlib/mathtext.py: E201, E202, E203, E211, E221, E222, E225, E231, E251, E261, E301, E302, E303, E402, E501 |
| 47 | + matplotlib/patheffects.py: E231 |
| 48 | + matplotlib/projections/geo.py: E203, E221, E231, E261, E502 |
| 49 | + matplotlib/pylab.py: E501 |
| 50 | + matplotlib/pyplot.py: E201, E202, E221, E222, E225, E231, E251, E261, E302, E501, E701 |
| 51 | + matplotlib/rcsetup.py: E203, E225, E261, E302, E501 |
| 52 | + matplotlib/sphinxext/mathmpl.py: E302 |
| 53 | + matplotlib/sphinxext/only_directives.py: E302 |
| 54 | + matplotlib/sphinxext/plot_directive.py: E261, E302, E402 |
| 55 | + matplotlib/tests/test_image.py: E225, E231, E251, E302, E501 |
| 56 | + matplotlib/tests/test_lines.py: E231, E261 |
| 57 | + matplotlib/tests/test_mathtext.py: E261, E501 |
| 58 | + matplotlib/transforms.py: E201, E202, E203, E501 |
| 59 | + matplotlib/tri/triinterpolate.py: E201, E221 |
| 60 | + matplotlib/type1font.py: E731 |
| 61 | + |
| 62 | + mpl_toolkits/__init__.py: E261 |
| 63 | + mpl_toolkits/axes_grid/axes_divider.py: E501 |
| 64 | + mpl_toolkits/axes_grid/axes_rgb.py: E302, E501 |
| 65 | + mpl_toolkits/axes_grid1/axes_divider.py: E402, E501 |
| 66 | + mpl_toolkits/axes_grid1/axes_grid.py: E225 |
| 67 | + mpl_toolkits/axes_grid1/axes_rgb.py: E231 |
| 68 | + mpl_toolkits/axes_grid1/axes_size.py: E261, E501 |
| 69 | + mpl_toolkits/axes_grid1/colorbar.py: E225, E231, E261, E262, E302, E303, E501, E701 |
| 70 | + mpl_toolkits/axes_grid1/inset_locator.py: E501 |
| 71 | + mpl_toolkits/axes_grid1/mpl_axes.py: E303, E501 |
| 72 | + mpl_toolkits/axes_grid1/parasite_axes.py: E225, E231, E302, E303, E501 |
| 73 | + mpl_toolkits/axisartist/angle_helper.py: E201, E203, E221, E222, E225, E231, E251, E261, E262, E302, E303, E501 |
| 74 | + mpl_toolkits/axisartist/axis_artist.py: E201, E202, E221, E225, E228, E231, E251, E261, E262, E302, E303, E402, E501, E701, E711 |
| 75 | + mpl_toolkits/axisartist/axisline_style.py: E231, E261, E262, E302, E303 |
| 76 | + mpl_toolkits/axisartist/axislines.py: E225, E231, E261, E303, E501 |
| 77 | + mpl_toolkits/axisartist/clip_path.py: E225, E302, E303, E501 |
| 78 | + mpl_toolkits/axisartist/floating_axes.py: E225, E231, E261, E262, E302, E303, E402, E501 |
| 79 | + mpl_toolkits/axisartist/grid_finder.py: E231, E261, E302, E303, E402 |
| 80 | + mpl_toolkits/axisartist/grid_helper_curvelinear.py: E225, E231, E261, E262, E271, E302, E303, E501 |
| 81 | + mpl_toolkits/mplot3d/art3d.py: E203, E222, E225, E231 |
| 82 | + mpl_toolkits/mplot3d/axes3d.py: E203, E231, E303, E402, E501, E701 |
| 83 | + mpl_toolkits/mplot3d/axis3d.py: E231, E302 |
| 84 | + mpl_toolkits/mplot3d/proj3d.py: E231, E302, E303 |
| 85 | + mpl_toolkits/tests/test_axes_grid1.py: E201, E202 |
| 86 | + mpl_toolkits/tests/test_mplot3d.py: E231, E302 |
| 87 | + |
| 88 | + doc/**: E302, E501 |
| 89 | + doc/conf.py: E402 |
| 90 | + tutorials/**: E402, E501 |
| 91 | + |
| 92 | + examples/**: E501, E402 |
| 93 | + examples/images_contours_and_fields/tricontour_demo.py: E201 |
| 94 | + examples/images_contours_and_fields/tripcolor_demo.py: E201 |
| 95 | + examples/images_contours_and_fields/triplot_demo.py: E201 |
| 96 | + examples/misc/table_demo.py: E201 |
| 97 | + examples/pyplots/annotate_transform.py: E228, E251 |
| 98 | + examples/pyplots/annotation_polar.py: E231 |
| 99 | + examples/pyplots/auto_subplots_adjust.py: E231, E261, E302 |
| 100 | + examples/pyplots/boxplot_demo_pyplot.py: E231 |
| 101 | + examples/pyplots/compound_path_demo.py: E231 |
| 102 | + examples/pyplots/fig_axes_customize_simple.py: E261 |
| 103 | + examples/pyplots/pyplot_formatstr.py: E231 |
| 104 | + examples/pyplots/pyplot_mathtext.py: E231 |
| 105 | + examples/pyplots/pyplot_simple.py: E231 |
| 106 | + examples/pyplots/pyplot_two_subplots.py: E302 |
| 107 | + examples/pyplots/text_commands.py: E231 |
| 108 | + examples/pyplots/text_layout.py: E231 |
| 109 | + examples/pyplots/whats_new_98_4_fancy.py: E225, E261, E302 |
| 110 | + examples/pyplots/whats_new_98_4_fill_between.py: E225 |
| 111 | + examples/pyplots/whats_new_98_4_legend.py: E228 |
| 112 | + examples/pyplots/whats_new_99_spines.py: E231, E261 |
0 commit comments