-
Notifications
You must be signed in to change notification settings - Fork 7
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
Switch tooling to uv
, ruff
, and just
#12
Conversation
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.
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 just
uv
, ruff
, and just
Please explain the changes you made here.
This PR updates the repo to use
uv
for Python tooling, instead ofsetuptools
. It also usesjust
to automate some commands. Benefits:venv
in theMakefile
goes away, sinceuv
handles all of this for us.setup.py
can be consolidated withpyproject.toml
.astral-sh/setup-uv@v3
anduv run -p
for multi-Python version testing.pyproject.toml
.Does this close any currently open issues?
No.
Checklist: