Skip to content

Commit

Permalink
add isort config
Browse files Browse the repository at this point in the history
[#184126172]
  • Loading branch information
uraniumanchor committed Dec 31, 2022
1 parent 8eb863b commit e3c4d33
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ repos:
hooks:
- id: black
name: black
- repo: https://github.com/pycqa/isort
rev: 5.11.2
hooks:
- id: isort
name: isort (python)
- repo: https://github.com/pycqa/flake8
rev: 3.7.9
hooks:
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
target-version = ['py36']
exclude = 'migrations/'
skip-string-normalization = 'True'
[tool.isort]
profile = 'black'

0 comments on commit e3c4d33

Please sign in to comment.