mirror of
https://github.com/xcat2/confluent.git
synced 2026-09-02 07:26:04 +00:00
3d79c3535d
The enforced rule set is deliberately narrow: undefined names, statements in impossible positions, duplicate definitions, invalid escapes and a couple of bugbear checks that only fire on genuine defects. No style rules, and the tree is clean under it as of the preceding commits. Discovery needs help. Ruff only walks *.py, and about a quarter of the Python here has no extension: every node* CLI tool, the server bin tools, the osdeploy scripts (some of which carry no shebang either) and the setup.py templates. extend-include lists them, and *.sh is excluded so the shell scripts sharing those directories are not parsed as Python. The CI job pins both the action and the ruff version, since there is no pyproject.toml for the action to read a version from and an unpinned `latest` would let a new ruff release fail an unchanged branch.