From 89276e6cfcbdba527f2ca700a1afd850b8b5319e Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Tue, 16 May 2017 12:18:33 +0200 Subject: [PATCH] Move flake8 config to setup.cfg This allows for flake8 to pick it up when running it by itself. --- runtests.py | 2 +- setup.cfg | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/runtests.py b/runtests.py index e97ac0367..5e8460c85 100755 --- a/runtests.py +++ b/runtests.py @@ -12,7 +12,7 @@ PYTEST_ARGS = { 'fast': ['tests', '--tb=short', '-q', '-s', '-rw'], } -FLAKE8_ARGS = ['rest_framework', 'tests', '--ignore=E501'] +FLAKE8_ARGS = ['rest_framework', 'tests'] ISORT_ARGS = ['--recursive', '--check-only', '-o' 'uritemplate', '-p', 'tests', 'rest_framework', 'tests'] diff --git a/setup.cfg b/setup.cfg index fd8b0682b..509abd58b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,3 +3,6 @@ universal = 1 [metadata] license_file = LICENSE.md + +[flake8] +ignore = E501