From 6519c669dc436aa112def0e0ab5ad00605c7f94b Mon Sep 17 00:00:00 2001 From: Sean Naren Date: Wed, 1 Feb 2023 01:49:43 +0000 Subject: [PATCH] Block large files from being merged into NeMo main (#5898) * Attempt to use large-file pre-commit ci hook Signed-off-by: SeanNaren * Set defaults and enforce Signed-off-by: SeanNaren * Set to 1000 Signed-off-by: SeanNaren * Remove enforcement Signed-off-by: SeanNaren --------- Signed-off-by: SeanNaren --- .pre-commit-config.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bddd9abc3b47..11def93ec0a3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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