From dfd62ff23f04bcf66abbc09bcf5a8a49de80affc Mon Sep 17 00:00:00 2001 From: Fer-Bar Date: Tue, 19 Mar 2024 17:57:33 -0400 Subject: [PATCH] Exclude migrations folder from flake8 and isort --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 906065e..13a82b4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,7 +9,7 @@ repos: entry: isort additional_dependencies: [isort] types: [python] - exclude: migrations + exclude: 'migrations/.*|setup.py' - id: flake8 name: flake8 @@ -19,7 +19,7 @@ repos: entry: flake8 additional_dependencies: [flake8, Flake8-pyproject] types: [python] - exclude: setup.py, migrations + exclude: 'migrations/.*|setup.py' args: [--max-line-length=100] - id: pytest