-
Notifications
You must be signed in to change notification settings - Fork 69
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
39 lines (38 loc) · 1.02 KB
/
.pre-commit-config.yaml
File metadata and controls
39 lines (38 loc) · 1.02 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
exclude: |
(?x)
.*/bindings/.*\.py$|
.*/schemas/.*\.xsd$|
.*/samples/.*\.xml$|
.*/wsdl/.*\.wsdl$|
.*/soap/.*\.py$|
nfelib/nfe/ws/edoc_legacy.py|
^README\.md$
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: debug-statements
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.2
hooks:
- id: ruff
args: [ --fix, --show-fixes]
- id: ruff-format
exclude: ^nfelib/[^/]+\.py$
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.15.0
hooks:
- id: mypy
files: ^(nfelib/)
args: [ "--check-untyped-defs", "--ignore-missing-imports" ]
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v4.0.0-alpha.8
hooks:
- id: prettier
additional_dependencies:
- prettier@3.2.5
types_or: [markdown]
args: [--prose-wrap=always, --print-width=88]
exclude: ^nfelib/[^/]+\.xml$