Commit 6de6d6a
authored
chore: replace debug-statements hook with ruff T100 (#2954)
# Rationale for this change
Like #2953, doing a dive into the linted dependencies we can replace the
`debug-statements` pre-commit hook with ruff's [`T100` rule
flake8-debugger](https://docs.astral.sh/ruff/rules/debugger/).
This will lighten the linters needed when working on cb.
T100 catches more modern debuggers (`debugpy`, `ptvsd`,
`IPython.embed`). It seems like there are rare debuggers it misses but
aren't used like `bpdb`.
## Are these changes tested?
`make lint`
```
> ruff check --select T100 pyiceberg/ tests/
All checks passed!
```
## Are there any user-facing changes?
No1 parent 4769d07 commit 6de6d6a
2 files changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| |||
0 commit comments