29 lines
596 B
TOML
29 lines
596 B
TOML
|
|
[project]
|
||
|
|
name = "mimic-backend"
|
||
|
|
version = "0.1.0"
|
||
|
|
description = "Mimic BAS backend (Flask API)"
|
||
|
|
requires-python = ">=3.12"
|
||
|
|
|
||
|
|
[tool.ruff]
|
||
|
|
line-length = 100
|
||
|
|
target-version = "py312"
|
||
|
|
extend-exclude = ["migrations/versions"]
|
||
|
|
|
||
|
|
[tool.ruff.lint]
|
||
|
|
select = ["E", "F", "I", "B", "UP", "SIM"]
|
||
|
|
ignore = ["E501"]
|
||
|
|
|
||
|
|
[tool.mypy]
|
||
|
|
python_version = "3.12"
|
||
|
|
strict = false
|
||
|
|
ignore_missing_imports = true
|
||
|
|
warn_unused_ignores = true
|
||
|
|
warn_redundant_casts = true
|
||
|
|
disallow_untyped_defs = false
|
||
|
|
no_implicit_optional = true
|
||
|
|
exclude = ["migrations/", "tests/"]
|
||
|
|
|
||
|
|
[tool.pytest.ini_options]
|
||
|
|
testpaths = ["tests"]
|
||
|
|
addopts = "-ra"
|