I would suggest you install:
uvjustpre-commit
Then run
just install-hooks
just setupThis will run the 'setup' recipe in Justfile to give you a local uv virtual environment with the package installed.
- Run
justto run the linter recipes (the default with no arguments). - Run
just tyto runtytype checking. - Run
just flaketo runflake8linting - Run
just fmtto runruff formatauto-formatter.
To run the same checks that will run on CI, use pre-commit run --all-files