File tree Expand file tree Collapse file tree 2 files changed +77
-1
lines changed Expand file tree Collapse file tree 2 files changed +77
-1
lines changed Original file line number Diff line number Diff line change 1
- name : Python Tests
1
+ name : Pipeline Lint
2
2
3
3
on :
4
4
pull_request :
@@ -8,6 +8,9 @@ concurrency:
8
8
group : tests-${{ github.ref }}
9
9
cancel-in-progress : true
10
10
11
+ defaults :
12
+ run :
13
+ shell : bash -eux {0}
11
14
12
15
jobs :
13
16
Original file line number Diff line number Diff line change
1
+ repos :
2
+ - repo : https://github.com/pre-commit/pre-commit-hooks
3
+ rev : v4.5.0
4
+ hooks :
5
+ - id : check-added-large-files
6
+ - id : check-case-conflict
7
+ - id : check-toml
8
+ - id : check-yaml
9
+ exclude : template.yaml
10
+ - id : debug-statements
11
+ - id : end-of-file-fixer
12
+ exclude : WHEEL
13
+ exclude_types : [json]
14
+ - id : forbid-new-submodules
15
+ - id : trailing-whitespace
16
+ exclude : .patch
17
+ exclude_types : [json]
18
+
19
+ - repo : local
20
+ hooks :
21
+ - id : synchro
22
+ name : synchro
23
+ entry : bash ./tools/synchro.sh
24
+ language : python
25
+ require_serial : true
26
+ additional_dependencies :
27
+ - ruff==0.1.3
28
+ - unasync
29
+
30
+ - repo : https://github.com/astral-sh/ruff-pre-commit
31
+ # Ruff version.
32
+ rev : v0.1.3
33
+ hooks :
34
+ - id : ruff
35
+ args : ["--fix", "--show-fixes"]
36
+ - id : ruff-format
37
+
38
+ - repo : https://github.com/adamchainz/blacken-docs
39
+ rev : " 1.16.0"
40
+ hooks :
41
+ - id : blacken-docs
42
+ additional_dependencies :
43
+ - black==22.3.0
44
+
45
+ - repo : https://github.com/pre-commit/pygrep-hooks
46
+ rev : " v1.10.0"
47
+ hooks :
48
+ - id : rst-backticks
49
+ - id : rst-directive-colons
50
+ - id : rst-inline-touching-normal
51
+
52
+ # We use the Python version instead of the original version which seems to require Docker
53
+ # https://github.com/koalaman/shellcheck-precommit
54
+ - repo : https://github.com/shellcheck-py/shellcheck-py
55
+ rev : v0.9.0.6
56
+ hooks :
57
+ - id : shellcheck
58
+ name : shellcheck
59
+ args : ["--severity=warning"]
60
+ stages : [manual]
61
+
62
+ - repo : https://github.com/sirosen/check-jsonschema
63
+ rev : 0.29.0
64
+ hooks :
65
+ - id : check-github-workflows
66
+ - id : check-github-actions
67
+ - id : check-jsonschema
68
+ files : .*/(database|indexes)/.json$
69
+
70
+ - repo : https://github.com/codespell-project/codespell
71
+ rev : " v2.2.6"
72
+ hooks :
73
+ - id : codespell
You can’t perform that action at this time.
0 commit comments