Skip to content

Commit

Permalink
fix flake 8 error for migration
Browse files Browse the repository at this point in the history
  • Loading branch information
madjid-asa committed Jul 16, 2024
1 parent 3f732b0 commit 14f2c72
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ repos:
- id: flake8
args: ["--max-line-length=119"] # strange behavior, have to duplicate arg here to be taken into account
language_version: python3
exclude: migrations/
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ requires = ["poetry-core>=1.0.0"]
max-line-length = 119
ignore = "E203, E266, W503"
max-complexity = 10
exclude = [
".git",
"__pycache__",
"migrations"
]

[tool.isort]
combine_as_imports = true
Expand Down

0 comments on commit 14f2c72

Please sign in to comment.