Move build system to UV, add vscode debugger/test ui, add python 3.13 build/test target
Hey Lynn,
I playfully (🪂) worked my way toward debugging issue #187. To start that journey I wanted to update some of the developer tooling to help me get to debugging a little quicker. I also needed to update the CI system to get builds passing since some of the action images had been deprecated and removed. What do you think?
-
Moved to using UV for python environment management
-
Updated contributing readme with new
uvbased commands -
A teensy weensy code change in
badge_gen.pyto satisfy mypy -
Another teensy weensy code change in
badge_gen.pyto prevent anOSErrorfrom ruining the dayE OSError: no library called "cairo-2" was found E no library called "cairo" was found E no library called "libcairo-2" was found -
Added testing for python 3.13 and set that as the latest version
-
Updated all ci dependencies because ci was broken
-
Added support for running tests in vscode ui
-
Added support for running the debugger in vscode
-
Improved error message when interrogate encounters a syntax error in a codebase
Before
After
Have you tested this? If so, how?
All tests running in CI and I have tested all contributor doc commands locally.
Checklist for PR author(s)
- [x] Changes are covered by unit tests (no major decrease in code coverage %).
- [x] All tests pass.
- [x] Docstring coverage is 100% via
tox -e docsorinterrogate -c pyproject.toml(I mean, we should set a good example :smile:). - [x] Updates to documentation:
- [x] Document any relevant additions/changes in
README.rst. - [x] Manually update both the
README.rstanddocs/index.rstfor any new/changed CLI flags. - [ ] Any changed/added classes/methods/functions have appropriate
versionadded,versionchanged, ordeprecateddirectives. Find the appropriate next version in the project's__init__.pyfile.
- [x] Document any relevant additions/changes in
Release note
- Improved error message when encountering syntax errors in a codebase
Solves #187
Happy Monday @econchick! I've updated the PR to use the uv build backend which is now stable.