Skip to content
Merged
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
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ repos:
name: Upgrade notebooks nbformat
entry: .internal/pre_commit_tools/set_nbformat.py
language: python
files: ^\S+\.ipynb$
files: \.ipynb$
additional_dependencies:
- "nbformat"
require_serial: true
- id: extra-nbstripout
name: Strip further stuff from notebooks
entry: .internal/pre_commit_tools/extra_nbstripout.py
language: python
files: ^\S+\.ipynb$
files: \.ipynb$
additional_dependencies:
- "nbformat"
require_serial: true
Expand All @@ -64,7 +64,7 @@ repos:
description: Ensure notebooks conventions
entry: .internal/pre_commit_tools/notebook_pre_commit_collection.py
language: python
files: ^\S+\.ipynb$
files: \.ipynb$
additional_dependencies:
- "pyyaml==6.0"
require_serial: true
Expand All @@ -73,7 +73,7 @@ repos:
description: Ensure qmods conventions
entry: .internal/pre_commit_tools/qmod_pre_commit_collection.py
language: python
files: ^\S+\.qmod$
files: \.qmod$
additional_dependencies:
- "pyyaml==6.0"
require_serial: true
Expand All @@ -82,7 +82,7 @@ repos:
# description: Remove unexisting entries and verify unique keys
# entry: .internal/pre_commit_tools/clean_timeouts.py
# language: python
# files: ^\S+\.(qmod|ipynb|yaml)$
# files: \.(qmod|ipynb|yaml)$
# additional_dependencies:
# - "pyyaml==6.0"
# require_serial: true
Expand All @@ -91,12 +91,12 @@ repos:
description: Add file if non existant and validate value otherwise
entry: .internal/pre_commit_tools/validate_metadata.py
language: python
files: ^\S+\.(qmod|ipynb)$
files: \.(qmod|ipynb)$
require_serial: true
- id: auto-add-tests
name: Auto add test
description: Automatically adding a test to new notebooks
entry: .internal/pre_commit_tools/auto_add_tests.py
language: python
files: ^\S+\.ipynb$
files: \.ipynb$
require_serial: true