[libcamera-devel] [PATCH 0/2] Add the ability to do pre-commit style check
nicolas at ndufresne.ca
nicolas at ndufresne.ca
Thu Jan 16 19:26:01 CET 2020
From: Nicolas Dufresne <nicolas.dufresne at 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
--
2.24.1
More information about the libcamera-devel
mailing list