Skip to content

Commit f57f334

Browse files
author
NengoBones
committed
Automatic update to NengoBones 74e4a2b
74e4a2b - Remove leading zeros from calver version string b63a566 - Add day to calver 4814457 - Update CI secrets
1 parent 699c563 commit f57f334

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

keras_lmu/version.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Automatically generated by nengo-bones, do not edit this file directly
22

3+
# pylint: disable=consider-using-f-string
4+
35
"""KerasLMU version information.
46
57
We use semantic versioning (see http://semver.org/)
@@ -15,9 +17,8 @@
1517

1618
# use old string formatting, so that this can still run in Python <= 3.5
1719
# (since this file is parsed in setup.py, before python_requires is applied)
18-
version = "{v}{dev}".format(
19-
v=".".join(str(v) for v in version_info),
20-
dev=(".dev%d" % dev) if dev is not None else "",
21-
)
20+
version = ".".join(str(v) for v in version_info)
21+
if dev is not None:
22+
version += ".dev%d" % dev
2223

2324
copyright = "Copyright (c) 2019-2021 Applied Brain Research"

0 commit comments

Comments
 (0)