This is a template for creating Python projects. It includes a basic project structure, configuration files, and setup scripts to help you get started quickly.
- π Pre-configured with
poetry
for dependency management - πͺ Linting with
ruff
- π§ Type checking with
mypy
- π§ͺ Testing with
pytest
- π Pre-commit hooks for code quality
- π¦ Uses
dev container
for development setup
Note
Use the included dev container to automatically install all the necessary dev tools and dependencies.
-
Clone the repository:
git clone https://github.com/Paul-B98/python-project-template.git cd python-project-template
-
Open the project in Visual Studio Code:
code .
-
Reopen in Container:
- Press
F1
to open the command palette. - Type
Remote-Containers: Reopen in Container
and select it. - VS Code will build the Docker container defined in the
.devcontainer
folder and open the project inside the container.
- Press