mc2-project / mc2

A Platform for Secure Analytics and Machine Learning
Apache License 2.0
297 stars 44 forks source link

Add GitHub actions linter to enforce code style #148

Closed chester-leung closed 3 years ago

chester-leung commented 3 years ago

To enforce code style in the repo, we should add a GitHub Actions linter to enforce code style. In particular, we should add black and flake8 for Python, and a Chromium style clang-format checker.

We currently have the Super Linter commented out. We can likely reuse the super linter for Python black and flake8. We'll have to find another linter for clang-format, as Super Linter doesn't support C++.