Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#678)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.6.9 → v0.8.6](astral-sh/ruff-pre-commit@v0.6.9...v0.8.6)

* ignore

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Martin Fleischmann <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and martinfleis authored Jan 18, 2025
1 parent ef04e86 commit 930e9a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ files: "momepy\/|docs\/"
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit

rev: "v0.6.9"
rev: "v0.8.6"
hooks:
- id: ruff
- id: ruff-format
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def find_source():
if domain != "py" or not info["module"]:
return None
try:
filename = "momepy/%s#L%d-L%d" % find_source()
filename = "momepy/%s#L%d-L%d" % find_source() # noqa: UP031
except Exception:
filename = info["module"].replace(".", "/") + ".py"
tag = "main" if "+" in release else ("v" + release)
Expand Down

0 comments on commit 930e9a0

Please sign in to comment.