Update mypy to 1.12.0 (#12859)

This commit is contained in:
Sebastian Rittau
2024-10-19 17:45:38 +02:00
committed by GitHub
parent 890a38f424
commit ebdd2c528d
8 changed files with 23 additions and 43 deletions

View File

@@ -30,10 +30,3 @@ networkx\.algorithms\.bipartite\.(cluster\.)?clustering
# failing to account for explicitly passing in the default value."
# Which is true, but would require some way of concatenating `backend` to ParamSpec.kwargs
networkx\.(utils\.)?(backends\.)?_dispatchable\.__call__
# TODO: stubtest does not like @cached_property https://github.com/python/mypy/issues/17625
# "is inconsistent, cannot reconcile @property on stub with runtime object"
networkx(\.classes(\.graph)?)?\.Graph\.(adj|degree|edges|nodes)
networkx(\.classes(\.multigraph)?)?\.MultiGraph\.(adj|degree|edges)
networkx(\.classes(\.digraph)?)?\.DiGraph\.(adj|degree|edges|in_degree|in_edges|out_degree|out_edges|pred|succ)
networkx(\.classes(\.multidigraph)?)?\.MultiDiGraph\.(adj|degree|edges|in_degree|in_edges|out_degree|out_edges|pred|succ)