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

pre-commit: Fix RuntimeError in isort hook #1634

Merged
merged 1 commit into from Feb 20, 2023

Conversation

honggyukim
Copy link
Collaborator

The pre-commit shows an error in isort hook as follows.

RuntimeError: The Poetry configuration is invalid

This can be fixed by upgrading isort rev to 5.11.5 so this patch changes the version to fix it.

In addition, apply changes from isort 5.11.5 to make pre-commit happy.

Link: PyCQA/isort#2083 (comment)
Signed-off-by: Honggyu Kim honggyu.kp@gmail.com

The pre-commit shows an error in isort hook as follows.

  RuntimeError: The Poetry configuration is invalid

This can be fixed by upgrading isort rev to 5.11.5 so this patch changes
the version to fix it.

In addition, apply changes from isort 5.11.5 to make pre-commit happy.

Link: PyCQA/isort#2083 (comment)
Signed-off-by: Honggyu Kim <honggyu.kp@gmail.com>
@honggyukim
Copy link
Collaborator Author

@namhyung I will merge this to fix all the pre-commit errors in our CI.

@honggyukim honggyukim merged commit 5ba7751 into namhyung:master Feb 20, 2023
@honggyukim honggyukim deleted the check/fix-isort-pre-commit branch February 20, 2023 07:59
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.

None yet

1 participant