forked from pywemo/pywemo
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
49 lines (44 loc) · 1.11 KB
/
.pre-commit-config.yaml
File metadata and controls
49 lines (44 loc) · 1.11 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
fail_fast: true
repos:
- repo: local
hooks:
- id: poetry-check
name: poetry-check
language: system
entry: poetry check
pass_filenames: false
types: [file]
files: ^(pyproject.toml|poetry.lock)$
- id: isort
name: isort
language: system
entry: poetry run isort
args: ['--check-only', '--filter-files']
require_serial: true
types_or: [cython, pyi, python]
- id: black
name: black
language: system
entry: poetry run black
args: ['--check']
require_serial: true
types_or: [python, pyi]
- id: flake8
name: flake8
language: system
entry: poetry run flake8
require_serial: true
types: [python]
- id: pylint
name: pylint
language: system
entry: poetry run pylint
args: ['--disable=fixme']
require_serial: true
types: [python]
exclude: tests/
- id: rstcheck
name: rstcheck
language: system
entry: poetry run rstcheck
types: [rst]