Skip to content

Commit

Permalink
Block large files from being merged into NeMo main (NVIDIA#5898)
Browse files Browse the repository at this point in the history
* Attempt to use large-file pre-commit ci hook

Signed-off-by: SeanNaren <snarenthiran@nvidia.com>

* Set defaults and enforce

Signed-off-by: SeanNaren <snarenthiran@nvidia.com>

* Set to 1000

Signed-off-by: SeanNaren <snarenthiran@nvidia.com>

* Remove enforcement

Signed-off-by: SeanNaren <snarenthiran@nvidia.com>

---------

Signed-off-by: SeanNaren <snarenthiran@nvidia.com>
  • Loading branch information
SeanNaren authored and titu1994 committed Mar 24, 2023
1 parent 65ba995 commit 6519c66
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ repos:
- id: check-yaml
- id: check-case-conflict
- id: detect-private-key
- id: check-added-large-files
args: ['--maxkb=1000']
- id: requirements-txt-fixer

- repo: https://github.com/PyCQA/isort
Expand Down

0 comments on commit 6519c66

Please sign in to comment.