summaryrefslogtreecommitdiff
path: root/cloudinit/version.py
diff options
context:
space:
mode:
authorJames Falcon <james.falcon@canonical.com>2021-12-15 20:16:38 -0600
committerGitHub <noreply@github.com>2021-12-15 19:16:38 -0700
commitbae9b11da9ed7dd0b16fe5adeaf4774b7cc628cf (patch)
tree1fbb3269fc87e39832e3286ef42eefd2b23fcd44 /cloudinit/version.py
parent2bcf4fa972fde686c2e3141c58e640640b44dd00 (diff)
downloadvyos-cloud-init-bae9b11da9ed7dd0b16fe5adeaf4774b7cc628cf.tar.gz
vyos-cloud-init-bae9b11da9ed7dd0b16fe5adeaf4774b7cc628cf.zip
Adopt Black and isort (SC-700) (#1157)
Applied Black and isort, fixed any linting issues, updated tox.ini and CI.
Diffstat (limited to 'cloudinit/version.py')
-rw-r--r--cloudinit/version.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/cloudinit/version.py b/cloudinit/version.py
index ab93f902..6ad90bd3 100644
--- a/cloudinit/version.py
+++ b/cloudinit/version.py
@@ -5,20 +5,21 @@
# This file is part of cloud-init. See LICENSE file for license information.
__VERSION__ = "21.4"
-_PACKAGED_VERSION = '@@PACKAGED_VERSION@@'
+_PACKAGED_VERSION = "@@PACKAGED_VERSION@@"
FEATURES = [
# supports network config version 1
- 'NETWORK_CONFIG_V1',
+ "NETWORK_CONFIG_V1",
# supports network config version 2 (netplan)
- 'NETWORK_CONFIG_V2',
+ "NETWORK_CONFIG_V2",
]
def version_string():
"""Extract a version string from cloud-init."""
- if not _PACKAGED_VERSION.startswith('@@'):
+ if not _PACKAGED_VERSION.startswith("@@"):
return _PACKAGED_VERSION
return __VERSION__
+
# vi: ts=4 expandtab