2017-11-04 03:40:14 +03:00
|
|
|
[bdist_wheel]
|
2013-11-15 19:49:53 +04:00
|
|
|
universal = 1
|
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]
|
|
|
|
ignore = E501
|
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
|
|
|
|
known_standard_library=types
|
|
|
|
known_third_party=pytest,_pytest,django
|
|
|
|
known_first_party=rest_framework
|
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
|