Skip to content

Commit 3201e5d

Browse files
Update .pre-commit-config.yaml (#93)
1 parent 1fb54a8 commit 3201e5d

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

.pre-commit-config.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
exclude: '^.*\.(md|MD)$'
22
repos:
33
- repo: https://github.com/pre-commit/pre-commit-hooks
4-
rev: v4.0.1
4+
rev: v4.5.0
55
hooks:
66
- id: trailing-whitespace
77
- id: check-added-large-files
@@ -10,7 +10,7 @@ repos:
1010
args: ["--fix=lf"]
1111

1212
- repo: https://github.com/pycqa/isort
13-
rev: 5.12.0
13+
rev: 5.13.2
1414
hooks:
1515
- id: isort
1616
args:
@@ -25,7 +25,7 @@ repos:
2525
]
2626

2727
- repo: https://github.com/myint/autoflake.git
28-
rev: v2.2.1
28+
rev: v2.3.1
2929
hooks:
3030
- id: autoflake
3131
args:
@@ -36,18 +36,18 @@ repos:
3636
]
3737

3838
- repo: https://github.com/psf/black
39-
rev: "23.3.0"
39+
rev: "24.4.0"
4040
hooks:
4141
- id: black
4242

4343
- repo: https://github.com/asottile/pyupgrade
44-
rev: v2.29.1
44+
rev: v3.15.1
4545
hooks:
4646
- id: pyupgrade
4747
args: ["--py37-plus", "--keep-runtime-typing"]
4848

4949
- repo: https://github.com/commitizen-tools/commitizen
50-
rev: v2.20.0
50+
rev: v3.22.0
5151
hooks:
5252
- id: commitizen
5353
stages: [commit-msg]

supabase_functions/__init__.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,13 @@
1111
@overload
1212
def create_client(
1313
url: str, headers: dict[str, str], *, is_async: Literal[True]
14-
) -> AsyncFunctionsClient:
15-
...
14+
) -> AsyncFunctionsClient: ...
1615

1716

1817
@overload
1918
def create_client(
2019
url: str, headers: dict[str, str], *, is_async: Literal[False]
21-
) -> SyncFunctionsClient:
22-
...
20+
) -> SyncFunctionsClient: ...
2321

2422

2523
def create_client(

0 commit comments

Comments
 (0)