Skip to content

Commit de0d11b

Browse files
philipandamacpijan
authored andcommitted
/pre-commit-config.yaml: Only run test ID checks once
Signed-off-by: Filip Gołaś <[email protected]>
1 parent fec4902 commit de0d11b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ repos:
9696
entry: ./scripts/ci/test_ids/test_ids_legal.py
9797
args: ["id_valid", "--print_invalid"]
9898
files: '^dasharo-.*/.*\.robot$'
99+
pass_filenames: false
99100

100101
- id: test-os-ids-check
101102
name: test-os-ids-check
@@ -107,6 +108,7 @@ repos:
107108
entry: ./scripts/ci/test_ids/test_ids_legal.py
108109
args: ["os_valid", "--print_invalid"]
109110
files: '^dasharo-.*/.*\.robot$'
111+
pass_filenames: false
110112

111113
- id: test-ids-mappings
112114
name: test-ids-mappings
@@ -118,3 +120,4 @@ repos:
118120
entry: ./scripts/ci/test_ids/test_ids_legal.py
119121
args: ["id_mapped", "--print_invalid"]
120122
files: '(^test_cases\.json$|^dasharo-.*/.*\.robot$)'
123+
pass_filenames: false

0 commit comments

Comments
 (0)