Speed up tests

This commit is contained in:
2024-12-12 17:37:00 +01:00
parent cfe6e27a7a
commit 276a9b734a
6 changed files with 7 additions and 0 deletions

View File

@ -6,6 +6,7 @@
"appauthor",
"appendonly",
"appname",
"asctime",
"asgiref",
"autouse",
"Behaviour",
@ -24,6 +25,7 @@
"Hellsén",
"isort",
"Joakim",
"levelname",
"logdir",
"Lovinator",
"lvthalo",
@ -52,6 +54,7 @@
"stylesheet",
"tabindex",
"templatetags",
"testpaths",
"timebaseddrop",
"timesince",
"timeuntil",

View File

@ -103,6 +103,10 @@ log_cli_level = "INFO"
log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
# Only check /tests/ directory for tests.
# This will speed up the test run significantly. (5.16s -> 0.25s)
testpaths = ["tests"]
[tool.mypy]
plugins = ["mypy_django_plugin.main"]