ApeWorX / py-solc-x

Python wrapper and version management tool for the solc Solidity compiler.
https://solcx.readthedocs.io/
MIT License
138 stars 48 forks source link

Include commit hash in `get_solc_version` #120

Closed iamdefinitelyahuman closed 3 years ago

iamdefinitelyahuman commented 3 years ago

What I did

Allow querying the commit hash when calling get_solc_version

How I did it

Added an optional kwarg, with_commit_hash.

How to verify it

Run the tests. I've added a new test case to verify the behaviour.