guilatrova / tryceratops

A linter to prevent exception handling antipatterns in Python (limited only for those who like dinosaurs).
MIT License
432 stars 26 forks source link

CI/CD Automate package publishing and versioning with semantic release and Poetry #19

Closed guilatrova closed 3 years ago

guilatrova commented 3 years ago

Status quo

Today we use flit because it seemed easy at first (and it really was). Looks like Poetry does not just manage dependencies, but it can be used for publishing as well.

Expected result

I'm lazy, I don't feel like manually publishing and managing dependencies. I wish a similar flow as described here.

The CI/CD flow I hope is like:

Once PR is open

Once merged to main

guilatrova commented 3 years ago

I installed the convention commits bot for now. I might start a PR finish the plan only by next weekend 😅

guilatrova commented 3 years ago

I could clarify all available options for pyproject here: https://python-poetry.org/docs/pyproject/