Skip to content

Commit

Permalink
Merge pull request #192 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 8e38c1c + 08e6473 commit 22e424a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ jobs:
- name: Run pre-commit on all files
run: |-
pre-commit run --all-files
pre-commit run --all-files --show-diff-on-failure
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ repos:
exclude: '\.wxf$'

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.5
rev: v0.9.0
hooks:
- id: ruff
args:
Expand Down
4 changes: 2 additions & 2 deletions xiangqi_setup/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,15 +206,15 @@ def main():
dest="width_centimeter",
metavar="CENTIMETER",
type=float,
help=("width of the output in centimeters" f" (default: {_DEFAULT_WIDTH_CM})"),
help=(f"width of the output in centimeters (default: {_DEFAULT_WIDTH_CM})"),
)
scaling_options.add_argument(
"--dpi",
dest="resolution_dpi",
metavar="FLOAT",
type=float,
default=_DEFAULT_RESOLUTION_DPI,
help=("resolution of the output in dots per inch" " (default: %(default)s)"),
help=("resolution of the output in dots per inch (default: %(default)s)"),
)
scaling_options.add_argument(
"--scale-pieces",
Expand Down

0 comments on commit 22e424a

Please sign in to comment.