Skip to content

Commit

Permalink
Add pre-commit for large files
Browse files Browse the repository at this point in the history
  • Loading branch information
mmattamala committed Apr 4, 2024
1 parent 13948af commit c433f32
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,9 @@ repos:
files: \.ipynb$
stages: [commit]
language: system
entry: jupyter nbconvert --ClearOutputPreprocessor.enabled=True --inplace
entry: jupyter nbconvert --ClearOutputPreprocessor.enabled=True --inplace
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0 # Use the version you want
hooks:
- id: check-added-large-files
args: ["--maxkb=2000"]

0 comments on commit c433f32

Please sign in to comment.