From eebb7d3d9e6d86edbb6e92e993ed1aa0c933e6af Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Mon, 25 Sep 2023 19:33:04 -0700 Subject: [PATCH 1/2] pre-commit: always check all file sizes --- .pre-commit-config.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d7ef691c837ddf..92bc72fe05b158 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,7 +19,9 @@ repos: - id: check-executables-have-shebangs - id: check-shebang-scripts-are-executable - id: check-added-large-files - args: ['--maxkb=100'] + args: + - --maxkb=500 + - --enforce-all - repo: https://github.com/codespell-project/codespell rev: v2.2.5 hooks: From c577c052bb940648ebb71f08346fd2325492cabc Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Mon, 25 Sep 2023 22:04:52 -0700 Subject: [PATCH 2/2] fix release --- .github/workflows/selfdrive_tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/selfdrive_tests.yaml b/.github/workflows/selfdrive_tests.yaml index fc9868b929b80c..2aae1350f348c8 100644 --- a/.github/workflows/selfdrive_tests.yaml +++ b/.github/workflows/selfdrive_tests.yaml @@ -66,7 +66,7 @@ jobs: cp pyproject.toml $STRIPPED_DIR cp poetry.lock $STRIPPED_DIR cd $STRIPPED_DIR - ${{ env.RUN }} "unset PYTHONWARNINGS && pre-commit run --all" + ${{ env.RUN }} "unset PYTHONWARNINGS && SKIP=check-added-large-files pre-commit run --all" build: strategy: