Skip to content

Commit 5e63a31

Browse files
chore(deps): update pre-commit hooks (#248)
* chore(deps): update pre-commit hooks updates: - [github.com/astral-sh/ruff-pre-commit: v0.7.2 → v0.8.1](astral-sh/ruff-pre-commit@v0.7.2...v0.8.1) - [github.com/rbubley/mirrors-prettier: v3.3.3 → v3.4.1](rbubley/mirrors-prettier@v3.3.3...v3.4.1) - [github.com/henryiii/validate-pyproject-schema-store: 2024.10.21 → 2024.11.25](henryiii/validate-pyproject-schema-store@2024.10.21...2024.11.25) - [github.com/python-jsonschema/check-jsonschema: 0.29.4 → 0.30.0](python-jsonschema/check-jsonschema@0.29.4...0.30.0) * style: pre-commit fixes * Update pyproject.toml --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
1 parent 1fa820d commit 5e63a31

File tree

8 files changed

+12
-13
lines changed

8 files changed

+12
-13
lines changed

.pre-commit-config.yaml

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

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

2020
- repo: https://github.com/rbubley/mirrors-prettier
21-
rev: "v3.3.3"
21+
rev: "v3.4.1"
2222
hooks:
2323
- id: prettier
2424
types_or: [yaml, markdown, html, css, scss, javascript, json]
@@ -79,12 +79,12 @@ repos:
7979
exclude: .pre-commit-config.yaml
8080

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

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

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,6 @@ extend-select = [
204204
]
205205
ignore = [
206206
"ISC001", # May collide with formatter
207-
"PT004", # Incorrect check, usefixtures is the correct way to do this
208207
"PLR09", # Too many X
209208
"PLR2004", # Magic value in comparison
210209
]

src/repo_review/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
from .html import to_html
3535
from .processor import Result, as_simple_dict, collect_all, process
3636

37-
__all__ = ["main", "Formats", "Show", "Status"]
37+
__all__ = ["Formats", "Show", "Status", "main"]
3838

3939
CODE_THEME = "ansi_light"
4040

src/repo_review/checks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
from .fixtures import apply_fixtures
88

9-
__all__ = ["Check", "collect_checks", "is_allowed", "get_check_url"]
9+
__all__ = ["Check", "collect_checks", "get_check_url", "is_allowed"]
1010

1111

1212
def __dir__() -> list[str]:

src/repo_review/fixtures.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
from .ghpath import EmptyTraversable
1313

1414
__all__ = [
15-
"pyproject",
16-
"list_all",
17-
"compute_fixtures",
1815
"apply_fixtures",
1916
"collect_fixtures",
17+
"compute_fixtures",
18+
"list_all",
19+
"pyproject",
2020
]
2121

2222

src/repo_review/ghpath.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
from ._compat.importlib.resources.abc import Traversable
1616

17-
__all__ = ["GHPath", "EmptyTraversable"]
17+
__all__ = ["EmptyTraversable", "GHPath"]
1818

1919

2020
def __dir__() -> list[str]:

src/repo_review/processor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
"ResultDict",
3131
"as_simple_dict",
3232
"collect_all",
33-
"process",
3433
"md_as_html",
34+
"process",
3535
]
3636

3737

src/repo_review/testing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from .fixtures import apply_fixtures
1414
from .processor import Result
1515

16-
__all__ = ["toml_loads", "compute_check"]
16+
__all__ = ["compute_check", "toml_loads"]
1717

1818

1919
def __dir__() -> list[str]:

0 commit comments

Comments
 (0)