mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 09:36:49 +03:00
Move pytest config to setup.cfg (#5979)
Also adds `testspath` to improve test collection performance.
This commit is contained in:
parent
fca39f9dbb
commit
4527a753cd
|
@ -4,6 +4,10 @@ universal = 1
|
||||||
[metadata]
|
[metadata]
|
||||||
license_file = LICENSE.md
|
license_file = LICENSE.md
|
||||||
|
|
||||||
|
[pytest]
|
||||||
|
addopts=--tb=short --strict
|
||||||
|
testspath = tests
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
ignore = E501
|
ignore = E501
|
||||||
banned-modules = json = use from rest_framework.utils import json!
|
banned-modules = json = use from rest_framework.utils import json!
|
||||||
|
|
Loading…
Reference in New Issue
Block a user