From 4f59ca490072a45dce5839e6397791d79dcf3352 Mon Sep 17 00:00:00 2001 From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Date: Sun, 28 Nov 2021 18:54:40 -0800 Subject: [PATCH] Fix new lint warning (#11635) 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 6bae241a801e..e0d926f3fcf4 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).