Repository navigation
Commit 4b8b6fe
Replace flynt with ruff FLY rules and bump pre-commit hooks (#3169)
## Summary
- Remove the `flynt` pre-commit hook — ruff's `FLY002` rule (plus
existing `UP031`/`UP032`) covers the same f-string conversions
- Bump hook versions: `pre-commit-hooks` v4.4.0→v6.0.0, `Lucas-C`
v1.5.1→v1.5.6, `ruff` v0.4.1→v0.15.1
- Bump `minimum_pre_commit_version` to 3.2.0 (required by
`pre-commit-hooks` v6)
- Add `FLY` to ruff lint select; add `UP045` to ignore list (same Talon
runtime issue as `UP007` — see talonvoice/talon#634, tracked in #2151)
- Apply ruff autofixes: `SIM905` in `default_vocabulary.py`, `C420` in
`destinations.py`
Closes #2308, closes #1885
## Test plan
- [x] `ruff check` passes clean
- [x] `ruff format --check` passes clean
- [x] `pnpm run compile` passes
- [x] Pre-commit CI passes
---------
Co-authored-by: Andreas Arvidsson <andreas.arvidsson87@gmail.com>1 parent 8bd2755 commit 4b8b6fe
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
0 commit comments