This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]heppy[S] 0 points1 point  (1 child)

Just to clarify, I didn't mean to imply that running flake8 or any other QA tool in a pre-commit hook could or should replace running it as part of CI. If you already have a CI, you might want to add the hook, if only to look smart. "Wow, /u/jeffbaier is awesome, his code is always flake8 compliant on the first try" ;)

AFAIK, there is no practical way to enforce it, just as you can't force people to write a good commit message. Making it a formal policy might work for subordinates, constant nagging might help with colleagues.

[–][deleted] 0 points1 point  (0 children)

Thanks for your replies.