mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-29 04:54:00 +03:00
Fixup isort command/config (#6639)
This commit is contained in:
parent
67d2eabd6c
commit
1e519486e1
|
@ -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):
|
||||||
|
|
|
@ -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).
|
||||||
|
|
Loading…
Reference in New Issue
Block a user