Skip to content

Commit

Permalink
chore(deps): update pre-commit hooks (#248)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and henryiii authored Dec 13, 2024
1 parent 1fa820d commit 5e63a31
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 13 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ repos:
additional_dependencies: [black==23.*]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.7.2"
rev: "v0.8.1"
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
- id: ruff-format

- repo: https://github.com/rbubley/mirrors-prettier
rev: "v3.3.3"
rev: "v3.4.1"
hooks:
- id: prettier
types_or: [yaml, markdown, html, css, scss, javascript, json]
Expand Down Expand Up @@ -79,12 +79,12 @@ repos:
exclude: .pre-commit-config.yaml

- repo: https://github.com/henryiii/validate-pyproject-schema-store
rev: 2024.10.21
rev: 2024.11.25
hooks:
- id: validate-pyproject

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.29.4
rev: 0.30.0
hooks:
- id: check-dependabot
- id: check-github-workflows
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@ extend-select = [
]
ignore = [
"ISC001", # May collide with formatter
"PT004", # Incorrect check, usefixtures is the correct way to do this
"PLR09", # Too many X
"PLR2004", # Magic value in comparison
]
Expand Down
2 changes: 1 addition & 1 deletion src/repo_review/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
from .html import to_html
from .processor import Result, as_simple_dict, collect_all, process

__all__ = ["main", "Formats", "Show", "Status"]
__all__ = ["Formats", "Show", "Status", "main"]

CODE_THEME = "ansi_light"

Expand Down
2 changes: 1 addition & 1 deletion src/repo_review/checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from .fixtures import apply_fixtures

__all__ = ["Check", "collect_checks", "is_allowed", "get_check_url"]
__all__ = ["Check", "collect_checks", "get_check_url", "is_allowed"]


def __dir__() -> list[str]:
Expand Down
6 changes: 3 additions & 3 deletions src/repo_review/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
from .ghpath import EmptyTraversable

__all__ = [
"pyproject",
"list_all",
"compute_fixtures",
"apply_fixtures",
"collect_fixtures",
"compute_fixtures",
"list_all",
"pyproject",
]


Expand Down
2 changes: 1 addition & 1 deletion src/repo_review/ghpath.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

from ._compat.importlib.resources.abc import Traversable

__all__ = ["GHPath", "EmptyTraversable"]
__all__ = ["EmptyTraversable", "GHPath"]


def __dir__() -> list[str]:
Expand Down
2 changes: 1 addition & 1 deletion src/repo_review/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"ResultDict",
"as_simple_dict",
"collect_all",
"process",
"md_as_html",
"process",
]


Expand Down
2 changes: 1 addition & 1 deletion src/repo_review/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from .fixtures import apply_fixtures
from .processor import Result

__all__ = ["toml_loads", "compute_check"]
__all__ = ["compute_check", "toml_loads"]


def __dir__() -> list[str]:
Expand Down

0 comments on commit 5e63a31

Please sign in to comment.