Modern Python dev environment inside Docker container with devcontainer, poetry and pre-commit hooks.
Install cookiecutter
tool if you don't have one already installed and run the following command.
$ cookiecutter gh:deepaerial/cookiecutter-python-devcontainer
Cookiecutter installation instructions of the official wiki.
Dev environment inside container pre-installed with:
poetry
for managing project dependencies- Predefined VS Code extensions (list of default VS Code extensions is available in
.devcontainer/devcontainer.json
) - mypy
- pytest
- black
- coverage
- isort
- flake8
- pre-commit
- ruff
$ poetry run pytest .