2025-03-18 18:11:42 -04:00
|
|
|
[project]
|
2024-07-29 18:29:54 -04:00
|
|
|
name = "flupdt"
|
2024-07-15 19:17:57 -04:00
|
|
|
version = "0.1.0"
|
2025-03-18 18:11:42 -04:00
|
|
|
description = "Nix flake update diff checker. Useful for validating and diffing flakes after updates. Short for fl(ake) up(date) d(iff)."
|
|
|
|
authors = [{ name = "Alice Huston", email = "aliceghuston@gmail.com" }]
|
|
|
|
requires-python = ">=3.10"
|
2024-07-15 19:17:57 -04:00
|
|
|
readme = "README.md"
|
2025-03-18 18:11:42 -04:00
|
|
|
license = "MIT"
|
|
|
|
dependencies = ["sqlalchemy>=2.0.31,<3"]
|
2024-07-15 19:17:57 -04:00
|
|
|
|
2025-03-18 18:11:42 -04:00
|
|
|
[project.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
|
|
|
|
2025-03-18 18:11:42 -04:00
|
|
|
[dependency-groups]
|
|
|
|
dev = ["ruff>=0.8.6"]
|
|
|
|
|
|
|
|
[tool.hatch.build.targets.sdist]
|
|
|
|
include = ["flupdt"]
|
2024-07-15 19:17:57 -04:00
|
|
|
|
2025-03-18 18:11:42 -04:00
|
|
|
[tool.hatch.build.targets.wheel]
|
|
|
|
include = ["flupdt"]
|
2024-08-04 11:24:38 -04:00
|
|
|
|
2024-07-15 19:17:57 -04:00
|
|
|
[build-system]
|
2025-03-18 18:11:42 -04:00
|
|
|
requires = ["hatchling"]
|
|
|
|
build-backend = "hatchling.build"
|
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
|