Skip to content

Commit

Permalink
Merge pull request #985 from risuorg/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
iranzo authored Feb 11, 2025
2 parents b9033ee + e501eb7 commit a4e7428
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ repos:
stages:
- commit-msg
repo: https://github.com/commitizen-tools/commitizen
rev: v4.1.0
rev: v4.2.1
- hooks:
- id: check-useless-excludes
repo: meta
Expand All @@ -18,7 +18,7 @@ repos:
- hooks:
- id: black
repo: https://github.com/python/black
rev: 24.10.0
rev: 25.1.0
- hooks:
- id: check-added-large-files
args: [--maxkb=10000]
Expand Down Expand Up @@ -51,7 +51,7 @@ repos:
rev: v5.0.0
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.8.3
rev: v0.9.6
hooks:
# Run the linter.
- id: ruff
Expand Down
2 changes: 1 addition & 1 deletion risuclient/shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -1059,7 +1059,7 @@ def parse_args(default=False, parse=False):
g.add_argument(
"-v",
"--verbose",
help=_("Increase verbosity of output (may be " "specified more than once)"),
help=_("Increase verbosity of output (may be specified more than once)"),
default=0,
action="count",
)
Expand Down
2 changes: 1 addition & 1 deletion risuclient/tools/dmidecode.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def _get_output():

try:
output = subprocess.check_output(
"PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin " "sudo dmidecode",
"PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin sudo dmidecode",
shell=True,
)
except Exception as e:
Expand Down

0 comments on commit a4e7428

Please sign in to comment.