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:
@@ -23,7 +23,7 @@ class TestPluginsClient:
|
||||
with warnings.catch_warnings(record=True) as w:
|
||||
client = AsyncOpenSearch()
|
||||
# testing double-init here
|
||||
client.plugins.__init__(client) # type: ignore
|
||||
client.plugins.__init__(client) # type: ignore # pylint: disable=unnecessary-dunder-call
|
||||
assert (
|
||||
str(w[0].message)
|
||||
== "Cannot load `alerting` directly to AsyncOpenSearch as it already exists. Use "
|
||||
|
||||
Reference in New Issue
Block a user