[pitivi] Encourage developers to use autopep8
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] Encourage developers to use autopep8
- Date: Sat, 15 Nov 2014 10:32:33 +0000 (UTC)
commit 374576f9822e888bd9cf8b56479e47bd4e752588
Author: Thibault Saunier <tsaunier gnome org>
Date: Thu Sep 25 12:50:56 2014 +0200
Encourage developers to use autopep8
https://bugzilla.gnome.org/show_bug.cgi?id=739251
pre-commit.hook | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/pre-commit.hook b/pre-commit.hook
index cfe008c..3e3a93e 100755
--- a/pre-commit.hook
+++ b/pre-commit.hook
@@ -40,7 +40,10 @@ def main():
if pep8_errors:
output_message = "Your code is not fully pep8 compliant and contains"\
" the following coding style issues:\n\n" + pep8_errors +\
- "\n\nThanks for correcting them before commiting"
+ "\n"\
+ "We encourage you to use\n\n $autopep8 -i file/with/pep8/error.py\n\n"\
+ "\n"\
+ "Thanks for correcting them before commiting!\n"
except OSError:
output_message = "You should install the pep8 style checker to be able"\
" to commit in this repo.\nIt allows us to garantee that "\
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]