Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mehrdadh committed Nov 7, 2022
1 parent 1581c34 commit e23bbc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/tvm/micro/project_api/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,14 @@ def is_shutdown(self):
return self.read_file.closed

def shutdown(self):
if self.is_shutdown:
if self.is_shutdown: # pylint: disable=C0103
return

self.read_file.close()
self.write_file.close()

def _request_reply(self, method, params):
if self.is_shutdown:
if self.is_shutdown: # pylint: disable=C0103
raise ConnectionShutdownError("connection already closed")

request = {
Expand Down

0 comments on commit e23bbc2

Please sign in to comment.