From 4ddab51d1b1a35e93111a8754bf393f127011d30 Mon Sep 17 00:00:00 2001 From: hauntsaninja <> Date: Sun, 28 Nov 2021 17:49:37 -0800 Subject: [PATCH] Fix new lint warning Looks like there was a new release of flake8-bugbear --- mypy/join.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mypy/join.py b/mypy/join.py index 6bae241a801e1..e0d926f3fcf4d 100644 --- a/mypy/join.py +++ b/mypy/join.py @@ -29,7 +29,7 @@ def join_instances(self, t: Instance, s: Instance) -> ProperType: self.seen_instances.append((t, s)) - """Calculate the join of two instance types.""" + # Calculate the join of two instance types if t.type == s.type: # Simplest case: join two types with the same base type (but # potentially different arguments).