Skip to content

Commit

Permalink
Add NOQA comment to ignore E721 flake8 warning
Browse files Browse the repository at this point in the history
  • Loading branch information
wkentaro committed Aug 2, 2024
1 parent e4e5f66 commit 64075d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion labelme/cli/on_docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def get_ip():
elif dist == "Darwin":
cmd = "ifconfig en0"
output = subprocess.check_output(shlex.split(cmd))
if str != bytes: # Python3
if str != bytes: # noqa: E721
output = output.decode("utf-8")
for row in output.splitlines():
cols = row.strip().split(" ")
Expand Down

0 comments on commit 64075d3

Please # to comment.