Skip to content

Latest commit

 

History

History
44 lines (36 loc) · 1.04 KB

development.md

File metadata and controls

44 lines (36 loc) · 1.04 KB

Development Instructions

Ideally, pre-commit should be installed along with:

Install all (main+dev) dependencies:

poetry install --no-root

Mypy:

poetry run mypy .

Install pre-commit hooks:

poetry run pre-commit install

Run pre-commit hooks manually:

poetry run pre-commit run --all-files

Update pre-commit hooks:

poetry run pre-commit autoupdate

Extra checks

ruff check --fix --extend-select="F,I,UP" --line-length=120

Generating a requirements.txt file

poetry self add poetry-plugin-export
poetry export -f requirements.txt --output requirements.txt