Skip to content

Commit

Permalink
merge pytest.ini into pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentporte committed Dec 19, 2024
1 parent ddfbe1d commit a04191f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
8 changes: 8 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,11 @@ ignore="T002,T003,T027,H006,H023,D018"
max_attribute_length=200
format_css = true
format_js = false

[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "config.settings.test"
python_files = ["tests*.py", "test_*.py"]
addopts = "--reuse-db --strict-markers"

[tool.pytest.ini_options.markers]
no_django_db = "mark tests that should not be marked with django_db."
9 changes: 0 additions & 9 deletions pytest.ini

This file was deleted.

0 comments on commit a04191f

Please sign in to comment.