hadialqattan / pycln

A formatter for finding and removing unused import statements.

Home Page:https://hadialqattan.github.io/pycln

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[FEATURE] Release on conda-forge

AlexisFetet opened this issue · comments

Currently setting pycln in conda environments requires to use pip, which reduces interoperability.

pre-commit with conda requires dependancies to be available with conda install.

Pycln can only be installed for pre-commit with the environment.yml file, which does not allow for pre-made hooks to be created without pycln in all environments even if not used, or for user to add pycln as a dependency.

Thank you for the suggestion. I'll work on this as soon as I get time for Pycln 👍🏻.

UPDATES: I've created a recipe PR for adding Pycln to the conda-forge channel [see PR#20969].

Thanks for the quick PR, I see it's just missing the validation from maintainers 👍

Hi again @AlexisFetet, the PR has been merged. Now Pycln is available on conda-forge!