Skip to content

Commit

Permalink
chore(pyproject): configure coverage.py
Browse files Browse the repository at this point in the history
  • Loading branch information
emptybutton committed Dec 29, 2024
1 parent 65903dd commit 82b4c28
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,16 @@ ignore = [
[tool.ruff.lint.isort]
lines-after-imports = 2

[tool.ruff.lint.per-file-ignores]
"src/pixel_battle/entities/*" = ["PLR2004"]
"src/pixel_battle/application/interactors/*" = ["PLR0917"]
"tests/*" = ["S101", "PLR0124", "PLR0917", "S106"]

[tool.pytest.ini_options]
pythonpath = ["src"]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "session"

[tool.ruff.lint.per-file-ignores]
"src/pixel_battle/entities/*" = ["PLR2004"]
"src/pixel_battle/application/interactors/*" = ["PLR0917"]
"tests/*" = ["S101", "PLR0124", "PLR0917", "S106"]
[tool.coverage.run]
branch = true
source = ["src/"]

0 comments on commit 82b4c28

Please sign in to comment.