diff --git a/pre-commit-config.yaml b/pre-commit-config.yaml index d0b507b..2290f95 100644 --- a/pre-commit-config.yaml +++ b/pre-commit-config.yaml @@ -33,6 +33,7 @@ repos: .+\.svg| .+\.js| .+\.css| + .*/migrations/.*| )$ - id: mixed-line-ending args: ['--fix=lf'] @@ -68,6 +69,7 @@ repos: exclude: | (?x)^( readthedocs/rtd_tests/files/conf.py| + .*/migrations/.* )$ # NOTE: run `isort` after `black` to keep the format of isort finally @@ -76,6 +78,10 @@ repos: hooks: - id: isort name: isort (python) + exclude: | + (?x)^( + .*/migrations/.* + ) - repo: https://github.com/asottile/blacken-docs rev: 1.16.0