[build-system] requires = ["setuptools>=68"] build-backend = "setuptools.build_meta" [project] name = "common-cents" version = "0.1.0" requires-python = ">=3.13" dependencies = [ "textual==8.2.4", ] [project.scripts] common-cents = "common_cents.__main__:main" [project.optional-dependencies] dev = [ "textual-dev", "pytest>=8", "ruff>=0.6", ] [tool.setuptools.packages.find] where = ["src"] [tool.setuptools.package-data] common_cents = ["schema.sql"] [tool.black] line-length = 88 target-version = ["py313"] [tool.ruff] line-length = 88 target-version = "py313" [tool.ruff.lint] select = ["E", "F", "W", "I", "B", "UP", "PL", "SIM"] ignore = [ "E501", # line length — Black handles formatting "PLR0913", # too many args — DB methods take many params by design "PLR2004", # magic numbers — common in TUI layout / formatting "PLC0415", # nested imports — used to avoid circular screen imports ] [tool.pytest.ini_options] testpaths = ["tests"]