[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-util] 02/02: add 'make pretty' rule
From: |
gnunet |
Subject: |
[taler-taler-util] 02/02: add 'make pretty' rule |
Date: |
Mon, 16 Dec 2019 13:58:05 +0100 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository taler-util.
commit cc138f142da4f56b5d157f01c24cc97af52287a8
Author: ng0 <address@hidden>
AuthorDate: Mon Dec 16 12:57:49 2019 +0000
add 'make pretty' rule
---
Makefile | 3 +++
configure.py | 1 +
2 files changed, 4 insertions(+)
diff --git a/Makefile b/Makefile
index 1845b00..11d321e 100644
--- a/Makefile
+++ b/Makefile
@@ -21,5 +21,8 @@ pypi: dist
check:
$(tox) || echo "error: you have to install tox"
+pretty:
+ find . -type f -name '*.py' -or -name '*.py.in' -print0 | xargs -0
$(yapf) -i 2>&1 || true
+
clean:
rm -rf __pycache__ *~
diff --git a/configure.py b/configure.py
index 2dde567..75d18bf 100644
--- a/configure.py
+++ b/configure.py
@@ -16,6 +16,7 @@ b.enable_prefix()
b.enable_configmk()
b.add_tool(PythonTool())
b.add_tool(PyToxTool())
+b.add_tool(YapfTool())
b.add_tool(PosixTool("cp"))
b.add_tool(PosixTool("echo"))
b.add_tool(PosixTool("env"))
--
To stop receiving notification emails like this one, please contact
address@hidden.