Skip to content
Snippets Groups Projects
Commit 0f384256 authored by Neda Moeini's avatar Neda Moeini
Browse files

Move pytest configuration to pyproject.toml

parent 98e67aad
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !2. Comments created here will be created in the context of that merge request.
......@@ -37,4 +37,10 @@ line-length = 120
[tool.ruff.lint.flake8-tidy-imports]
ban-relative-imports = "all"
[tool.ruff.lint.per-file-ignores]
"test/*" = ["S101", "ARG001",]
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "test.settings"
django_find_project = false
python_files = ["tests.py", "test_*.py", "*_tests.py"]
\ No newline at end of file
[pytest]
DJANGO_SETTINGS_MODULE = test.settings
django_find_project = false
python_files = tests.py test_*.py *_tests.py
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment