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

Use "black" profile when running isort (commit hooks) #39

Closed
wants to merge 1 commit into from

Conversation

leothomas
Copy link
Member

There are some incompatibilities between the standard configurations for isort and black (ref.

To avoid issues of black and isort continuously reformatting the same file, add the --profile black option to isort

There are some incompatibilities between the standard configurations for isort and black ([ref](PyCQA/isort#1518). 

To avoid issues of black and isort continuously reformatting the same file, add the `--profile black` option to isort
@vincentsarago
Copy link
Member

vincentsarago commented Mar 7, 2022

@leothomas I think we got this covered in

profile = black

@leothomas
Copy link
Member Author

Oh perfect! I didn't see that! Closing

@leothomas leothomas closed this Mar 7, 2022
@leothomas leothomas deleted the leothomas-update-pre-commit branch March 7, 2022 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants