Skip to content

SaidBySolo/boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Boilerplate

black, isort and mypy(strict) environments.

How do use it?

If you already have Poetry installed locally, you can install the dependencies using the following command:

poetry install

Using virtual environments

First, create a virtual environment using the following command.

python -m venv .venv

Activate the virtual environment.

# Windows
.venv/Scripts/Activate.ps1

# Linux/macOS
.venv/bin/Activate.ps1 

After activation is complete, install Poetry in the virtual environment using the following command.

# Windows
.venv/Scripts/pip install -U pip setuptools
.venv/Scripts/pip install poetry

# Linux/macOS
.venv/bin/pip install -U pip setuptools
.venv/bin/pip install poetry

Install dependencies.

poetry install

Support commands

poetry run black

poetry run isort

poetry run mypy

poetry run pytest

About

black, isort and mypy(strict) environments.

Resources

License

Stars

Watchers

Forks

Languages