Files
iptv-manager-service/pyproject.toml
Stefano e25f8c1ecd
All checks were successful
AWS Deploy on Push / build (push) Successful in 1m3s
Run unit test upon committing new code
2025-05-28 23:41:12 -05:00

31 lines
633 B
TOML

[tool.ruff]
line-length = 88
exclude = [
"alembic/versions/*.py", # Auto-generated Alembic migration files
]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"W", # pycodestyle warnings
]
ignore = []
[tool.ruff.lint.per-file-ignores]
"tests/**/*.py" = [
"F811", # redefinition of unused name
"F401", # unused import
]
[tool.ruff.lint.isort]
known-first-party = ["app"]
[tool.ruff.format]
docstring-code-format = true
[tool.pytest.ini_options]
addopts = "--cov=app --cov-report=term-missing --cov-fail-under=70"
testpaths = ["tests"]