File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
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 : v4.5.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-yaml
18
+ - repo : https://github.com/lucas-c/pre-commit-hooks
19
+ rev : v1.5.4
20
+ hooks :
21
+ - id : remove-tabs
22
+ exclude : ' .*\.(svg)$'
23
+ - repo : local
24
+ hooks :
25
+ - id : flake8
26
+ name : flake8
27
+ additional_dependencies :
28
+ - hacking>=6.1.0,<6.2.0
29
+ language : python
30
+ entry : flake8
31
+ files : ' ^.*\.py$'
32
+ exclude : ' ^(doc|releasenotes|tools)/.*$'
33
+ # todo(slaweq): enable pylint check once all issues in the current code will
34
+ # be solved
35
+ # - id: pylint
36
+ # name: pylint
37
+ # entry: pylint
38
+ # files: ^ovn_octavia_provider/
39
+ # language: system
40
+ # types: [python]
41
+ # args: ['--rcfile=.pylintrc', '--output-format=colorized']
You can’t perform that action at this time.
0 commit comments