File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,16 @@ build-backend = "setuptools.build_meta"
99[tool .setuptools_scm ]
1010write_to = " pytest_django/_version.py"
1111
12+ [tool .pytest .ini_options ]
13+ addopts = [
14+ # Error on using unregistered marker.
15+ " --strict-markers" ,
16+ # Show extra test summary info for everything.
17+ " -ra" ,
18+ ]
19+ DJANGO_SETTINGS_MODULE = " pytest_django_test.settings_sqlite_file"
20+ testpaths = [" tests" ]
21+
1222[tool .mypy ]
1323strict = true
1424disallow_incomplete_defs = false
Original file line number Diff line number Diff line change @@ -53,13 +53,6 @@ testing =
5353[options.package_data]
5454pytest_django = py.typed
5555
56- [tool:pytest]
57- # --strict-markers: error on using unregistered marker.
58- # -ra: show extra test summary info for everything.
59- addopts = --strict-markers -ra
60- DJANGO_SETTINGS_MODULE = pytest_django_test.settings_sqlite_file
61- testpaths = tests
62-
6356[flake8]
6457# W503 line break before binary operator
6558ignore = W503
You can’t perform that action at this time.
0 commit comments