Fixup isort command/config (#6639)

This commit is contained in:
Jon Dufresne 2019-05-01 17:42:10 -07:00 committed by Ryan P Kilby
parent 67d2eabd6c
commit 1e519486e1
2 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ PYTEST_ARGS = {
FLAKE8_ARGS = ['rest_framework', 'tests'] FLAKE8_ARGS = ['rest_framework', 'tests']
ISORT_ARGS = ['--recursive', '--check-only', '--diff', '-o' 'uritemplate', '-p', 'tests', 'rest_framework', 'tests'] ISORT_ARGS = ['--recursive', '--check-only', '--diff', 'rest_framework', 'tests']
def exit_on_failure(ret, message=None): def exit_on_failure(ret, message=None):

View File

@ -14,8 +14,8 @@ skip=.tox
atomic=true atomic=true
multi_line_output=5 multi_line_output=5
known_standard_library=types known_standard_library=types
known_third_party=pytest,_pytest,django,pytz known_third_party=pytest,_pytest,django,pytz,uritemplate
known_first_party=rest_framework known_first_party=rest_framework,tests
[coverage:run] [coverage:run]
# NOTE: source is ignored with pytest-cov (but uses the same). # NOTE: source is ignored with pytest-cov (but uses the same).