summaryrefslogtreecommitdiff
path: root/SCons/EnvironmentValues.py
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2023-05-03 20:41:15 -0700
committerGitHub <noreply@github.com>2023-05-03 20:41:15 -0700
commit4997bbda807ebdbcd11b1282981c3abb81dd8ee1 (patch)
tree6199e98610c76c39efe59a4dc6e91d31e5a13e96 /SCons/EnvironmentValues.py
parent4c835c49219361b08f03b71d1f944e2e74f23545 (diff)
parent84859d565216af998f817e05d0696f3423bb7216 (diff)
downloadscons-git-4997bbda807ebdbcd11b1282981c3abb81dd8ee1.tar.gz
Merge branch 'master' into bug/msys-python
Diffstat (limited to 'SCons/EnvironmentValues.py')
-rw-r--r--SCons/EnvironmentValues.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/SCons/EnvironmentValues.py b/SCons/EnvironmentValues.py
index c5eb972c2..51368c915 100644
--- a/SCons/EnvironmentValues.py
+++ b/SCons/EnvironmentValues.py
@@ -72,7 +72,7 @@ class EnvironmentValue:
Hold a single value. We're going to cache parsed version of the file
We're going to keep track of variables which feed into this values evaluation
"""
- def __init__(self, value):
+ def __init__(self, value) -> None:
self.value = value
self.var_type = ValueTypes.UNKNOWN
@@ -82,7 +82,7 @@ class EnvironmentValue:
self.parse_value()
- def parse_value(self):
+ def parse_value(self) -> None:
"""
Scan the string and break into component values
"""
@@ -99,7 +99,7 @@ class EnvironmentValue:
# likely callable? either way we don't parse
self._parsed = self.value
- def parse_trial(self):
+ def parse_trial(self) -> None:
"""
Try alternate parsing methods.
:return:
@@ -113,7 +113,7 @@ class EnvironmentValues:
"""
A class to hold all the environment variables
"""
- def __init__(self, **kw):
+ def __init__(self, **kw) -> None:
self._dict = {}
for k in kw:
self._dict[k] = EnvironmentValue(kw[k])