Speed up tests
This commit is contained in:
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@ -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",
|
||||
|
@ -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"]
|
||||
|
||||
|
Reference in New Issue
Block a user