Skip to content

Commit

Permalink
Merge pull request #369 from hartwork/precommit-autoupdate
Browse files Browse the repository at this point in the history
pre-commit: Autoupdate
  • Loading branch information
hartwork authored Jan 11, 2025
2 parents e2a53d6 + a4c33bb commit 4e9c01e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.5
rev: v0.9.0
hooks:
- id: ruff
args:
Expand Down
3 changes: 1 addition & 2 deletions grub2_theme_preview/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,7 @@ def parse_command_line(argv):
dest="timeout_seconds",
type=timeout,
default=30,
help="set GRUB timeout in whole seconds or -1 to disable"
" (default: %(default)s seconds)",
help="set GRUB timeout in whole seconds or -1 to disable (default: %(default)s seconds)",
)
parser.add_argument(
"--add",
Expand Down
2 changes: 1 addition & 1 deletion grub2_theme_preview/tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def path_inserted(path):
Context manager that inserts ``path`` at the start of ``${PATH}``
"""
original_path = os.environ["PATH"]
new_path = f'{path}{os.pathsep}{os.environ["PATH"]}'
new_path = f"{path}{os.pathsep}{os.environ['PATH']}"

os.environ["PATH"] = new_path
try:
Expand Down

0 comments on commit 4e9c01e

Please sign in to comment.