Skip to content

Commit 69ffe89

Browse files
isort and black formatters conflict on imports
Signed-off-by: Ruslan Senatorov <55090151+ruslansenatorov@users.noreply.github.com>
1 parent 7bb61db commit 69ffe89

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.pre-commit-config.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ repos:
4646
- id: isort
4747
entry: isort
4848
args:
49+
- --profile=black
4950
- --float-to-top
5051

5152
- repo: https://github.com/nbQA-dev/nbQA
@@ -78,7 +79,8 @@ repos:
7879
types_or: [jupyter, markdown]
7980
additional_dependencies: [isort]
8081
args:
81-
- --float-to-top
82+
- --profile=black
83+
- --float-to-top
8284

8385
- repo: https://github.com/codespell-project/codespell
8486
rev: v2.3.0

0 commit comments

Comments
 (0)