Skip to content

Latest commit

 

History

History
91 lines (60 loc) · 1.34 KB

pipeline.md

File metadata and controls

91 lines (60 loc) · 1.34 KB

← Back: Documentation Overview

Pipelines

Is your PR not passing the pipeline checks? Look no further. Below you will find a collection of commands thats run by the pipeline and will allow you to check and fix issues locally. At the bottom of each section is a link to a comprehensive collection of all commands, should you discover a missing command you find it there. (In that case please add the command to this doc)

Frontend

Install dependencies

yarn

Run Biome

yarn biome:ci

Run Biome fix

yarn biome:fix

Run Stylelint

yarn stylelint:check

Run typescript compiler check

yarn tsc:check

Didnt find what you were looking for? See all backend commands here

Backend

poetry install

Run Ruff

poetry run ruff check

Run Ruff fix

poetry run ruff check --fix

Verify migrations

poetry run python manage.py makemigrations --check --dry-run --noinput --verbosity 2

Apply migrations

poetry run python manage.py migrate

Run (Py)tests

poetry run pytest

Run mypy

poetry run mypy --config-file mypy.ini .

Run seed

poetry run python manage.py seed

Didnt find what you were looking for? See all frontend commands here