authzed / authzed-py

Official SpiceDB client library for Python
https://docs.authzed.com/reference/api
Apache License 2.0
33 stars 13 forks source link

Pre-commit demo #187

Open tstirrat15 opened 2 months ago

tstirrat15 commented 2 months ago

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.