Skip to content

Latest commit

 

History

History
76 lines (52 loc) · 1.1 KB

File metadata and controls

76 lines (52 loc) · 1.1 KB

Development and Testing

Primary Development Commands

To check and resolve linting issues in the codebase, run:

poetry run ruff check --fix

To check and resolve formatting issues in the codebase, run:

poetry run ruff format

To check the unit tests in the codebase, run:

poetry run pytest

To check the typing in the codebase, run:

poetry run mypy && poetry run basedpyright

To generate a code coverage report after testing locally, run:

poetry run coverage html

To check the lock file is up-to-date:

poetry check --lock

Shortcut Task Commands

For Running Individual Checks

poetry task check-lock
poetry task check-format
poetry task check-lint
poetry task check-tests
poetry task check-typing

For Running All Checks

poetry task check-all

For Running Individual Fixes

poetry task fix-format
poetry task fix-lint

For Running All Fixes

poetry task fix-all

For Running All Fixes and Checks

poetry task fix-and-check-all