aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ruff.toml (follow)
Commit message (Collapse)AuthorAgeLines
* Avoid shadowing builtinsWolfgang Müller2024-11-06-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
* Add ruff.toml with lint settingsWolfgang Müller2024-09-21-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.