Skip to content

Commit

Permalink
Fix type hints.
Browse files Browse the repository at this point in the history
  • Loading branch information
domdfcoding committed Nov 12, 2020
1 parent bce178c commit 4ea9f1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repo_helper/configuration/conda_anaconda.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class conda_extras(ConfigVar): # noqa

@classmethod
def validate(cls, raw_config_vars: Optional[Dict[str, Any]] = None) -> List[str]:
extras = list(filter(None, super().validate(raw_config_vars)))
extras: List[str] = list(filter(None, super().validate(raw_config_vars)))

if "all" in extras and "none" in extras:
raise ValueError("'all' and 'none' are mutually exclusive.")
Expand Down

0 comments on commit 4ea9f1f

Please sign in to comment.