Contributing
Fork https://github.com/lmy375/peth on Github.
Clone the repository and install the corresponding dependencies.
$ python -m venv pethenv
$ source pethenv/bin/activate
$ git clone https://github.com/<your-peth>/peth
$ cd peth
$ pip install -r requirements.txt
$ pip install -r requirements-dev.txt
$ pre-commit install --install-hooks
Modify the code or add new code, add unit tests. Ensure that all unit tests pass.
$ pytest
================================== test session starts ==================================
...
tests/test_abi.py ..... [ 45%]
tests/test_bytecode.py . [ 54%]
tests/test_sigs.py .... [ 90%]
tests/test_source.py . [100%]
...
============================ 11 passed, 2 warnings in 10.05s ============================
Update the corresponding documentation.
Submit a Pull request on Github.