diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2024-12-05 12:41:21 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2025-02-04 12:59:49 -0500 |
commit | 874162eb9fc8c067ebbaa1e56fad5d6ca5c93e63 (patch) | |
tree | aab0ce662a0fbd76942b3e06fdf48c861b53d3ba /config | |
parent | 8cfa1fc43e17c6c225afd7016b7e4e741e7e1ad7 (diff) | |
download | gdb-master.zip gdb-master.tar.gz gdb-master.tar.bz2 |
pre-commit currently runs flake8 only on `gdb/python/**/*.py`. There
are more files we can run it on, without running it on all the testsuite
files. Add:
- gdb/gdb-gdb.py.in
- gdb/*.py
- gdb/testsuite/*.py
Fix the new errors that popped up:
gdb/copyright.py:29:21: W605 invalid escape sequence '\*'
gdb/copyright.py:29:29: W605 invalid escape sequence '\*'
gdb/copyright.py:29:38: W605 invalid escape sequence '\*'
gdb/copyright.py:29:46: W605 invalid escape sequence '\*'
gdb/copyright.py:34:1: F401 'datetime' imported but unused
gdb/testsuite/analyze-racy-logs.py:150:9: E722 do not use bare 'except'
Change-Id: Ia864c22d4f170d4e18ce3beb06a86c49966654b2
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'config')
0 files changed, 0 insertions, 0 deletions