Debian Codegraph @

.pre-commit-config.yaml

raw symbols SCIP
1 ---
2 default_language_version:
3 # force all unspecified python hooks to run python3
4 python: python3
5 repos:
6 - repo: https://github.com/pre-commit/pre-commit-hooks
7 rev: v5.0.0
8 hooks:
9 - id: trailing-whitespace
10 - id: mixed-line-ending
11 args: ['--fix', 'lf']
12 exclude: '.*\.(svg)$'
13 - id: check-byte-order-marker
14 - id: check-executables-have-shebangs
15 - id: check-merge-conflict
16 - id: debug-statements
17 - id: check-json
18 files: .*\.json$
19 - id: check-yaml
20 files: .*\.(yaml|yml)$
21 - repo: https://github.com/Lucas-C/pre-commit-hooks
22 rev: v1.5.5
23 hooks:
24 - id: remove-tabs
25 exclude: '.*\.(svg)$'
26 - repo: local
27 hooks:
28 - id: flake8
29 name: flake8
30 additional_dependencies:
31 - hacking>=6.1.0,<6.2.0
32 - neutron-lib
33 language: python
34 entry: flake8
35 files: '^.*\.py$'
36 exclude: '^(doc|releasenotes|tools)/.*$'