daft-engineers / vocoder

Open source vocoder designed for the Raspberry Pi.
https://daft-engineers.github.io/vocoder/
Mozilla Public License 2.0
9 stars 0 forks source link

Setup linter #37

Closed MHCooke closed 1 year ago

MHCooke commented 1 year ago

Closes #27

Looking for comments on checks.sh. I'm not sure what the correct approach to clang-format is, currently it just fixes your code if you run it. It might be better instead of make it do a dry run and tell you about problems first. However, it is trivial to setup your IDE to run the formatting checks in real time, so why not use that for warnings?

This also only runs static analysis on src, but formatting checks on both.