Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.

Update isort version in pre-commit config #151

Closed
wants to merge 1 commit into from

Conversation

aganders3
Copy link
Contributor

The previous version was failing to install due to some issues with poetry. See PyCQA/isort#2078.

@aganders3
Copy link
Contributor Author

Then again, now that napari is using ruff for this, perhaps that should be used in the plugin cookiecutter as well.

N.B. @Czaki

@Czaki
Copy link
Contributor

Czaki commented Feb 9, 2023

I'm not sure as ruff is really fast in development and adding new rules.

I'm not against but it will require to preciselly preselect enabled rules and revisit it time to time.

@aganders3
Copy link
Contributor Author

Thanks for the input. I can see it both ways. On one hand pre-commit is basically pinning a version, so the fast changes shouldn't be a problem. On the other, I think we can expect many to use pre-commit autoupdate.

@Czaki
Copy link
Contributor

Czaki commented Mar 16, 2023

at this moment, I prefer to switch to ruff with removing flake and isort. It provides a much better user experience.

@aganders3
Copy link
Contributor Author

Sounds good - I will close this then!

@aganders3 aganders3 closed this Mar 16, 2023
@aganders3 aganders3 deleted the patch-2 branch March 16, 2023 19:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants