Skip to content

Commit abb0d03

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

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
@@ -95,6 +95,7 @@ repos:
9595
entry: ./scripts/ci/test_ids/test_ids_legal.py
9696
args: ["id_valid", "--print_invalid"]
9797
files: '^dasharo-.*/.*\.robot$'
98+
pass_filenames: false
9899

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

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

0 commit comments

Comments
 (0)