diff --git a/pyproject.toml b/pyproject.toml index 68763da..3a5c94b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,6 +35,9 @@ isort_ignore = ["*migrations/*.py"] [tool.isort] skip_glob = ["*migrations/*.py"] +[tool.pytest.ini_options] +DJANGO_SETTINGS_MODULE = "la_chariotte.settings" + [tool.black] line-length = 88 exclude = ''' diff --git a/readMe.md b/readMe.md index b50408a..9acdec4 100644 --- a/readMe.md +++ b/readMe.md @@ -33,3 +33,4 @@ Si il y a des erreurs BLACK, on peut lancer black pour linter le code : ```bash black . ``` + diff --git a/setup.cfg b/setup.cfg index 1183a37..f0a1c3b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,3 @@ -[tool:pytest] -DJANGO_SETTINGS_MODULE = la_chariotte.settings - [flake8] exclude = migrations extend-ignore = E501 \ No newline at end of file