Skip to content

Commit d33ecd3

Browse files
committed
fix: Remove unused global declaration
Remove the global declaration for 'has_shown_yaml_error_message'. This variable was deleted in a previous change, but the declaration was left behind by mistake. This fixes flake8 error F824.
1 parent fe41f2d commit d33ecd3

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

cumulusci/utils/yaml/cumulusci_yml.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,6 @@ class ErrorDict(TypedDict):
280280

281281
def _log_yaml_errors(logger, errors: List[ErrorDict]):
282282
"Format and log a Pydantic-style error dictionary"
283-
global has_shown_yaml_error_message
284283
plural = "" if len(errors) <= 1 else "s"
285284
logger.warning(f"CumulusCI Configuration Warning{plural}:")
286285
for error in errors:

0 commit comments

Comments
 (0)