pre-commit: always check all file sizes (#30050)

* pre-commit: always check all file sizes

* fix release
old-commit-hash: 425fa316d1
test-msgs
Adeeb Shihadeh 2 years ago committed by GitHub
parent e69eeb7344
commit 3512ac86eb
  1. 2
      .github/workflows/selfdrive_tests.yaml
  2. 4
      .pre-commit-config.yaml

@ -66,7 +66,7 @@ jobs:
cp pyproject.toml $STRIPPED_DIR cp pyproject.toml $STRIPPED_DIR
cp poetry.lock $STRIPPED_DIR cp poetry.lock $STRIPPED_DIR
cd $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: build:
strategy: strategy:

@ -19,7 +19,9 @@ repos:
- id: check-executables-have-shebangs - id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable - id: check-shebang-scripts-are-executable
- id: check-added-large-files - id: check-added-large-files
args: ['--maxkb=100'] args:
- --maxkb=500
- --enforce-all
- repo: https://github.com/codespell-project/codespell - repo: https://github.com/codespell-project/codespell
rev: v2.2.5 rev: v2.2.5
hooks: hooks:

Loading…
Cancel
Save