mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-21 17:16:47 +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]
|
||||
license_file = LICENSE.md
|
||||
|
||||
[pytest]
|
||||
addopts=--tb=short --strict
|
||||
testspath = tests
|
||||
|
||||
[flake8]
|
||||
ignore = E501
|
||||
banned-modules = json = use from rest_framework.utils import json!
|
||||
|
|
Loading…
Reference in New Issue
Block a user