Skip to content

Commit

Permalink
Update pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
danyeaw authored and nacho committed Nov 15, 2023
1 parent a0289b4 commit 434a7f3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
repos:
- repo: https://github.com/psf/black
rev: 23.1.0
rev: 23.11.0
hooks:
- id: black
language_version: python3
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: check-yaml
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.9.0.2
rev: v0.9.0.6
hooks:
- id: shellcheck
args: [--exclude, SC1017]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.0.1
rev: v1.7.0
hooks:
- id: mypy
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: 'v0.0.242'
rev: 'v0.1.5'
hooks:
- id: ruff
args: [--fix]
2 changes: 1 addition & 1 deletion gvsbuild/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ def build(
log.debug("Options are:")
for co in sorted(opts.__dict__.keys()):
v = opts.__dict__[co]
pv = f"'{v}'" if type(v) is str else repr(v)
pv = f"'{v}'" if isinstance(v, str) else repr(v)
log.message_indent(f"'{co}': {pv}, ")
builder = Builder(opts)
builder.preprocess()
Expand Down

0 comments on commit 434a7f3

Please sign in to comment.