Skip to content

Commit

Permalink
Stickler config (#2896)
Browse files Browse the repository at this point in the history
* Added a flake8 config.

* Added a stickler-ci config.
  • Loading branch information
pelson committed Nov 8, 2017
1 parent 183e7de commit 65656a4
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .stickler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
linters:
flake8:
48 changes: 48 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
[flake8]
ignore = E402,\ # Due to conditional imports
E226 # Due to whitespace around operators (e.g. 2*x + 3)
exclude = */iris/std_names.py,\
*/iris/fileformats/cf.py,\
*/iris/fileformats/dot.py,\
*/iris/fileformats/pp_load_rules.py,\
*/iris/fileformats/rules.py,\
*/iris/fileformats/um_cf_map.py,\
*/iris/fileformats/_pyke_rules/compiled_krb/*,\
*/iris/io/__init__.py,\
*/iris/io/format_picker.py,\
*/iris/tests/__init__.py,\
*/iris/tests/pp.py,\
*/iris/tests/stock.py,\
*/iris/tests/system_test.py,\
*/iris/tests/test_analysis.py,\
*/iris/tests/test_analysis_calculus.py,\
*/iris/tests/test_basic_maths.py,\
*/iris/tests/test_cartography.py,\
*/iris/tests/test_cdm.py,\
*/iris/tests/test_cell.py,\
*/iris/tests/test_cf.py,\
*/iris/tests/test_constraints.py,\
*/iris/tests/test_coord_api.py,\
*/iris/tests/test_coord_categorisation.py,\
*/iris/tests/test_coordsystem.py,\
*/iris/tests/test_cube_to_pp.py,\
*/iris/tests/test_file_load.py,\
*/iris/tests/test_file_save.py,\
*/iris/tests/test_grib_save.py,\
*/iris/tests/test_grib_save_rules.py,\
*/iris/tests/test_hybrid.py,\
*/iris/tests/test_intersect.py,\
*/iris/tests/test_io_init.py,\
*/iris/tests/test_iterate.py,\
*/iris/tests/test_load.py,\
*/iris/tests/test_merge.py,\
*/iris/tests/test_pp_cf.py,\
*/iris/tests/test_pp_module.py,\
*/iris/tests/test_pp_stash.py,\
*/iris/tests/test_pp_to_cube.py,\
*/iris/tests/test_quickplot.py,\
*/iris/tests/test_std_names.py,\
*/iris/tests/test_unit.py,\
*/iris/tests/test_uri_callback.py,\
*/iris/tests/test_util.py

0 comments on commit 65656a4

Please sign in to comment.