diff --git a/pyproject.toml b/pyproject.toml index 491a227d2953598e0456db844b6983c61e7fa0db..981838d4646f0f4dd81d682a95bce5e31abecc8a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 diff --git a/pytest.ini b/pytest.ini deleted file mode 100644 index 8872a16fd5a9bca02b90790265e49af543cb3837..0000000000000000000000000000000000000000 --- a/pytest.ini +++ /dev/null @@ -1,4 +0,0 @@ -[pytest] -DJANGO_SETTINGS_MODULE = test.settings -django_find_project = false -python_files = tests.py test_*.py *_tests.py \ No newline at end of file