From 964c81c33f550fb4984a2f5ba5b9fb5114396e0d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 6 Oct 2026 09:00:32 +0000 Subject: [PATCH 1/2] build(deps-dev): Bump pylint from 4.0.9 to 4.1.1 Bumps [pylint](https://github.com/pylint-dev/pylint) from 4.0.9 to 4.1.1. - [Release notes](https://github.com/pylint-dev/pylint/releases) - [Commits](https://github.com/pylint-dev/pylint/compare/v4.0.9...v4.1.1) --- updated-dependencies: - dependency-name: pylint dependency-version: 4.1.1 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 360ae8f5..1b15f2dd 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -4,7 +4,7 @@ flit==4.1.0 pytest==9.1.1 responses==0.26.3 python_dotenv==1.2.4 -pylint==4.0.9 +pylint==4.1.1 # code coverage coverage==7.16.2 pytest-cov==7.1.0 From a76010748838f39eefcea80f31dc7caa1b216571 Mon Sep 17 00:00:00 2001 From: Veronika Al Raheem Date: Tue, 6 Oct 2026 15:41:40 +0200 Subject: [PATCH 2/2] chore: use chained comparisons --- ibmcloudant/features/changes_follower.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ibmcloudant/features/changes_follower.py b/ibmcloudant/features/changes_follower.py index 1da8065a..6ed8c47b 100644 --- a/ibmcloudant/features/changes_follower.py +++ b/ibmcloudant/features/changes_follower.py @@ -361,10 +361,8 @@ def __init__( call_timeout, read_timeout = timeouts call_timeout, read_timeout = call_timeout * 1000, read_timeout * 1000 if ( - call_timeout > 0 - and call_timeout < _MIN_CLIENT_TIMEOUT - or read_timeout > 0 - and read_timeout < _MIN_CLIENT_TIMEOUT + 0 < call_timeout < _MIN_CLIENT_TIMEOUT + or 0 < read_timeout < _MIN_CLIENT_TIMEOUT ): raise ValueError( 'To use {} the client read and call timeouts must be at least'