[CI/Build] Add Precommit Hooks for Catching Missing PytestMarks (#4953)
Signed-off-by: Alex Brooks <albrooks@redhat.com>
This commit is contained in:
1 parent
ffd4e1f97e
commit
c23dbfe111
3 files changed
+124
No files matched your search
@@ -54,6 +54,13 @@ repos:
|
||||
verbose: true
|
||||
stages: [commit-msg]
|
||||
|
||||
- id: check-test-ci-coverage
|
||||
name: Ensure test files have pytestmarks
|
||||
entry: python tools/pre_commit/check_test_marks.py
|
||||
language: python
|
||||
types: [python]
|
||||
files: ^tests/
|
||||
|
||||
# Keep `suggestion` last
|
||||
- id: suggestion
|
||||
name: Suggestion
|
||||
|
||||
Reference in new issue
Block a user