take a look at taskipy https://github.com/illBeRoy/taskipy as it resembles npm scripts.
Re:Writing Makefiles for Python Projects
by guitarbill on Thursday April 01, 2021 @11:57PM
(#26668918)
that's awesome, pretty much exactly what i wanted! thanks
The commands are useful, getting support for declaring easy to use test and lint commands in pyproject.toml shouldn't be so hard and something I'd love to see. In the meantime, you can use shell scripts (or a makefile sans the venv stuff) and do e.g. `poetry run ./test`.
Tbh, there's nothing wrong with a makefile, and poetry isn't perfect. I just feel poetry works better than trying to work around the limitation of existing tooling. An so far, I'm happy with pyproject.toml. Putting dev tool configuration in there is a lot nicer than having several different files with different syntax for e.g. isort, pylint, etc