-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
ci: ruff format, isort, and lint #409
Conversation
16ef45d
to
b809792
Compare
a4e5b4c
to
429540e
Compare
63879a3
to
818f7dd
Compare
EDIT: The PR includes ruff format and isort now. |
30bd076
to
26219c6
Compare
by the way, I plan to add more type information in the next PR. If you mind having annotations import, we can remove the lint rule |
Yes, I do not want to import unused modules. Thank you! |
I removed |
Thank you for all of your work on this! |
Thanks for reviewing! And I've rebased the #410 so it should be ready now as well :) |
Instead of black/flake8/pylint, use ruff format, isort and lint as mentioned briefly in #406.
Changes:
ruff check --config ruff_essential.toml .
to check essential syntax errors. (E9, F63, F7, F82)a. move pytest config from pytest.ini to pyproject.toml
b. move coverage config from setup.cfg to pyproject.toml
c. use ruff format line-length of 79
d. ruff lint rules
e. pyright/basedpyright config (standard settings) to develop with a type checker
Build:
python_requires
(3.5 -> 3.8)uv pip
to install packages instead ofpip
for improved speedAdvantages: