Now that #1245 introduced a build-time dependency on python3, we probably want to run bitcoin’s python linter in this repo. @sipa had to disable this in https://github.com/bitcoin/bitcoin/pull/27445 since we didn’t catch linting errors in secp256k1’s CI but only in bitcoin’s CI.
What would be a good course of action? Some options:
- Add a CI job in secp256k1 to do a shallow clone of bitcoin master and run the linter
- Copy linter scripts from bitcoin into secp256k1
No option is perfect: 1. is probably a bit heavy, and 2 will get outdated. I am leaning towards 1. Thoughts?