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"
9
9
[tool .setuptools_scm ]
10
10
write_to = " pytest_django/_version.py"
11
11
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
+
12
22
[tool .mypy ]
13
23
strict = true
14
24
disallow_incomplete_defs = false
Original file line number Diff line number Diff line change @@ -53,13 +53,6 @@ testing =
53
53
[options.package_data]
54
54
pytest_django = py.typed
55
55
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
-
63
56
[flake8]
64
57
# W503 line break before binary operator
65
58
ignore = W503
You can’t perform that action at this time.
0 commit comments