Automatic date update in version.in
[binutils-gdb.git] / .pre-commit-config.yaml
blob3ff2182c21ace9016dd9ae52ead63ca6250f7ef0
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.4.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.0.0
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)?$'