Skip to content

Commit

Permalink
Move flake8 config to setup.cfg
Browse files Browse the repository at this point in the history
This allows for flake8 to pick it up when running it by itself.
  • Loading branch information
blueyed committed May 16, 2017
1 parent 003c304 commit 89276e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion runtests.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
'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']

Expand Down
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ universal = 1

[metadata]
license_file = LICENSE.md

[flake8]
ignore = E501

0 comments on commit 89276e6

Please sign in to comment.