Add missing return type in Core constructors (#50884)

This commit is contained in:
Ruslan Sayfutdinov
2021-05-20 16:53:29 +01:00
committed by GitHub
parent cf228e3fe5
commit 391b2f8ccd
20 changed files with 29 additions and 25 deletions

View File

@@ -12,7 +12,7 @@ from . import template
class ScriptVariables:
"""Class to hold and render script variables."""
def __init__(self, variables: dict[str, Any]):
def __init__(self, variables: dict[str, Any]) -> None:
"""Initialize script variables."""
self.variables = variables
self._has_template: bool | None = None