Skip to content

Commit

Permalink
Use idoimatic python variable definitions
Browse files Browse the repository at this point in the history
CURA-10720

Co-authored-by: Jaime van Kessel <nallath@gmail.com>
  • Loading branch information
casperlamboo and nallath authored Jul 25, 2023
1 parent 08327e3 commit 9acb2fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions UM/Settings/SettingDefinition.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ def __init__(self, key: str, container: Optional[DefinitionContainerInterface] =

self._i18n_catalog = i18n_catalog # type: Optional[i18nCatalog]

self._children = [] # type: List[SettingDefinition]
self._relations = [] # type: List[SettingRelation]
self._children: List[SettingDefinition] = []
self._relations: List[SettingRelation] = []

# Cached set of keys of ancestors. Used for fast lookups of ancestors.
self.__ancestors = set() # type: Set[str]
Expand Down

0 comments on commit 9acb2fa

Please sign in to comment.