A template for my Python shenanigans.
- Install python-poetry
poetry install --all-extrasto download dependenciespoetry run task pre-committo install pre-commit hooks (for linting)- You should be good to go!
pre-commitwill automatically check your project for problems before committing. - [OPTIONAL] Run
poetry run task lintto lint manually.
- Add a
__main__.pyfile topoetry_template - You should be able to run your program with
poetry run python -m poetry_template
- You're all set! Just add source files to
poetry_template