Fix lint issues

This commit is contained in:
Pedro Algarvio 2024-05-08 20:43:21 +01:00
parent e89da8a76d
commit 649bde9c28
No known key found for this signature in database
GPG key ID: BB36BF6584A298FF
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