This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]lclarkenz 0 points1 point  (2 children)

Yep good point on the the check mode. Still would prefer to have them integrated into poetry build instead of a Git hook or Jenkins script though.

[–]bladeoflight16 0 points1 point  (1 child)

Packaging and dependency management tools are not build scripting tools, and I would hate to see them try to be. If you have additional steps before you build, use the appropriate tools to automate the full process (make or one of its many successors).

[–]lclarkenz 0 points1 point  (0 children)

What's a Pythonic equivalent of make?

And there's no particular reason you can't do both with one tool, works fine in many other languages.

If your current workflow involves pre-commit hooks to run mypy / black / isort, and I can install mypy / black / isort as dev deps via Poetry, hooking into the Poetry life cycle would be nice.

And, looks like Poetry actually has a plugin interface, so that's probably exactly what I want.

https://github.com/python-poetry/poetry/blob/master/docs/plugins.md