Move flake8 config to setup.cfg

This allows for flake8 to pick it up when running it by itself.
This commit is contained in:
Daniel Hahler 2017-05-16 12:18:33 +02:00
parent 003c304115
commit 89276e6cfc
2 changed files with 4 additions and 1 deletions

View File

@ -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']

View File

@ -3,3 +3,6 @@ universal = 1
[metadata]
license_file = LICENSE.md
[flake8]
ignore = E501