diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 11373745b..bac09cb0a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/ambv/black - rev: 20.8b1 + rev: 22.3.0 hooks: - id: black types: [python] diff --git a/client/clip_client/client.py b/client/clip_client/client.py index f64cd5c0b..9436f25d4 100644 --- a/client/clip_client/client.py +++ b/client/clip_client/client.py @@ -34,8 +34,6 @@ def __init__(self, server: str): r = urlparse(server) _port = r.port _scheme = r.scheme - if not _port: - raise if not _scheme: raise except: