Skip to content

Commit 0eb4bac

Browse files
chore(deps): update pre-commit hooks (#280)
* chore(deps): update pre-commit hooks updates: - [github.com/astral-sh/ruff-pre-commit: v0.11.12 → v0.12.7](astral-sh/ruff-pre-commit@v0.11.12...v0.12.7) - [github.com/rbubley/mirrors-prettier: v3.5.3 → v3.6.2](rbubley/mirrors-prettier@v3.5.3...v3.6.2) - [github.com/pre-commit/mirrors-mypy: v1.16.0 → v1.17.1](pre-commit/mirrors-mypy@v1.16.0...v1.17.1) - [github.com/henryiii/validate-pyproject-schema-store: 2025.05.12 → 2025.07.28](henryiii/validate-pyproject-schema-store@2025.05.12...2025.07.28) - [github.com/python-jsonschema/check-jsonschema: 0.33.0 → 0.33.2](python-jsonschema/check-jsonschema@0.33.0...0.33.2) * chore: update for ruff updates Signed-off-by: Henry Schreiner <[email protected]> --------- Signed-off-by: Henry Schreiner <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Henry Schreiner <[email protected]>
1 parent 04ad3d5 commit 0eb4bac

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ repos:
1111
additional_dependencies: [black==24.*]
1212

1313
- repo: https://github.com/astral-sh/ruff-pre-commit
14-
rev: "v0.11.12"
14+
rev: "v0.12.7"
1515
hooks:
16-
- id: ruff
16+
- id: ruff-check
1717
args: ["--fix", "--show-fixes"]
1818
- id: ruff-format
1919

2020
- repo: https://github.com/rbubley/mirrors-prettier
21-
rev: "v3.5.3"
21+
rev: "v3.6.2"
2222
hooks:
2323
- id: prettier
2424
types_or: [yaml, markdown, html, css, scss, javascript, json]
@@ -45,7 +45,7 @@ repos:
4545
- id: rst-inline-touching-normal
4646

4747
- repo: https://github.com/pre-commit/mirrors-mypy
48-
rev: v1.16.0
48+
rev: v1.17.1
4949
hooks:
5050
- id: mypy
5151
files: (src|web|tests)
@@ -79,12 +79,12 @@ repos:
7979
exclude: .pre-commit-config.yaml
8080

8181
- repo: https://github.com/henryiii/validate-pyproject-schema-store
82-
rev: 2025.05.12
82+
rev: 2025.07.28
8383
hooks:
8484
- id: validate-pyproject
8585

8686
- repo: https://github.com/python-jsonschema/check-jsonschema
87-
rev: 0.33.0
87+
rev: 0.33.2
8888
hooks:
8989
- id: check-dependabot
9090
- id: check-github-workflows

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ extend-select = [
227227
"T20", # flake8-print
228228
"UP", # pyupgrade
229229
"YTT", # flake8-2020
230+
230231
]
231232
ignore = [
232233
"ISC001", # May collide with formatter

src/repo_review/ghpath.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ class GHPath(Traversable):
5050
def open_url(url: str) -> io.StringIO:
5151
"This method can be overridden manually for WASM. Supports pyodide currently."
5252
if sys.platform == "emscripten":
53-
import pyodide.http
53+
import pyodide.http # noqa: PLC0415
5454

5555
return pyodide.http.open_url(url)
5656

57-
import urllib.request # pylint: disable=import-outside-toplevel
57+
import urllib.request # noqa: PLC0415
5858

5959
with urllib.request.urlopen(url) as response:
6060
return io.StringIO(response.read().decode("utf-8"))

0 commit comments

Comments
 (0)