by Daniel Floyd (@gleekzorp) 😎
💡 Use Poetry
as the package manager to take advantage of the pyproject.toml
at the Workspace Root
⚠️ Python version 3.9 or higher is required
-
Clone this repo and open it in your favorite editor (VS Code, Pycharm, etc)
-
Open the Integrated Terminal and use Poetry to install all dependencies
# this also creates the virtual environment automatically poetry install
-
Configure your IDE
- Select Interpreter - Gives you autocomplete, intellisense, etc
- Configure Tests - We use
pytest
instead of the defaultunittest
library - Any other settings like Formatter (
black
) and Linter (flake8
)
-
That's it! Run the tests to see it all work
poetry run pytest tests