aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2019-12-04 13:22:45 +0100
committerJussi Pakkanen <jpakkane@gmail.com>2019-12-05 00:22:10 +0200
commit454e323d3d3e93dffb01e0b130a0784165853ecc (patch)
tree0e62f745ffdbd4e5fa67cd143b0b5df7c687098c /mesonbuild/compilers
parentfa4de71faf28d039432ecd28a9965675b794a932 (diff)
downloadmeson-454e323d3d3e93dffb01e0b130a0784165853ecc.zip
meson-454e323d3d3e93dffb01e0b130a0784165853ecc.tar.gz
meson-454e323d3d3e93dffb01e0b130a0784165853ecc.tar.bz2
lgtm: ignore Non-standard exception raised in special method
Diffstat (limited to 'mesonbuild/compilers')
-rw-r--r--mesonbuild/compilers/compilers.py6
1 files changed, 3 insertions, 3 deletions
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])