aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mtest.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2023-02-01 15:57:35 -0500
committerEli Schwartz <eschwartz@archlinux.org>2023-02-01 17:01:30 -0500
commitd6b81307f66d4d20f7d2c9baac74a8449cad640a (patch)
treefafbd6801f3c6a0f6d5d1f48e3e8f67651d26f6d /mesonbuild/mtest.py
parent1000246d071be1cc1899080f55cab41646214a40 (diff)
downloadmeson-d6b81307f66d4d20f7d2c9baac74a8449cad640a.zip
meson-d6b81307f66d4d20f7d2c9baac74a8449cad640a.tar.gz
meson-d6b81307f66d4d20f7d2c9baac74a8449cad640a.tar.bz2
pylint 2.16: remove pointless parens around equality assignments
Given the construct `foo = (bar == baz)` some people like parentheses and some do not. They're pointless and don't mean anything, though. I don't feel this is particularly helpful to code clarity, tbh, and pylint now notices this and warns about it in our current pylint config. I think this is reasonable, so let's remove the odd parens.
Diffstat (limited to 'mesonbuild/mtest.py')
-rw-r--r--mesonbuild/mtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/mtest.py b/mesonbuild/mtest.py
index 1feb205..fca9ae0 100644
--- a/mesonbuild/mtest.py
+++ b/mesonbuild/mtest.py
@@ -411,7 +411,7 @@ class TAPParser:
yield self.Error('more than one plan found')
else:
num_tests = int(m.group(1))
- skipped = (num_tests == 0)
+ skipped = num_tests == 0
if m.group(2):
if m.group(2).upper().startswith('SKIP'):
if num_tests > 0: