Skip to content

Opinionated python project template with same bumptious linting/formatting styles

Notifications You must be signed in to change notification settings

magican/python-project-template

Repository files navigation

Boilerplate

Python project boilerplate.

Auto installation

For Linux and Mac use make:

make install

Manual installation

Use poetry:

poetry install

Use pre-commit:

Install the git hook scripts:

pre-commit install

Code style with pre-commit

To manually run all pre-commit hooks on a repository:

pre-commit run --all-files

To manually run all pre-commit hooks on specific files:

pre-commit run --files src/application/main.py

To run individual hooks:

pre-commit run <hook_id>

Code style:

pre-commit run flake8

Type check:

pre-commit run mypy

About

Opinionated python project template with same bumptious linting/formatting styles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published