Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

mergify[bot]
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
@orestisfl orestisfl merged commit 392674b into 8.x Sep 10, 2024
5 checks passed
@orestisfl orestisfl deleted the mergify/bp/8.x/pr-2495 branch September 10, 2024 15:43
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