Skip to content

Adopt uv and ruff#31

Merged
joaonc merged 5 commits into
mainfrom
wip-8
Mar 14, 2026
Merged

Adopt uv and ruff#31
joaonc merged 5 commits into
mainfrom
wip-8

Conversation

@joaonc

@joaonc joaonc commented Mar 14, 2026

Copy link
Copy Markdown
Owner

Closes #30. See issue for full details.

- Replace black, isort, flake8, pip-tools, flit with uv and ruff
- Update pyproject.toml: ruff config, uv_build build system, fix license format, fix pytest section name
- Update admin/lint.py: replace lint_black/flake8/isort with lint_ruff (check/fix modes)
- Update admin/pip.py: use uv pip compile/sync/install instead of pip-tools/pip
- Update admin/build.py: use uv build/publish instead of flit, improve build_clean
- Update admin/test.py: use uv run pytest
- Update requirements-dev.in/txt: remove black/flake8/isort/flit, add ruff
- Update GitHub Actions workflows: use astral-sh/setup-uv@v5, uv venv, uv pip; use UV_PUBLISH_TOKEN
- Update AI.md, create WARP.md: document uv-only usage
- Update README.md: add Development and testing section with uv setup instructions

Closes #30

Co-Authored-By: Oz <oz-agent@warp.dev>
@joaonc joaonc mentioned this pull request Mar 14, 2026
joaonc and others added 4 commits March 13, 2026 23:38
- pyproject.toml: requires-python >=3.11, remove tomli dep, ruff/mypy target py311
- requirements.in: remove tomli
- requirements.txt: regenerated (tomli removed)
- pyproject.py: replace conditional tomli/tomllib import with direct import tomllib

Co-Authored-By: Oz <oz-agent@warp.dev>
@joaonc
joaonc merged commit c08153b into main Mar 14, 2026
3 checks passed
@joaonc
joaonc deleted the wip-8 branch March 14, 2026 05:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adopt uv and ruff

1 participant