From 903e7b736742a97cd46402a4915a9ab87f5dc075 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Doktor?= Date: Fri, 8 Dec 2023 09:07:05 +0100 Subject: [PATCH 1/3] requirements: Add setuptools MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit the setuptools are no longer defaults and need to be stated explicitly. Signed-off-by: Lukáš Doktor --- requirements-travis.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements-travis.txt b/requirements-travis.txt index 6338f48..da79ae9 100644 --- a/requirements-travis.txt +++ b/requirements-travis.txt @@ -1,2 +1,3 @@ +setuptools==69.0.2 pycodestyle==2.4.0 inspektor==0.5.3 From 3f9bb64915b8a80dce639e3c6c8a00ff278c38da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Doktor?= Date: Fri, 8 Dec 2023 09:19:29 +0100 Subject: [PATCH 2/3] requirements: Bump newer pycodestyle version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Lukáš Doktor --- requirements-travis.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-travis.txt b/requirements-travis.txt index da79ae9..631e876 100644 --- a/requirements-travis.txt +++ b/requirements-travis.txt @@ -1,3 +1,3 @@ setuptools==69.0.2 -pycodestyle==2.4.0 +pycodestyle==2.11.1 inspektor==0.5.3 From 45187d008b7a641ae6289b60d8ce38b39e918568 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Doktor?= Date: Fri, 8 Dec 2023 09:25:06 +0100 Subject: [PATCH 3/3] style: Ignore long-line MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Lukáš Doktor --- aexpect/ops_windows.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aexpect/ops_windows.py b/aexpect/ops_windows.py index 8c10f33..dc0798b 100644 --- a/aexpect/ops_windows.py +++ b/aexpect/ops_windows.py @@ -503,6 +503,7 @@ def find_unused_port(session, start_port=10024): :returns: unused port that was found :rtype: int """ + # pylint: disable=C0301 output = ps_cmd(session, f""" $port = {start_port} while($true) {{ @@ -521,6 +522,7 @@ def find_unused_port(session, start_port=10024): Write-Host "::unused=$port" """) + # pylint: enable=C0301 port = re.search(r"::unused=(\d+)", output).group(1) return int(port)