adafruit / Adafruit_CircuitPython_INA219

circuit python driver for INA219 current sensor
MIT License
26 stars 26 forks source link

Allow __version__ population, fix problem matchers #33

Closed tekktrik closed 2 years ago

tekktrik commented 2 years ago

Populates __version__ (assuming it's set to the expected 0.0.0-auto.0) before building the package and during the release CI process. Also tests the sed usage (though not sure how that might fail) during the build CI process.

Additionally move the problem matchers step before the pre-commit hooks so it works as intended. Seems like a good time to do that.

For reference tested successfully in my CSV library: https://github.com/tekktrik/CircuitPython_CSV

If this goes well, this file can just be copy/pasted like it is here during the move to pyproject.toml.