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' 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