Skip to content

Commit

Permalink
Update .pre-commit-config.yaml (#424)
Browse files Browse the repository at this point in the history
  • Loading branch information
juancarlospaco committed May 4, 2024
1 parent 44f3672 commit 82a9e9b
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
@@ -1,7 +1,7 @@
exclude: '^.*\.(md|MD)$'
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
rev: v4.5.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/PyCQA/autoflake.git
rev: v2.2.1
rev: v2.3.1
hooks:
- id: autoflake
args:
Expand All @@ -36,19 +36,19 @@ repos:
]

- repo: https://github.com/psf/black
rev: "23.1.0"
rev: "24.4.0"
hooks:
- id: black
args: [--line-length, "90"]

- 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 postgrest/base_request_builder.py
Expand Up @@ -531,9 +531,9 @@ def explain(
if key not in ["self", "format"] and value
]
options_str = "|".join(options)
self.headers[
"Accept"
] = f"application/vnd.pgrst.plan+{format}; options={options_str}"
self.headers["Accept"] = (
f"application/vnd.pgrst.plan+{format}; options={options_str}"
)
return self

def order(
Expand Down

0 comments on commit 82a9e9b

Please sign in to comment.