dojeda / poetry2conda

Convert pyproject.toml to environment.yaml
MIT License
126 stars 21 forks source link

feat: Add pre-commit hook. #25

Closed augustebaum closed 5 months ago

augustebaum commented 2 years ago

Closes #24.

Testing:

The output should look something like:

===============================================================================
Using config:
===============================================================================
repos:
-   repo: /path/to/poetry2conda
    rev: f857af95a3e1c88492ad252e44593ce78f8881d5
    hooks:
    -   id: poetry2conda
===============================================================================
[INFO] Initializing environment for /path/to/poetry2conda.
[INFO] Installing environment for /path/to/poetry2conda.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
poetry2conda.............................................................Passed
- hook id: poetry2conda
- duration: 0.08s