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