Merge pull request #66500 from s0undt3ch/hotfix/3006.x-fixes

[3006.x] Fix lint issues
This commit is contained in:
Pedro Algarvio 2024-05-10 12:49:07 +01:00 committed by GitHub
commit 65c65aae12
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View file

@ -25,7 +25,9 @@ def server(config):
send = []
disconnect = False
async def handle_stream(self, stream, address):
async def handle_stream( # pylint: disable=invalid-overridden-method
self, stream, address
):
while self.disconnect is False:
for msg in self.send[:]:
msg = self.send.pop(0)

View file

@ -2,7 +2,7 @@
Tests the SaltfileMixIn.
"""
import optparse
import optparse # pylint: disable=deprecated-module
import shutil
import pytest