-
Notifications
You must be signed in to change notification settings - Fork 11
Switch tooling to uv, ruff, and just
#12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
notenti
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
.github/workflows/test.yml
Outdated
| - run: uv run -p ${{ matrix.python-version}} black pyfu_usb/ tests/ | ||
| - run: uv run -p ${{ matrix.python-version}} mypy pyfu_usb/ tests/ | ||
| - run: uv run -p ${{ matrix.python-version}} pylint pyfu_usb/ tests/ | ||
| - run: uv run -p ${{ matrix.python-version}} isort pyfu_usb/ tests/ | ||
| - run: uv run -p ${{ matrix.python-version}} pytest tests/ | ||
| - run: uv build -p ${{ matrix.python-version }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit/suggestion: probably can use ruff instead of isort and black, too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call, probably can replace pylint as well. Will make that change.
mdmedley
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…ersion, since there are source code changes. This will also allow us to test the changes to the publish pipeline.
uv and justuv, ruff, and just
Please explain the changes you made here.
This PR updates the repo to use
uvfor Python tooling, instead ofsetuptools. It also usesjustto automate some commands. Benefits:venvin theMakefilegoes away, sinceuvhandles all of this for us.setup.pycan be consolidated withpyproject.toml.astral-sh/setup-uv@v3anduv run -pfor multi-Python version testing.pyproject.toml.Does this close any currently open issues?
No.
Checklist: