Skip to content

Commit

Permalink
Exclude migrations folder from flake8 and isort
Browse files Browse the repository at this point in the history
  • Loading branch information
Fer-Bar committed Mar 19, 2024
1 parent f5a8a9c commit 499f4e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ repos:
entry: isort
additional_dependencies: [isort]
types: [python]
exclude: migrations

- id: flake8
name: flake8
Expand All @@ -18,7 +19,7 @@ repos:
entry: flake8
additional_dependencies: [flake8, Flake8-pyproject]
types: [python]
exclude: setup.py
exclude: setup.py, migrations
args: [--max-line-length=100]

- id: pytest
Expand Down

0 comments on commit 499f4e3

Please sign in to comment.