From bae9b11da9ed7dd0b16fe5adeaf4774b7cc628cf Mon Sep 17 00:00:00 2001 From: James Falcon Date: Wed, 15 Dec 2021 20:16:38 -0600 Subject: Adopt Black and isort (SC-700) (#1157) Applied Black and isort, fixed any linting issues, updated tox.ini and CI. --- cloudinit/version.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'cloudinit/version.py') 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 -- cgit v1.2.3