Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update pre-commit hooks #248

Merged
merged 3 commits into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 = "default"

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
Loading