Skip to content
This repository was archived by the owner on Dec 29, 2023. It is now read-only.

Commit baf4cbd

Browse files
committed
style: fix line length (flake8)
1 parent 49f1d98 commit baf4cbd

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

guiscrcpy/lib/check.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ def __init__(self, path=None):
108108

109109
def get_target_android_version(self, device_id=None):
110110
api = 5
111-
_proc = self.shell("getprop ro.build.version.release", device_id=device_id)
111+
_proc = self.shell(
112+
"getprop ro.build.version.release", device_id=device_id)
112113
_ecode = _proc.wait(10)
113114
if not _ecode:
114115
api = int(_proc.stdout.read().decode())

guiscrcpy/lib/mapper/mapper.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ def check_orientation(self):
7272
# process failed
7373
raise AdbRuntimeError(
7474
'adb failed with {ecode} when trying to '
75-
'execute command `adb shell dumpsys input`'.format(ecode=e_code))
75+
'execute command '
76+
'`adb shell dumpsys input`'.format(ecode=e_code))
7677
out, err = proc.communicate()
7778
out, err = out.decode(), err.decode()
7879
if 'SurfaceOrientation' in out:

0 commit comments

Comments
 (0)