Before commitΒΆ
Run the commands in project shell/project folder.
hatch shell
Check formatting with
ruff
by running command:hatch fmt -l
Check typing with
mypy
by running command:hatch run lint:typing
Run tests with
pytest
by running command:hatch run test
Build docs with
sphinx
by running command:hatch run doc:build
Delete the generated doc files, Github workflow handles building if necessary (Windows-specific script):
hatch run doc:delgen