diff options
Diffstat (limited to 'pyproject.toml')
-rw-r--r-- | pyproject.toml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pyproject.toml b/pyproject.toml index 64194b6..cb27ff3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,12 +1,13 @@ # ==== pytest ==== [tool.pytest.ini_options] minversion = "6.0" -#addopts = "--disable-pytest-warnings -q -rP --ds=config.settings.test --reuse-db --import-mode=importlib" -addopts = "--disable-pytest-warnings -q --tb=short -s --ds=config.settings.test --reuse-db --import-mode=importlib" +#addopts = "--disable-pytest-warnings -q -rP --ds=config.settings.local --reuse-db --import-mode=importlib" +addopts = "--disable-pytest-warnings -q --tb=short -s --ds=config.settings.local --reuse-db --import-mode=importlib" python_files = [ "tests.py", "test_*.py", ] +DJANGO_SETTINGS_MODULE = "config.settings.local" # ==== Coverage ==== [tool.coverage.run] @@ -32,7 +33,7 @@ module = "*.migrations.*" ignore_errors = true [tool.django-stubs] -django_settings_module = "config.settings.test" +django_settings_module = "config.settings.local" # ==== djLint ==== [tool.djlint] @@ -84,7 +85,7 @@ exclude = [ "staticfiles/*" ] # Same as Django: https://github.com/cookiecutter/cookiecutter-django/issues/4792. -line-length = 98 +line-length = 140 indent-width = 4 target-version = "py312" |