Skip to content

Commit

Permalink
Use black profile for isort
Browse files Browse the repository at this point in the history
  • Loading branch information
cako committed Dec 29, 2021
1 parent 5a43e2c commit a8b947c
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,10 @@ repos:
- id: black
args: # arguments to configure black
- --line-length=88
# - repo: https://github.com/asottile/seed-isort-config
# rev: v2.2.0
# hooks:
# - id: seed-isort-config

# - repo: https://github.com/pycqa/isort
# rev: 5.10.1
# hooks:
# - id: isort
# name: isort (python)
- repo: https://github.com/pycqa/isort
rev: 5.10.1
hooks:
- id: isort
name: isort (python)
args: ["--profile", "black", "--filter-files", "--line-length=88"]

0 comments on commit a8b947c

Please sign in to comment.