Merge pull request #5139 from blueyed/flake8-config

Move flake8 config to setup.cfg
This commit is contained in:
Tom Christie 2017-05-16 11:39:31 +01:00 committed by GitHub
commit 25f65ab96b
2 changed files with 4 additions and 1 deletions

View File

@ -12,7 +12,7 @@ PYTEST_ARGS = {
'fast': ['tests', '--tb=short', '-q', '-s', '-rw'], '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'] ISORT_ARGS = ['--recursive', '--check-only', '-o' 'uritemplate', '-p', 'tests', 'rest_framework', 'tests']

View File

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