commit 21a17b771743b23ee41d11a90ed8fdc3433468ce
Author: jableader <jacobdunk@gmail.com>
Date: Mon Oct 20 00:12:02 2025 +1100
Completed tooling improvements, fixed remaining errors
commit 7db48e222e3aa1065c326197c33ba6439720f65a
Author: jableader <jacobdunk@gmail.com>
Date: Sun Oct 19 22:05:37 2025 +1100
autoformat
commit 5705ce24b64c2aa6f0b9426730a479165fa97e2a
Author: jableader <jacobdunk@gmail.com>
Date: Sun Oct 19 22:05:29 2025 +1100
tooling changes
commit f0a6b2fd147bb86b484927afd57b9ba0ac07bf47
Author: jableader <jacobdunk@gmail.com>
Date: Sun Oct 19 21:25:49 2025 +1100
Plan
40 lines
775 B
TOML
40 lines
775 B
TOML
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py311"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I"]
|
|
ignore = ["E203", "E501"]
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
"tests/**.py" = [
|
|
"E402",
|
|
"F401",
|
|
"F811",
|
|
"I001",
|
|
"N802",
|
|
]
|
|
|
|
[tool.ruff.lint.isort]
|
|
combine-as-imports = true
|
|
known-first-party = ["ingredients", "meals", "persons", "products", "recipes", "shopping"]
|
|
|
|
[tool.mypy]
|
|
python_version = "3.11"
|
|
warn_unused_ignores = true
|
|
warn_redundant_casts = true
|
|
warn_unused_configs = true
|
|
ignore_missing_imports = true
|
|
strict_optional = true
|
|
no_implicit_optional = true
|
|
check_untyped_defs = true
|
|
exclude = "^(\\.*/)?tests($|/)"
|
|
|
|
[[tool.mypy.overrides]]
|
|
module = ["tests.*"]
|
|
ignore_errors = true
|
|
|
|
[tool.pytest.ini_options]
|
|
minversion = "7.0"
|
|
addopts = "-q"
|
|
pythonpath = ["."]
|