]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - .pre-commit-config.yaml
gdb: bump black version to 24.4.0
[thirdparty/binutils-gdb.git] / .pre-commit-config.yaml
CommitLineData
e8f6050c
SM
1# See https://pre-commit.com for more information
2# See https://pre-commit.com/hooks.html for more hooks
3repos:
4 - repo: https://github.com/psf/black-pre-commit-mirror
6a7d971a 5 rev: 24.4.0
e8f6050c
SM
6 hooks:
7 - id: black
16810e45
TT
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)?$'