Skip to content

Commit

Permalink
update conflicting isort and black config see PyCQA/isort#1518
Browse files Browse the repository at this point in the history
  • Loading branch information
samsja committed Oct 15, 2021
1 parent e8997d2 commit a79b89a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .isort.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[settings]
known_third_party = PIL,einops,matplotlib,numpy,pytest,pytorch_lightning,torch,torchmetrics,torchvision

[tool.isort]
profile = "black"
11 changes: 4 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
repos:
- repo: https://github.com/asottile/seed-isort-config
rev: v2.2.0
- repo: https://github.com/pycqa/isort
rev: 5.5.4
hooks:
- id: seed-isort-config
- repo: https://github.com/pre-commit/mirrors-isort
rev: v5.9.1
hooks:
- id: isort
- id: isort
args: ["--profile", "black"]
- repo: https://github.com/ambv/black
rev: 21.6b0
hooks:
Expand Down

0 comments on commit a79b89a

Please sign in to comment.