-
-
Notifications
You must be signed in to change notification settings - Fork 370
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
41 lines (34 loc) · 960 Bytes
/
.pre-commit-config.yaml
File metadata and controls
41 lines (34 loc) · 960 Bytes
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
repos:
- repo: local
hooks:
- id: pyproject-fmt
name: pyproject-fmt
entry: uv run pyproject-fmt pyproject.toml
language: system
pass_filenames: false
- id: uv-lock
name: uv lock
entry: uv lock
language: system
pass_filenames: false
- id: ruff-check
name: ruff-check
entry: uv run ruff check --fix --exit-non-zero-on-fix
language: system
pass_filenames: false
# A proposal to replace black & pylint
# - id: ruff-format
# name: ruff-format
# entry: uv run ruff format --exit-non-zero-on-fix
# language: system
# pass_filenames: false
- id: black
name: black
entry: uv run black .
language: system
pass_filenames: false
- id: pylint
name: pylint
entry: uv run pylint office365
language: system
pass_filenames: false