Skip to content

Update .pre-commit-config.yaml#1

Open
Tesla2000 wants to merge 1 commit into
NazarioJL:mainfrom
Tesla2000:patch-1
Open

Update .pre-commit-config.yaml#1
Tesla2000 wants to merge 1 commit into
NazarioJL:mainfrom
Tesla2000:patch-1

Conversation

@Tesla2000

Copy link
Copy Markdown

Hello,

I saw that you raised an issue regarding reorder-python-imports not being compatible with the current version of Black issue. Since the author has been unwilling to accept changes, I decided to publish a compatible version in the spirit of open source.

To ensure full compatibility, you’ll need to set the --retain-pre-import flag. Otherwise, it works exactly the same as the original implementation.

Hello,

I saw that you raised an issue regarding reorder-python-imports not being compatible with the current version of Black (asottile/reorder-python-imports#388).
Since the author has been unwilling to accept changes, I decided to publish a compatible version in the spirit of open source.

To ensure full compatibility, you’ll need to set the --retain-pre-import flag. Otherwise, it works exactly the same as the original implementation.
@Tesla2000

Copy link
Copy Markdown
Author

Actually the is also another fork that implemented this https://github.com/wimglenn/reorder-python-imports-black. Was parsing through closed black issues to find it

@NazarioJL NazarioJL force-pushed the main branch 3 times, most recently from 4120a86 to 01222a0 Compare December 6, 2025 09:13
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.

1 participant