From 612727cad7428ec4da2620cf781f340c01597b4f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 22 Jul 2026 15:35:34 +0000 Subject: [PATCH 1/2] Bump black from 24.4.2 to 26.3.1 Bumps [black](https://github.com/psf/black) from 24.4.2 to 26.3.1. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/24.4.2...26.3.1) --- updated-dependencies: - dependency-name: black dependency-version: 26.3.1 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- requirements-travis.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-travis.txt b/requirements-travis.txt index d25483c..a7a5e7f 100644 --- a/requirements-travis.txt +++ b/requirements-travis.txt @@ -2,4 +2,4 @@ setuptools==80.8.0 pycodestyle==2.13.0 inspektor==0.5.3 pytest==9.0.3 -black==24.4.2 +black==26.3.1 From 7100fe0382c0b336a813fa0bb4579556e76f9c10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Doktor?= Date: Wed, 22 Jul 2026 17:36:25 +0200 Subject: [PATCH 2/2] black reformat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit automated black reformat. Signed-off-by: Lukáš Doktor --- aexpect/ops_windows.py | 6 ++---- aexpect/rss_client.py | 2 +- aexpect/scripts/aexpect_helper.py | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/aexpect/ops_windows.py b/aexpect/ops_windows.py index e8124a3..3afd7ad 100644 --- a/aexpect/ops_windows.py +++ b/aexpect/ops_windows.py @@ -572,8 +572,7 @@ def curl(session, url, proxy_address=None, proxy_port=None, insecure=False): """ # extra indentation is not allowed within PS heredocs # pylint: disable=C0301 - skip_ssl_template = dedent( - """\ + skip_ssl_template = dedent("""\ Add-Type -Language CSharp @" namespace System.Net { @@ -588,8 +587,7 @@ def curl(session, url, proxy_address=None, proxy_port=None, insecure=False): } } "@; - [System.Net.Util]::Init()""" - ) + [System.Net.Util]::Init()""") # TODO: WebRequest (wrapper on top of System.Net.WebClient) is painfully slow # for some reason compared to the 3rd-party curl.exe tool, but let's use it for now. diff --git a/aexpect/rss_client.py b/aexpect/rss_client.py index c2137ee..d1c3f75 100644 --- a/aexpect/rss_client.py +++ b/aexpect/rss_client.py @@ -269,7 +269,7 @@ def _receive_msg(self, timeout=60): def _handle_transfer_error(self): # Save original exception - (_type, error, traceback) = sys.exc_info() + _type, error, traceback = sys.exc_info() try: # See if we can get an error message msg = self._receive_msg() diff --git a/aexpect/scripts/aexpect_helper.py b/aexpect/scripts/aexpect_helper.py index 6cbb609..3c9e473 100755 --- a/aexpect/scripts/aexpect_helper.py +++ b/aexpect/scripts/aexpect_helper.py @@ -81,7 +81,7 @@ def main(): # too-many-* pylint:disable=R0914,R0912,R0915 os.putenv("TERM", "dumb") server_log.info("Forking child process for command") - (shell_pid, shell_fd) = pty.fork() + shell_pid, shell_fd = pty.fork() if shell_pid == 0: # Child process: run the command in a subshell if len(command) > 255: