The repository implements a Cookiecutter template for creating a minimal Python 3 project, with an MIT license, having the following tools:
- Poetry for dependency management;
- Ruff for linting and import sorting;
- Black for automatic formatting;
- pytest for unit testing;
- Coverage.py for coverage tracking; and
- Poe for task running.
Visual Studio Code's configuration already contains the required integration with the above tools. In addition, the generated project recommends IDE extension. You can install them to ease the development.
- Install Cookiecutter.
- Clone the repository with
git clone https://github.com/iosifache/cookiecutter-minimal-python
. - Enter the cloned folder.
- Fill
cookiecutter.json
with the details of your project. - Generate a new project with
cd .. && cookiecutter --no-input cookiecutter-minimal-python
. - Enter the generated project in the current folder.
- Install project's dependencies with
poetry install
.