Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
repos:
- repo: local
hooks:
- id: license-header-check
name: Run license-check script
entry: ./ci/scripts/license_check.py
language: python
types_or: [python, rust]
pass_filenames: true
always_run: false
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
Expand Down Expand Up @@ -33,12 +42,3 @@ repos:
- id: detect-secrets
name: detect-secrets (notebooks only)
args: ['--baseline', '.secrets-nb.baseline', '--exclude-files', '^.(?!.*\.ipynb)', '--exclude-lines', '"(hash|id|image/\w+)":.*|<.*at 0x[0-9a-f]+>|object at 0x[0-9a-f]+', ]
- repo: local
hooks:
- id: license-header-check
name: Run license-check script
entry: python ci/scripts/license_check.py -c sub-packages -c docs -c ci --license-header ./license_header --modify
language: python
additional_dependencies: ["click==8.1.7"]
pass_filenames: false
always_run: true
Loading
Loading