From: Nicolas Dufresne <nicolas.dufresne@collabora.com>
This series adds the ability to do pre-commit style check. It is a series simply
because pep8 tool has been renamed in 2016 and have moved to hard deprecation in
3.7, which prevented me to run the style check on Fedora 31.
Nicolas Dufresne (2):
checkstyle: Move from pep8 to pycodestyle
checkstyle: Add support for pre-commit hook
utils/checkstyle.py | 59 ++++++++++++++++++++++++++++--------------
utils/hooks/pre-commit | 16 ++++++++++++
2 files changed, 56 insertions(+), 19 deletions(-)
create mode 100755 utils/hooks/pre-commit
From: Nicolas Dufresne <nicolas.dufresne@collabora.com> This series adds the ability to do pre-commit style check. It is a series simply because pep8 tool has been renamed in 2016 and have moved to hard deprecation in 3.7, which prevented me to run the style check on Fedora 31. Nicolas Dufresne (2): checkstyle: Move from pep8 to pycodestyle checkstyle: Add support for pre-commit hook utils/checkstyle.py | 59 ++++++++++++++++++++++++++++-------------- utils/hooks/pre-commit | 16 ++++++++++++ 2 files changed, 56 insertions(+), 19 deletions(-) create mode 100755 utils/hooks/pre-commit