gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-build-common] branch master updated: follow-up fix to yapf, add d


From: gnunet
Subject: [taler-build-common] branch master updated: follow-up fix to yapf, add dash
Date: Mon, 16 Dec 2019 15:38:02 +0100

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository build-common.

The following commit(s) were added to refs/heads/master by this push:
     new 258abb1  follow-up fix to yapf, add dash
258abb1 is described below

commit 258abb1d5d3c546d5905c46751a0ccf85d870a5c
Author: ng0 <address@hidden>
AuthorDate: Mon Dec 16 14:37:43 2019 +0000

    follow-up fix to yapf, add dash
---
 talerbuildconfig.py | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

diff --git a/talerbuildconfig.py b/talerbuildconfig.py
index 28a20f8..e3b9f3e 100644
--- a/talerbuildconfig.py
+++ b/talerbuildconfig.py
@@ -264,13 +264,25 @@ class YapfTool(Tool):
                 "3.8": "yapf3.8",
                 "3.9": "yapf3.9",
                 "4.0": "yapf4.0",
+                "4.1": "yapf-3.0",
+                "4.2": "yapf-3.1",
+                "4.3": "yapf-3.2",
+                "4.4": "yapf-3.3",
+                "4.5": "yapf-3.4",
+                "4.6": "yapf-3.5",
+                "4.7": "yapf-3.6",
+                "4.8": "yapf-3.7",
+                "4.9": "yapf-3.8",
+                "5.0": "yapf-3.9",
+                "5.1": "yapf-4.0",
             }
             for key, value in version_dict.items():
                 if existence(value):
                     # FIXME: This version reporting is slightly off
                     # FIXME: and only maps to the suffix.
-                    mypytox_version = key
-                    buildconfig._set_tool("yapf", value, mypytox_version)
+                    import yapf
+                    myyapf_version = yapf.__version__
+                    buildconfig._set_tool("yapf", value, myyapf_version)
                     return True
 
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]