Skip to content

Commit 42179a9

Browse files
committed
Linter flake8-print is using a different error code since v5.0
1 parent 154163d commit 42179a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,14 +149,14 @@ def communicate_error(self, e, modal=True):
149149
if isinstance(e, subprocess.CalledProcessError):
150150
user_msg += "\n\n{0}".format(e.output.decode())
151151

152-
print() # noqa: T001
152+
print() # noqa: T201
153153
if modal:
154154
sublime.error_message(user_msg)
155155
else:
156156
sublime.status_message(user_msg)
157157
# Unlike with the error dialog, a status message is not automatically
158158
# persisted in the console too.
159-
print(user_msg) # noqa: T001
159+
print(user_msg) # noqa: T201
160160

161161
@classmethod
162162
def phantom_set_key(cls):

0 commit comments

Comments
 (0)