blob: 3bae5dd0b30ebf24b4c38cb4abc2b19802e6ba76 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
repos:
- repo: https://github.com/python-poetry/poetry
rev: 'master'
hooks:
- id: poetry-check
- id: poetry-install
- id: poetry-lock
- id: poetry-export
- repo: https://github.com/psf/black
rev: 23.9.1
hooks:
- id: black
- repo: local
hooks:
- id: pylint
name: pylint
entry: pylint
language: system
types: [python]
args:
[
"-rn", # Only display messages
"-sn", # Don't display the score
]
- id: pytype
name: pytype
entry: poetry run pytype
language: system
types: [python]
pass_filenames: false
args: ["--keep-going", "src"]
|