2024-07-15 19:17:57 -04:00
|
|
|
[tool.poetry]
|
2024-07-29 18:29:54 -04:00
|
|
|
name = "flupdt"
|
2024-07-15 19:17:57 -04:00
|
|
|
version = "0.1.0"
|
2024-07-29 18:29:54 -04:00
|
|
|
description = """\
|
|
|
|
Nix flake update diff checker. \
|
|
|
|
Useful for validating and diffing flakes after updates. \
|
|
|
|
Short for fl(ake) up(date) d(iff).\
|
|
|
|
"""
|
2024-07-15 22:39:35 -04:00
|
|
|
authors = ["Alice Huston <aliceghuston@gmail.com>"]
|
2024-07-15 19:17:57 -04:00
|
|
|
license = "MIT"
|
|
|
|
readme = "README.md"
|
2024-07-29 18:29:54 -04:00
|
|
|
packages = [{ include = "flupdt" }]
|
2024-07-15 19:17:57 -04:00
|
|
|
|
|
|
|
[tool.poetry.dependencies]
|
2025-03-08 14:45:14 -05:00
|
|
|
python = "^3.12"
|
2024-07-15 19:17:57 -04:00
|
|
|
sqlalchemy = "^2.0.31"
|
|
|
|
|
2024-07-28 15:07:12 -04:00
|
|
|
[tool.poetry.scripts]
|
2024-07-29 18:29:54 -04:00
|
|
|
flupdt = "flupdt.main:main"
|
|
|
|
flake-update-diff = "flupdt.main:main"
|
2024-07-15 19:17:57 -04:00
|
|
|
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
2025-03-08 14:45:14 -05:00
|
|
|
ruff = "0.8.6"
|
2024-07-15 19:17:57 -04:00
|
|
|
|
2024-08-04 11:24:38 -04:00
|
|
|
|
2024-07-15 19:17:57 -04:00
|
|
|
[build-system]
|
|
|
|
requires = ["poetry-core"]
|
|
|
|
build-backend = "poetry.core.masonry.api"
|
2024-08-04 11:24:38 -04:00
|
|
|
|
|
|
|
[tool.ruff]
|
|
|
|
|
|
|
|
line-length = 100
|
|
|
|
indent-width = 4
|
|
|
|
|
2025-03-08 14:45:14 -05:00
|
|
|
target-version = "py312"
|
2024-08-04 11:24:38 -04:00
|
|
|
|
|
|
|
[tool.ruff.lint]
|
|
|
|
select = ["ALL"]
|
|
|
|
ignore = [
|
|
|
|
"G004", # (perm) this is a performance nit
|
2024-08-04 11:28:13 -04:00
|
|
|
"COM812", # https://docs.astral.sh/ruff/rules/missing-trailing-comma/
|
|
|
|
"ISC001", # https://docs.astral.sh/ruff/rules/single-line-implicit-string-concatenation/
|
2024-08-04 11:24:38 -04:00
|
|
|
]
|
|
|
|
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
|
|
|
|
|
|
"tests/**" = [
|
|
|
|
"S101", # (perm) pytest needs asserts
|
|
|
|
]
|
|
|
|
|
|
|
|
fixable = ["ALL"]
|
|
|
|
|
|
|
|
[tool.ruff.lint.pydocstyle]
|
|
|
|
convention = "google"
|
|
|
|
|
|
|
|
[tool.ruff.lint.pycodestyle]
|
|
|
|
max-line-length = 120
|
|
|
|
|
|
|
|
[tool.ruff.lint.pylint]
|
|
|
|
max-args = 9
|