testsuite, threads: fix LD_LIBRARY_PATH in 'tls-sepdebug.exp'
[binutils-gdb.git] / .pre-commit-config.yaml
blob87726aeb758e1270c3a37f48a7d4d67ca1b8f887
1 # See https://pre-commit.com for more information
2 # See https://pre-commit.com/hooks.html for more hooks
3 repos:
4   - repo: https://github.com/psf/black-pre-commit-mirror
5     rev: 24.8.0
6     hooks:
7       - id: black
8         types_or: [file]
9         files: 'gdb/.*\.py(\.in)?$'
10   - repo:  https://github.com/pycqa/flake8
11     rev: 7.1.1
12     hooks:
13     - id: flake8
14       types_or: [file]
15       # Note this one is only run on gdb/python, not (for now) the
16       # test suite.
17       files: 'gdb/python/.*\.py(\.in)?$'
18       args: [--config, gdb/setup.cfg]
19   - repo: https://github.com/pycqa/isort
20     rev: 5.13.2
21     hooks:
22     - id: isort
23       types_or: [file]
24       files: 'gdb/.*\.py(\.in)?$'