From 2d4824fa6f8f619a5ab3941da73fc61b1cebc23c Mon Sep 17 00:00:00 2001 From: Bryan Van de Ven Date: Tue, 16 May 2017 10:49:24 -0500 Subject: [PATCH] add setup.cfg --- setup.cfg | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 setup.cfg diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..b55d086 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,20 @@ +[flake8] +# References: +# http://flake8.readthedocs.org/en/latest/config.html +# http://flake8.readthedocs.org/en/latest/warnings.html#error-codes +# +# Style checks turned on: +# F - all pyflake errors +# E101 - indentation contains mixed spaces and tabs +# E111 - indentation is not a multiple of four +# E501 - line too long (see max-line-length) + +# Note: there cannot be spaces after comma's here +exclude = __init__.py +ignore = E,W +select = F,E101,E111,E501 +max-line-length = 165 + +[tool:pytest] +norecursedirs = build _build node_modules +python_files = *_tests.py *_test.py test_*.py