Skip to content

Commit

Permalink
chore: update .pre-commit-config.yaml (#772)
Browse files Browse the repository at this point in the history
  • Loading branch information
juancarlospaco authored Apr 27, 2024
1 parent ad2fe1c commit f893cc8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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:
Expand All @@ -25,7 +25,7 @@ repos:
]

- repo: https://github.com/myint/autoflake.git
rev: v2.3.0
rev: v2.3.1
hooks:
- id: autoflake
args:
Expand All @@ -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]
6 changes: 3 additions & 3 deletions supabase/lib/client_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f893cc8

Please sign in to comment.