Skip to content

Commit

Permalink
chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.9…
Browse files Browse the repository at this point in the history
….0 (#393)

* chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.9.0

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] and pre-commit-ci[bot] authored Jan 9, 2025
1 parent 1dfe174 commit 8ad6b3b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ repos:
hooks:
- id: yamllint
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.6
rev: v0.9.0
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
4 changes: 2 additions & 2 deletions weblate_schemas/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ def translation(self) -> str:
@property
def summary(self) -> str:
"""Return the message summary."""
user = f" done by { self.user }" if self.user else ""
return f"{ self.action } event{user} occurred in { self.timestamp }."
user = f" done by {self.user}" if self.user else ""
return f"{self.action} event{user} occurred in {self.timestamp}."

@property
def usernames(self) -> list[str]:
Expand Down

0 comments on commit 8ad6b3b

Please sign in to comment.