diff options
author | Matthew Lemon <y@yulqen.org> | 2024-06-22 16:31:05 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-06-22 16:31:05 +0100 |
commit | 3e55a1d2843805de40714a3e920b97cf546966f1 (patch) | |
tree | a8fa0c5cbf3179ef89831e8ac008ad1316acc3aa /pyproject.toml | |
parent | 0d66522b8dbb2f33325e0f2db1e607f39249a2f7 (diff) |
Some tidying only
Includes the DATABASE_URL in the local settings.
Linting changes.
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" |