Skip to content

Commit

Permalink
Merge pull request #301 from leggedrobotics/feat/precommit-large-files
Browse files Browse the repository at this point in the history
Add pre-commit for large files
  • Loading branch information
JonasFrey96 authored Apr 4, 2024
2 parents 13948af + c433f32 commit 22d26c4
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 22d26c4

Please sign in to comment.