2016-07-18 18:08:44 +03:00
|
|
|
[metadata]
|
|
|
|
license_file = LICENSE.md
|
2017-05-16 13:18:33 +03:00
|
|
|
|
2018-06-23 01:14:26 +03:00
|
|
|
[tool:pytest]
|
2018-07-06 11:34:11 +03:00
|
|
|
addopts=--tb=short --strict -ra
|
2018-05-08 15:28:16 +03:00
|
|
|
testspath = tests
|
|
|
|
|
2017-05-16 13:18:33 +03:00
|
|
|
[flake8]
|
2019-10-22 21:18:51 +03:00
|
|
|
ignore = E501,W504
|
2017-07-11 00:22:55 +03:00
|
|
|
banned-modules = json = use from rest_framework.utils import json!
|
2018-02-14 23:12:14 +03:00
|
|
|
|
|
|
|
[isort]
|
|
|
|
skip=.tox
|
|
|
|
atomic=true
|
|
|
|
multi_line_output=5
|
2020-08-17 23:26:56 +03:00
|
|
|
extra_standard_library=types
|
2019-05-02 03:42:10 +03:00
|
|
|
known_third_party=pytest,_pytest,django,pytz,uritemplate
|
|
|
|
known_first_party=rest_framework,tests
|
2018-05-08 16:02:45 +03:00
|
|
|
|
|
|
|
[coverage:run]
|
|
|
|
# NOTE: source is ignored with pytest-cov (but uses the same).
|
|
|
|
source = .
|
|
|
|
include = rest_framework/*,tests/*
|
|
|
|
branch = 1
|
2018-06-25 00:56:31 +03:00
|
|
|
|
2018-05-08 16:02:45 +03:00
|
|
|
[coverage:report]
|
|
|
|
include = rest_framework/*,tests/*
|
2018-06-25 00:56:31 +03:00
|
|
|
exclude_lines =
|
|
|
|
pragma: no cover
|
|
|
|
raise NotImplementedError
|