Commit Graph

4 Commits

Author SHA1 Message Date
Timothy Flynn
1b7b531d61 Meta: Use "extend-select" to enable non-default python linters
This way we don't have to track the defaults.
2025-06-09 17:49:35 -04:00
Timothy Flynn
ba58c7ecf9 Meta: Remove black configuration
I left this here originally thinking that black and ruff are compatible,
so either could be used as a local formatter. But it turns that while
code formatted with ruff will be unchanged by black, the reverse is not
always true. So let's just enforce using ruff.
2025-06-09 17:49:35 -04:00
Timothy Flynn
c204149bbd Meta+CI: Enforce python linting with ruff
We could use flake8 for linting, but ruff is compatible with black
formatting out-of-the-box. It also seems to catch more than flake8,
such as unnecessary f-strings.
2025-06-09 11:25:14 -04:00
Timothy Flynn
9e8336c04f Meta: Lint python files with black
It's the industry standard nowadays. This also lets us add a flag to the
lint-python.sh script to overwrite our python files in place.
2025-05-22 16:21:42 +02:00