trezor / python-shamir-mnemonic

MIT License
165 stars 59 forks source link

Introducing Github actions #42

Closed willianpaixao closed 2 years ago

willianpaixao commented 2 years ago

As hinted in https://github.com/trezor/python-shamir-mnemonic/pull/41#issuecomment-968694808 by @matejcik, a Github workflow that runs Black was desired. This PR focus on it.

Additionally, I added one pipeline that runs pytest too.

Fixes #38

willianpaixao commented 2 years ago

i would accept a github action that checks the results of flake8

@matejcik would you like me to add Flake8 to the lining pipeline? Or just Black is already enough?

matejcik commented 2 years ago

if the flake8 setup is made compatible with black, then yes, thank you some of the following will need to be added to ignore cfg: https://github.com/trezor/trezor-firmware/blob/master/setup.cfg#L2-L18

willianpaixao commented 2 years ago

@matejcik @prusnak PR ready to review.

matejcik commented 2 years ago

thank you. let's see what happens now :)