diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0ecf8cb2..12501b2b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ exclude: '^.*\.(md|MD)$' repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.1.0 + rev: v4.6.0 hooks: - id: trailing-whitespace - id: check-added-large-files @@ -10,7 +10,7 @@ repos: args: ["--fix=lf"] - repo: https://github.com/pycqa/isort - rev: 5.12.0 + rev: 5.13.2 hooks: - id: isort args: @@ -25,7 +25,7 @@ repos: ] - repo: https://github.com/myint/autoflake.git - rev: v2.3.0 + rev: v2.3.1 hooks: - id: autoflake args: @@ -36,18 +36,18 @@ repos: ] - repo: https://github.com/psf/black - rev: "23.1.0" + rev: "24.4.0" hooks: - id: black - repo: https://github.com/asottile/pyupgrade - rev: v2.31.0 + rev: v3.15.2 hooks: - id: pyupgrade args: ["--py37-plus", "--keep-runtime-typing"] - repo: https://github.com/commitizen-tools/commitizen - rev: v2.20.3 + rev: v3.22.0 hooks: - id: commitizen stages: [commit-msg] diff --git a/supabase/lib/client_options.py b/supabase/lib/client_options.py index 0c55a159..fa75b2ca 100644 --- a/supabase/lib/client_options.py +++ b/supabase/lib/client_options.py @@ -34,9 +34,9 @@ class ClientOptions: realtime: Optional[Dict[str, Any]] = None """Options passed to the realtime-py instance""" - postgrest_client_timeout: Union[ - int, float, Timeout - ] = DEFAULT_POSTGREST_CLIENT_TIMEOUT + postgrest_client_timeout: Union[int, float, Timeout] = ( + DEFAULT_POSTGREST_CLIENT_TIMEOUT + ) """Timeout passed to the SyncPostgrestClient instance.""" storage_client_timeout: Union[int, float, Timeout] = DEFAULT_STORAGE_CLIENT_TIMEOUT