-
-
Notifications
You must be signed in to change notification settings - Fork 271
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
24 lines (24 loc) · 703 Bytes
/
.pre-commit-config.yaml
File metadata and controls
24 lines (24 loc) · 703 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
files: '^(noxfile.py|pyroute2|pr2modules|util|examples|docs/conf.py|examples/pyroute2-cli|tests)'
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
name: isort (python)
args: ['-m', '3', '--tc', '-w', '79', '--profile', 'black']
- repo: https://github.com/psf/black
rev: 24.1.1
hooks:
- id: black
args: ['-C', '-S', '-l', '79']
- repo: https://github.com/PyCQA/flake8
rev: 7.0.0
hooks:
- id: flake8
files: \.py$
args: ['--config', '.flake8']