Commit message (Collapse) | Author | Lines | ||
---|---|---|---|---|
2024-11-06 | Avoid shadowing builtins | Wolfgang 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-21 | Add ruff.toml with lint settings | Wolfgang 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. |