added unnecessary-dunder-call to pylintrc files; disabled for certain lines (#655)
in run_tests.py, exception thrown by 'git remote add origin' when the remote already exists will not exit Signed-off-by: Mark Cohen <[email protected]>
This commit is contained in:
@@ -17,7 +17,7 @@ class TestPluginsClient(TestCase):
|
||||
with self.assertWarns(Warning) as w:
|
||||
client = OpenSearch()
|
||||
# double-init
|
||||
client.plugins.__init__(client) # type: ignore
|
||||
client.plugins.__init__(client) # type: ignore # pylint: disable=unnecessary-dunder-call
|
||||
self.assertEqual(
|
||||
str(w.warnings[0].message),
|
||||
"Cannot load `alerting` directly to OpenSearch as "
|
||||
|
||||
Reference in New Issue
Block a user