A template for my Python shenanigans.
- Install python-poetry
poetry install --all-extras
to download dependenciespoetry run task pre-commit
to install pre-commit hooks (for linting)- You should be good to go!
pre-commit
will automatically check your project for problems before committing. - [OPTIONAL] Run
poetry run task lint
to lint manually.
- Add a
__main__.py
file 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