From e9cd3319cf14b3d9484c4e6d7aa5040509a81653 Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Tue, 7 Jan 2020 20:46:18 +0000 Subject: Enable pre-commit tool linting This should help use keep the codebase more consistent, and avoid sevel whitespace related issues, or bad file permissions. pre-commit allows us to easily introduce other linters in follow-ups, like bashate. Note: pre-commit tool does *not* install any git-hooks. Making commits will will call the tool unless you deliverately tell it to install the hooks. Signed-off-by: Sorin Sbarnea --- contrib/snapcraft/.editorconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/snapcraft') diff --git a/contrib/snapcraft/.editorconfig b/contrib/snapcraft/.editorconfig index 1749b2d4c..89bc6dc80 100644 --- a/contrib/snapcraft/.editorconfig +++ b/contrib/snapcraft/.editorconfig @@ -14,4 +14,4 @@ indent_size = 2 end_of_line = lf charset = utf-8 trim_trailing_whitespace = true -insert_final_newline = true \ No newline at end of file +insert_final_newline = true -- cgit v1.2.3-54-g00ecf