-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy path.pre-commit-config.yaml
58 lines (58 loc) · 1.72 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
default_install_hook_types: [pre-commit, pre-push, commit-msg]
repos:
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
rev: v9.5.0
hooks:
- id: commitlint
stages: [commit-msg]
args: [--config, ./.conventional-commits/commitlint.precommit.config.js]
additional_dependencies: ['@commitlint/[email protected]']
- repo: https://github.com/python-poetry/poetry
rev: 1.8.2
hooks:
- id: poetry-check
args: []
- id: poetry-lock
args: ["--no-update"]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: end-of-file-fixer
exclude: |
(?x)^(
tests/functional/utf_16_encoding/pipeline-content.json|
examples/fabric/simple_web_hook/fabric/ExamplePipeline.DataPipeline/pipeline-content.json|
tests/functional/test_framework/data/fabric/pipeline-content.json
)$
- id: trailing-whitespace
- id: mixed-line-ending
args: [--fix=auto]
- repo: https://github.com/adrienverge/yamllint
rev: v1.33.0
hooks:
- id: yamllint
args: [--strict]
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.38.0
hooks:
- id: markdownlint-fix
exclude: |
(?x)^(
examples/fabric/simple_web_hook/fabric/Readme.md
)$
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.5
hooks:
- id: ruff
args: [--fix]
- id: ruff-format
- repo: local
hooks:
- id: pytest
name: pytest
entry: poetry run pytest .
language: system
types: [python]
require_serial: true
pass_filenames: false