mirror of
https://github.com/Jeffallan/claude-skills.git
synced 2026-09-14 18:43:38 +08:00
397e77875d
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>
24 lines
471 B
TOML
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
|