diff --git a/{{ cookiecutter.name }}/pyproject.toml b/{{ cookiecutter.name }}/pyproject.toml index 7958d763..717a94e0 100644 --- a/{{ cookiecutter.name }}/pyproject.toml +++ b/{{ cookiecutter.name }}/pyproject.toml @@ -73,8 +73,9 @@ env = [ # Example: `ignore:.*regex of the warning message.*:DeprecationWarning:rest_framework_jwt:` filterwarnings = [ ] +pythonpath = ["src"] +testpaths = ["src"] python_files = ["test*.py"] -pythonpath = ". src" [tool.ruff] exclude = ["__pycache__", "migrations"] diff --git a/{{ cookiecutter.name }}/conftest.py b/{{ cookiecutter.name }}/src/conftest.py similarity index 100% rename from {{ cookiecutter.name }}/conftest.py rename to {{ cookiecutter.name }}/src/conftest.py