Skip to content

Commit 82a9e9b

Browse files
Update .pre-commit-config.yaml (#424)
1 parent 44f3672 commit 82a9e9b

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
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.1.0
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/PyCQA/autoflake.git
28-
rev: v2.2.1
28+
rev: v2.3.1
2929
hooks:
3030
- id: autoflake
3131
args:
@@ -36,19 +36,19 @@ repos:
3636
]
3737

3838
- repo: https://github.com/psf/black
39-
rev: "23.1.0"
39+
rev: "24.4.0"
4040
hooks:
4141
- id: black
4242
args: [--line-length, "90"]
4343

4444
- repo: https://github.com/asottile/pyupgrade
45-
rev: v2.31.0
45+
rev: v3.15.2
4646
hooks:
4747
- id: pyupgrade
4848
args: ["--py37-plus", "--keep-runtime-typing"]
4949

5050
- repo: https://github.com/commitizen-tools/commitizen
51-
rev: v2.20.3
51+
rev: v3.22.0
5252
hooks:
5353
- id: commitizen
5454
stages: [commit-msg]

postgrest/base_request_builder.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -531,9 +531,9 @@ def explain(
531531
if key not in ["self", "format"] and value
532532
]
533533
options_str = "|".join(options)
534-
self.headers[
535-
"Accept"
536-
] = f"application/vnd.pgrst.plan+{format}; options={options_str}"
534+
self.headers["Accept"] = (
535+
f"application/vnd.pgrst.plan+{format}; options={options_str}"
536+
)
537537
return self
538538

539539
def order(

0 commit comments

Comments
 (0)