diff options
author | mathieui <mathieui@mathieui.net> | 2021-07-05 22:40:21 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2021-07-05 22:42:18 +0200 |
commit | 35eafadb443d4e7276e39d4f177e68a3c8577566 (patch) | |
tree | ca9bb6d20f7461393466b90f8810f95320b43954 /slixmpp/features/feature_rosterver/rosterver.py | |
parent | af958fd1fe46d4a3f523ee3f4f103f15430b5fc2 (diff) | |
download | slixmpp-35eafadb443d4e7276e39d4f177e68a3c8577566.tar.gz slixmpp-35eafadb443d4e7276e39d4f177e68a3c8577566.tar.bz2 slixmpp-35eafadb443d4e7276e39d4f177e68a3c8577566.tar.xz slixmpp-35eafadb443d4e7276e39d4f177e68a3c8577566.zip |
features: fix typing
for an annoying mypy bug
Diffstat (limited to 'slixmpp/features/feature_rosterver/rosterver.py')
-rw-r--r-- | slixmpp/features/feature_rosterver/rosterver.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/slixmpp/features/feature_rosterver/rosterver.py b/slixmpp/features/feature_rosterver/rosterver.py index ae980388..1dea6878 100644 --- a/slixmpp/features/feature_rosterver/rosterver.py +++ b/slixmpp/features/feature_rosterver/rosterver.py @@ -1,4 +1,3 @@ - # Slixmpp: The Slick XMPP Library # Copyright (C) 2012 Nathanael C. Fritz # This file is part of Slixmpp. @@ -9,6 +8,7 @@ from slixmpp.stanza import StreamFeatures from slixmpp.features.feature_rosterver import stanza from slixmpp.xmlstream import register_stanza_plugin from slixmpp.plugins.base import BasePlugin +from typing import ClassVar, Set log = logging.getLogger(__name__) @@ -18,7 +18,7 @@ class FeatureRosterVer(BasePlugin): name = 'feature_rosterver' description = 'RFC 6121: Stream Feature: Roster Versioning' - dependences = set() + dependences: ClassVar[Set[str]] = set() stanza = stanza def plugin_init(self): |