[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-bank] branch master updated: making 'make pylint' av
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-bank] branch master updated: making 'make pylint' available |
Date: |
Sun, 30 Jul 2017 10:10:20 +0200 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository bank.
The following commit(s) were added to refs/heads/master by this push:
new 54cc782 making 'make pylint' available
54cc782 is described below
commit 54cc782ede066b8b4b69093c1a5bfcbc9961ba85
Author: Marcello Stanisci <address@hidden>
AuthorDate: Sun Jul 30 10:09:56 2017 +0200
making 'make pylint' available
---
Makefile.am | 3 +++
configure.ac | 13 +++++++++++++
2 files changed, 16 insertions(+)
diff --git a/Makefile.am b/Makefile.am
index 35f4294..ca887de 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -40,5 +40,8 @@ install-exec-hook:
@# force update when sources changed
@pip3 install . --install-option="address@hidden@" @DEBIAN_PIP3_SYSTEM@
--upgrade --no-deps
+pylint:
+ @pylint --load-plugins pylint_django talerbank/
+
app:
@tar czf taler-bank-$(PACKAGE_VERSION)-app.tgz `cat INCLUDE.APP`
diff --git a/configure.ac b/configure.ac
index e0ab961..eb50fd2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -71,6 +71,19 @@ if test x$pyheaders != x1; then
fi
#
+# Check for pylint
+#
+
+AC_MSG_CHECKING([pip3])
+pylint --version >/dev/null
+if test $? -ne 0;
+ then
+ AC_MSG_NOTICE([WARNING: pylint NOT found.])
+else
+ AC_MSG_NOTICE([NOTICE: pylint found, make sure plugin 'pylint-django' is
installed.])
+fi
+
+#
# Finish
#
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-bank] branch master updated: making 'make pylint' available,
gnunet <=