From 25c64c68d45d11f63684ac6d7ac7fb7e86f6acd3 Mon Sep 17 00:00:00 2001 From: John Anderson Date: Sat, 7 Feb 2015 21:06:23 -0800 Subject: Add initial pep8 support. This ignores plenty of warnings and errors in pep8 and only focuses on a small subset that can easily be achieved. Ignores applying pep8 to tests for now and only enforces on the pyramid core code. --- setup.cfg | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'setup.cfg') diff --git a/setup.cfg b/setup.cfg index 9633b6980..7d905e370 100644 --- a/setup.cfg +++ b/setup.cfg @@ -16,3 +16,7 @@ docs = develop easy_install pyramid[docs] [bdist_wheel] universal = 1 +[flake8] +ignore = E301,E302,E731,E261,E123,E121,E128,E129,E125,W291,E501,W293,E303,W391,E266,E231,E201,E202,E127,E262 +exclude = pyramid/tests/,pyramid/compat.py,pyramid/resource.py +show-source = True -- cgit v1.2.3