uv compatibility, typing improvements
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected] change-id 20250128-uv-compat-4e107b99e7daVersions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | Use PEP-735 dependency groupspyproject.toml | +3 | 0 replies | |
| 2/10 | Specify optional dependencies in pyproject.tomlmisc/ pyproject.toml | +2 | 0 replies | |
| 3/10 | Specify dependencies in pyproject.tomlpyproject.toml requirements.in requirements.txt | +11 | 0 replies | |
| 4/10 | Add ruff, remove all noqa commentsmisc/ pyproject.toml src/ +7 more | +31 | 0 replies | |
| 5/10 | Remove `noinspection` commentsmisc/ src/ src/ +1 more | +1 | 0 replies | |
| 6/10 | Add mypypyproject.toml | +1 | 0 replies | |
| 7/10 | Add missing LoreTrailer.lmsg annotationsrc/ | +1 | 0 replies | |
| 8/10 | Check variables for None rather than exprssrc/ | +12 | 0 replies | |
| 9/10 | Make LoreSeries.indexes never Nonesrc/ | +8 | 0 replies | |
| 10/10 | Add missing type annotationssrc/ src/ src/ +7 more | +112 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH b4 00/10] uv compatibility, typing improvements
uv[0] is an extremely fast Python package and project manager; allowing b4 to be developed with it makes life more pleasant for all contributors.
This series makes the b4 project compatible with uv and fixes various typing problems. Please see also https://github.com/mricon/b4/issues/61
for the likely cause of many of these typing issues having previously gone unnoticed.
---
Tamir Duberstein (10):
Use PEP-735 dependency groups
Specify optional dependencies in pyproject.toml Specify dependencies in pyproject.toml Add ruff, remove all noqa comments Remove noinspection comments
Add mypy
Add missing LoreTrailer.lmsg annotation Check variables for None rather than exprs Make LoreSeries.indexes never None
Add missing type annotations
misc/requirements-completion.in | 1 - misc/send-receive.py | 9 ++- pyproject.toml | 30 ++++++--- requirements.in | 4 -- requirements.txt | 8 +-- src/b4/__init__.py | 133 ++++++++++++++++++++-------------------- src/b4/command.py | 34 +++++----- src/b4/ez.py | 50 +++++++-------- src/b4/kr.py | 3 +- src/b4/mbox.py | 6 +- src/b4/ty.py | 17 +++-- src/tests/conftest.py | 17 ++--- src/tests/test___init__.py | 25 ++++---- src/tests/test_ez.py | 9 +-- src/tests/test_mbox.py | 7 ++- 15 files changed, 181 insertions(+), 172 deletions(-)
---
base-commit: 6f78e874e96b0b3bac1767a1743b20af20cb0e2f
change-id: 20250128-uv-compat-4e107b99e7da
Best regards,
Signature · 1 line
Tamir Duberstein <[email protected]>