forked from linagora/Gitlab_Monitor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
44 lines (39 loc) · 1.05 KB
/
.pre-commit-config.yaml
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
# # --- Copyright (c) 2024 Linagora
# # licence : GPL v3
# # - Flavien Perez [email protected]
# # - Maïlys Jara [email protected]
repos:
- repo: local
hooks:
- id: pycln
name: pycln
entry: pycln
language: python
language_version: python3
types: [python]
args: ["--config", "pyproject.toml"]
- id: isort
name: isort
entry: isort
require_serial: true
types: [python]
language: python
args: ["--filter-files", "--settings-path", "pyproject.toml"]
files: gitlab_monitor/
- id: black
name: black
entry: black
language: python
require_serial: true
types: [python]
args:
- --config=pyproject.toml
- gitlab_monitor
# - id: pylint
# name: pylint
# entry: pylint
# language: python
# language_version: python3
# types: [python]
# args: ["--filter-files", "--output-format=colorized"]
# files: gitlab_monitor/