This is a POC of moving linting concerns into pre-commit across our various client repositories. Ideally this should centralize linting configuration and make it easier to get linting working on a particular repo.
Changes
Gonna annotate. There's a few of them.
Testing
Review, see that the lint action passes and does what you need it to do. Run pre-commit run -a locally and see that it succeeds. If you get errors about pyright not being able to find definitions, you might have to remove your poetry env and re-install so that it installs the venv locally in a place where pyright can find it.
Description
This is a POC of moving linting concerns into pre-commit across our various client repositories. Ideally this should centralize linting configuration and make it easier to get linting working on a particular repo.
Changes
Gonna annotate. There's a few of them.
Testing
Review, see that the lint action passes and does what you need it to do. Run
pre-commit run -a
locally and see that it succeeds. If you get errors about pyright not being able to find definitions, you might have to remove your poetry env and re-install so that it installs the venv locally in a place where pyright can find it.