flake-update-diff/pyproject.toml
ahuston-0 a59123086e add incompatible rules to the ignore list
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2025-03-02 01:00:04 -05:00

64 lines
1.4 KiB
TOML

[tool.poetry]
name = "flupdt"
version = "0.1.0"
description = """\
Nix flake update diff checker. \
Useful for validating and diffing flakes after updates. \
Short for fl(ake) up(date) d(iff).\
"""
authors = ["Alice Huston <aliceghuston@gmail.com>"]
license = "MIT"
readme = "README.md"
packages = [{ include = "flupdt" }]
[tool.poetry.dependencies]
python = "^3.11"
sqlalchemy = "^2.0.31"
rad_development_python = {git = "https://github.com/RAD-Development/rad-development-python", branch = "feature/nix"}
[tool.poetry.scripts]
flupdt = "flupdt.main:main"
flake-update-diff = "flupdt.main:main"
[tool.poetry.group.dev.dependencies]
ruff = "0.5.5"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 100
indent-width = 4
target-version = "py39"
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"ANN101", # (perm) this rule is deprecated
"ANN102", # (perm) this rule is deprecated
"G004", # (perm) this is a performance nit
"COM812", # https://docs.astral.sh/ruff/rules/missing-trailing-comma/
"ISC001", # https://docs.astral.sh/ruff/rules/single-line-implicit-string-concatenation/
]
[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