Add a github action to validate syntax post-commit
authorMagnus Hagander <magnus@hagander.net>
Fri, 25 Sep 2020 11:04:39 +0000 (13:04 +0200)
committerMagnus Hagander <magnus@hagander.net>
Fri, 25 Sep 2020 11:05:42 +0000 (13:05 +0200)
commit775e8a4de1d5f3c0a5e85dcf9e18fcb1ff5e48c9
treef46418e2f579fa616f8eeda6d6f47d82a44d777d
parent7ede3af8b2a51763e85e432d8cfd1edbfde1c898
Add a github action to validate syntax post-commit

While we don't use the github workflow for our development, it doesn't
hurt to get a post-commit notification when somebody forgot to validate
things pre-commit (using the hook we have). This hook also runs with
exactly the version of python/pycodestyle that we are using in
production, which might help someone.
.github/workflows/validate-syntax.yaml [new file with mode: 0644]