Skip to content

Commit

Permalink
Merge pull request #66500 from s0undt3ch/hotfix/3006.x-fixes
Browse files Browse the repository at this point in the history
[3006.x] Fix lint issues
  • Loading branch information
s0undt3ch committed May 10, 2024
2 parents e89da8a + 649bde9 commit 65c65aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ class TestServer(salt.ext.tornado.tcpserver.TCPServer):
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)
Expand Down
2 changes: 1 addition & 1 deletion tests/pytests/unit/utils/parsers/test_saltfile_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Tests the SaltfileMixIn.
"""

import optparse
import optparse # pylint: disable=deprecated-module
import shutil

import pytest
Expand Down

0 comments on commit 65c65aa

Please sign in to comment.