summary refs log tree commit diff
path: root/stubs
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2023-01-12 10:52:07 +0000
committerGitHub <noreply@github.com>2023-01-12 10:52:07 +0000
commitb50c008453001aee8dd7dbd6f36ec32039e6ce76 (patch)
tree504eda353912088f59a27f80d0c7a2f2217b4725 /stubs
parentAdd `set_displayname` to the module API (#14629) (diff)
downloadsynapse-b50c008453001aee8dd7dbd6f36ec32039e6ce76.tar.xz
Re-enable some linting (#14821)
* Re-enable some linting

* Newsfile

* Remove comment
Diffstat (limited to 'stubs')
-rw-r--r--stubs/sortedcontainers/sortedlist.pyi1
-rw-r--r--stubs/sortedcontainers/sortedset.pyi2
-rw-r--r--stubs/synapse/synapse_rust/push.pyi2
3 files changed, 1 insertions, 4 deletions
diff --git a/stubs/sortedcontainers/sortedlist.pyi b/stubs/sortedcontainers/sortedlist.pyi
index cd4c969849..1fe1a136f1 100644
--- a/stubs/sortedcontainers/sortedlist.pyi
+++ b/stubs/sortedcontainers/sortedlist.pyi
@@ -7,7 +7,6 @@ from __future__ import annotations
 from typing import (
     Any,
     Callable,
-    Generic,
     Iterable,
     Iterator,
     List,
diff --git a/stubs/sortedcontainers/sortedset.pyi b/stubs/sortedcontainers/sortedset.pyi
index d761c438f7..6db11eacbe 100644
--- a/stubs/sortedcontainers/sortedset.pyi
+++ b/stubs/sortedcontainers/sortedset.pyi
@@ -5,10 +5,8 @@
 from __future__ import annotations
 
 from typing import (
-    AbstractSet,
     Any,
     Callable,
-    Generic,
     Hashable,
     Iterable,
     Iterator,
diff --git a/stubs/synapse/synapse_rust/push.pyi b/stubs/synapse/synapse_rust/push.pyi
index b91f2edd7b..373b40740b 100644
--- a/stubs/synapse/synapse_rust/push.pyi
+++ b/stubs/synapse/synapse_rust/push.pyi
@@ -12,7 +12,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-from typing import Any, Collection, Dict, Mapping, Optional, Sequence, Set, Tuple, Union
+from typing import Any, Collection, Dict, Mapping, Optional, Sequence, Tuple, Union
 
 from synapse.types import JsonDict