I suggest adding a commit hook that would disable committing if the changed files do not follow the coding style. The downside is that this requires us to have pycodestyle installed on the machine that we commit.
@eth-cscs/reframe-devteam What do you think?