42 lines
816 B
TOML
42 lines
816 B
TOML
[project]
|
|
name = "budget-tracker-backend"
|
|
version = "0.1.0"
|
|
requires-python = ">=3.12"
|
|
|
|
[tool.ruff]
|
|
target-version = "py312"
|
|
line-length = 99
|
|
|
|
[tool.ruff.lint]
|
|
select = [
|
|
"E", # pycodestyle errors
|
|
"W", # pycodestyle warnings
|
|
"F", # pyflakes
|
|
"I", # isort
|
|
"N", # pep8-naming
|
|
"UP", # pyupgrade
|
|
"B", # flake8-bugbear
|
|
"SIM", # flake8-simplify
|
|
"TCH", # flake8-type-checking
|
|
]
|
|
|
|
[tool.ruff.lint.isort]
|
|
known-first-party = ["app"]
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
asyncio_default_fixture_loop_scope = "function"
|
|
testpaths = ["tests"]
|
|
|
|
[tool.coverage.run]
|
|
concurrency = ["greenlet", "thread"]
|
|
source = ["app"]
|
|
|
|
[tool.coverage.report]
|
|
fail_under = 80
|
|
exclude_lines = [
|
|
"pragma: no cover",
|
|
"if TYPE_CHECKING:",
|
|
"raise NotImplementedError",
|
|
]
|