You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering if there was any interest in general python project related improvements/contributions?
I made a linting proof of concept with pre-commit, a great tool I use in all my project (even non-Python). I have added a lint target in the Makefile to reflect this intention.
There are quite a few things it runs, but I think the autoformatters black and ruff can be a great asset to run (can even be configured via the pre-commit github action that can autoformat pull requests). ruff can be used to swap out flake8 to run on the generated file too if desired.
Ideally the mypy (static type checker) should be run, but looks like there are quite a few errors at the moment.
Happy to help (maybe in smaller increments) if this is something you are considering and/or need help with
The text was updated successfully, but these errors were encountered:
Hi there!
I was wondering if there was any interest in general python project related improvements/contributions?
I made a linting proof of concept with pre-commit, a great tool I use in all my project (even non-Python). I have added a
lint
target in the Makefile to reflect this intention.https://github.com/adehad/edgedb-python/pull/1/files
There are quite a few things it runs, but I think the autoformatters
black
andruff
can be a great asset to run (can even be configured via the pre-commit github action that can autoformat pull requests).ruff
can be used to swap outflake8
to run on the generated file too if desired.Ideally the
mypy
(static type checker) should be run, but looks like there are quite a few errors at the moment.Happy to help (maybe in smaller increments) if this is something you are considering and/or need help with
The text was updated successfully, but these errors were encountered: