From 454e323d3d3e93dffb01e0b130a0784165853ecc Mon Sep 17 00:00:00 2001 From: Daniel Mensinger Date: Wed, 4 Dec 2019 13:22:45 +0100 Subject: lgtm: ignore Non-standard exception raised in special method --- mesonbuild/compilers/compilers.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mesonbuild/compilers/compilers.py') diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py index 3400c48..14e6f2d 100644 --- a/mesonbuild/compilers/compilers.py +++ b/mesonbuild/compilers/compilers.py @@ -646,13 +646,13 @@ class CompilerArgs(list): return new def __mul__(self, args): - raise TypeError("can't multiply compiler arguments") + raise TypeError("can't multiply compiler arguments") # lgtm[py/unexpected-raise-in-special-method] def __imul__(self, args): - raise TypeError("can't multiply compiler arguments") + raise TypeError("can't multiply compiler arguments") # lgtm[py/unexpected-raise-in-special-method] def __rmul__(self, args): - raise TypeError("can't multiply compiler arguments") + raise TypeError("can't multiply compiler arguments") # lgtm[py/unexpected-raise-in-special-method] def append(self, arg): self.__iadd__([arg]) -- cgit v1.1