Skip to content

ci: bring bitcoin's .py linter into secp256k1 #1278

@RandomLattice

Description

@RandomLattice

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 bitcoin/bitcoin#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:

  1. Add a CI job in secp256k1 to do a shallow clone of bitcoin master and run the linter
  2. 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions