Closed jameslamb closed 6 months ago
Do we need to add mypy to the pre-commit hooks?
I think we should, but it'll take a bit of work to get there. I documented that in #87 and am gonna keep chipping away it this week while waiting on builds for other projects.
:tada: This PR is included in version 1.13.6 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Contributes to #76 and #87.
Proposes adding a
py.typed
file, to advertise to type-checkers that this project contains inline type hints (i.e. doesn't ship a separate package of type stubs).This is described in PEP 561: https://peps.python.org/pep-0561/
This didn't really matter when
rapids-dependency-file-generator
was only being used as a CLI, but now thatrapids-build-backend
is consuming it as a library, I think this is useful to have. It means thatmypy
,pyright
, etc. used to checkrapids-build-backend
will also considerrapids_dependency_file_generator
's type hints.How I tested this
Built a wheel and confirmed that this file made it in with my
MANIFEST.in
changes here.