Files
Jeff Smolinski 397e77875d add linting and formatting infrastructure (#158)
Add Ruff (check + format), Prettier, Pyright, pre-commit hooks,
EditorConfig, and CI lint job. No code changes in this commit.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 22:08:58 -06:00

24 lines
471 B
TOML

include = ["scripts/*.py"]
target-version = "py311"
line-length = 120
[format]
quote-style = "double"
indent-style = "space"
[lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM", # flake8-simplify
"RUF", # ruff-specific
]
ignore = ["E501"] # line length handled by formatter
[lint.isort]
force-sort-within-sections = true