Commit Graph

3 Commits

Author SHA1 Message Date
Dan Halbert 7107692678 use --long for describe in setup.py-stubs 2022-02-18 21:22:02 -05:00
Jeff Epler c4c7a6ff62 use describe program during building stubs
Closes: #5793
2022-02-14 17:01:07 -06:00
Jeff Epler f51ca53553 refine stubs-building procedure
* so that excess files are not included in sdist, perform build down
   in circuitpython-stubs
 * This means we need to
   * Remove the need-pypi check
   * Copy a setup.py, README, and MANIFEST.in into the stubs build location
   * Revamp how the overall `mypy --strict` check lists its inputs
 * Add a new test that actually installing the stubs lets us do type
   checking (tools/test-stubs.sh)
 * Add a missing return type to a __init__ function (why was this not
   an error under `mypy --strict`, I wonder)
2021-06-22 08:59:05 -05:00