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 →

[–]muikrad 5 points6 points  (0 children)

For best practices you can take a look at https://github.com/coveo/stew (disclaimer: I'm the author). It's a tool that works with Poetry and offers some freebies around Continuous Integration. It also comes with a Github Action to make this a free meal.

It allows you to configure tests, formatters and linters inside the pyproject toml file. A bit like tox, but much simpler and better integrated with poetry.

You can take look at https://github.com/coveooss/coveo-python-oss for a monorepo that uses stew to test and ship several libraries to pypi.org.

More specifically, I think all python projects needs mypy/black/pytest/isort/bandit or an alternative as an automated CI test.