Boilerplates are like toothbrushes. Everyone has one and no one wants to use anyone else's.
This one is mine.
-
Open a terminal window at the root of this project
-
Run the following commands:
## Install dependencies
poetry install
## Run main script
poetry run ./src/myproject/main.py
## Lint with flake8
poetry run flake8 .
## Lint with black
poetry run black .
## Check static typing with mypy
poetry run mypy .
## Test with pytest
poetry run pytest
## Update dependencies
poetry update
The MIT License (MIT)
Copyright (c) 2022 Dane Petersen