2016-07-18 18:08:44 +03:00
|
|
|
[metadata]
|
2022-08-10 15:47:39 +03:00
|
|
|
license_files = LICENSE.md
|
2017-05-16 13:18:33 +03:00
|
|
|
|
2018-06-23 01:14:26 +03:00
|
|
|
[tool:pytest]
|
2021-04-16 19:47:21 +03:00
|
|
|
addopts=--tb=short --strict-markers -ra
|
2023-06-13 09:55:22 +03:00
|
|
|
testspath = tests
|
|
|
|
filterwarnings = ignore:CoreAPI compatibility is deprecated*:rest_framework.RemovedInDRF317Warning
|
2018-05-08 15:28:16 +03:00
|
|
|
|
2017-05-16 13:18:33 +03:00
|
|
|
[flake8]
|
2022-09-21 14:19:33 +03:00
|
|
|
ignore = E501,W503,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
|