Skip to content

Comments

[8.x](backport #2495) Make isort compatible with black#2496

Merged
orestisfl merged 1 commit into8.xfrom
mergify/bp/8.x/pr-2495
Sep 10, 2024
Merged

[8.x](backport #2495) Make isort compatible with black#2496
orestisfl merged 1 commit into8.xfrom
mergify/bp/8.x/pr-2495

Conversation

@mergify
Copy link

@mergify mergify bot commented Sep 10, 2024

Summary of your changes

I have experienced issues when running black (which we also use as a pre-commit hook) with isort. They sometimes compete with each other, making a commit pass hooks locally, but fail lint action in the Github Actions. Luckily, isort provides a special profile we can use to fix that issue.

Related Issues

Upstream advice on running isort and black together: PyCQA/isort#1518


This is an automatic backport of pull request #2495 done by [Mergify](https://mergify.com).

use isort's black profile

(cherry picked from commit 881b3e7)
@mergify mergify bot requested a review from a team as a code owner September 10, 2024 15:41
@mergify mergify bot added the backport label Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants