authzed-py icon indicating copy to clipboard operation
authzed-py copied to clipboard

Pre-commit demo

Open tstirrat15 opened this issue 1 year ago • 0 comments

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.

tstirrat15 avatar Aug 20 '24 19:08 tstirrat15