[PATCH 0/5] [pre-commit] Some pre-commit improvements
Tom de Vries <[email protected]>
| Newsgroups | gmane.comp.gdb.patches |
|---|---|
| Message-ID | <[email protected]> |
This patch series contains some pre-commit improvements. The third patch fixes the problem that flake8 is not run for gdb/gdb-gdb.py.in. The first and second patch fix flake8 problems in gdb/gdb-gdb.py.in. The fourth and fifth patch makes pre-commit rely less on types filtering, fixing PR build/34411. Tested on x86_64-linux. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=34411 Tom de Vries (5): [gdb] Fix bare except in gdb/gdb-gdb.py.in [gdb] Remove superfluous global in gdb/gdb-gdb.py.in [pre-commit] Run flake8 for gdb/gdb-gdb.py.in [pre-commit] Don't require text type for check-whitespace hook [pre-commit] Don't require text type for codespell hook .pre-commit-config.yaml | 25 ++++++++++++++++++++----- gdb/doc/.gitattributes | 10 ++++++++++ gdb/gdb-gdb.py.in | 3 +-- gdb/testsuite/.gitattributes | 4 ++++ 4 files changed, 35 insertions(+), 7 deletions(-) create mode 100644 gdb/doc/.gitattributes create mode 100644 gdb/testsuite/.gitattributes base-commit: cef1fbf3b02ff6e5bc62e1b8a7d30c0a32b8b9f7 -- 2.51.0