From 35eafadb443d4e7276e39d4f177e68a3c8577566 Mon Sep 17 00:00:00 2001 From: mathieui Date: Mon, 5 Jul 2021 22:40:21 +0200 Subject: features: fix typing for an annoying mypy bug --- slixmpp/features/feature_bind/bind.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'slixmpp/features/feature_bind/bind.py') diff --git a/slixmpp/features/feature_bind/bind.py b/slixmpp/features/feature_bind/bind.py index 6c30d9f2..75bbcfa2 100644 --- a/slixmpp/features/feature_bind/bind.py +++ b/slixmpp/features/feature_bind/bind.py @@ -1,4 +1,3 @@ - # Slixmpp: The Slick XMPP Library # Copyright (C) 2011 Nathanael C. Fritz # This file is part of Slixmpp. @@ -11,6 +10,7 @@ from slixmpp.stanza import Iq, StreamFeatures from slixmpp.features.feature_bind import stanza from slixmpp.xmlstream import register_stanza_plugin from slixmpp.plugins import BasePlugin +from typing import ClassVar, Set log = logging.getLogger(__name__) @@ -20,7 +20,7 @@ class FeatureBind(BasePlugin): name = 'feature_bind' description = 'RFC 6120: Stream Feature: Resource Binding' - dependencies = set() + dependencies: ClassVar[Set[str]] = set() stanza = stanza def plugin_init(self): -- cgit v1.2.3