aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ruff.toml (unfollow)
Commit message (Collapse)AuthorLines
2024-11-06Avoid shadowing builtinsWolfgang Müller-0/+4
This will hopefully avoid nasty surprises in the future. It's easy to check since there is already a ruff linter [1] for it which this commit also enables. Make sure not to complain about exit() [2] since that is only for interactive use and shouldn't be called in programs anyway. [1] https://docs.astral.sh/ruff/rules/builtin-attribute-shadowing/ [2] https://docs.python.org/3.12/library/constants.html#exit
2024-09-21Add ruff.toml with lint settingsWolfgang Müller-0/+14
This should be a reasonable selection of linters. Also make sure that ruff picks up 'later' by default, since it is missing the .py suffix.