We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a38795 commit 53429feCopy full SHA for 53429fe
repo_helper/configuration/python_versions_.py
@@ -77,7 +77,9 @@ class requires_python(ConfigVar): # noqa
77
78
@classmethod
79
def validate(cls, raw_config_vars: Optional[RawConfigVarsType] = None) -> Any:
80
- if cls.__name__ in raw_config_vars:
+ if raw_config_vars is None:
81
+ return None
82
+ elif cls.__name__ in raw_config_vars:
83
return super().validate(raw_config_vars)
84
else:
85
return None
0 commit comments