Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[pre-commit.ci] pre-commit autoupdate #62603

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

Merged
mroeschke merged 4 commits into main from pre-commit-ci-update-config
Oct 6, 2025
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
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ci:
skip: [pyright, mypy]
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.12.11
rev: v0.13.3
hooks:
- id: ruff
args: [--exit-non-zero-on-fix]
Expand All @@ -46,7 +46,7 @@ repos:
- id: codespell
types_or: [python, rst, markdown, cython, c]
- repo: https://github.com/MarcoGorelli/cython-lint
rev: v0.16.7
rev: v0.17.0
hooks:
- id: cython-lint
- id: double-quote-cython-strings
Expand All @@ -67,7 +67,7 @@ repos:
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- repo: https://github.com/PyCQA/isort
rev: 6.0.1
rev: 6.1.0
hooks:
- id: isort
- repo: https://github.com/asottile/pyupgrade
Expand All @@ -92,14 +92,14 @@ repos:
- id: sphinx-lint
args: ["--enable", "all", "--disable", "line-too-long"]
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v21.1.0
rev: v21.1.2
hooks:
- id: clang-format
files: ^pandas/_libs/src|^pandas/_libs/include
args: [-i]
types_or: [c, c++]
- repo: https://github.com/trim21/pre-commit-mirror-meson
rev: v1.9.0
rev: v1.9.1
hooks:
- id: meson-fmt
args: ['--inplace']
Expand Down
2 changes: 1 addition & 1 deletion pandas/core/groupby/groupby.py
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -4325,7 +4325,7 @@ def nth(self) -> GroupByNthSelector:
def _nth(
self,
n: PositionalIndexer | tuple,
dropna: Literal["any", "all", None] = None,
dropna: Literal["any", "all"] | None = None,
) -> NDFrameT:
if not dropna:
mask = self._make_mask_from_positional_indexer(n)
Expand Down
2 changes: 1 addition & 1 deletion pandas/core/groupby/indexing.py
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ def __init__(self, groupby_object: groupby.GroupBy) -> None:
def __call__(
self,
n: PositionalIndexer | tuple,
dropna: Literal["any", "all", None] = None,
dropna: Literal["any", "all"] |None = None,
) -> DataFrame | Series:
return self.groupby_object._nth(n, dropna)

Expand Down
4 changes: 2 additions & 2 deletions pandas/io/html.py
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def __init__(
attrs: dict[str, str] | None,
encoding: str,
displayed_only: bool,
extract_links: Literal[None, "header", "footer", "body", "all"],
extract_links: Literal["header", "footer", "body", "all"]|None,
storage_options: StorageOptions = None,
) -> None:
self.io = io
Expand Down Expand Up @@ -1046,7 +1046,7 @@ def read_html(
na_values: Iterable[object] | None = None,
keep_default_na: bool = True,
displayed_only: bool = True,
extract_links: Literal[None, "header", "footer", "body", "all"] = None,
extract_links: Literal["header", "footer", "body", "all"]|None = None,
dtype_backend: DtypeBackend | lib.NoDefault = lib.no_default,
storage_options: StorageOptions = None,
) -> list[DataFrame]:
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,10 @@ ignore = [
"PLW0603",
# runtime-cast-value
"TC006",
# unused-unpacked-variable
"RUF059",
# pytest-raises-ambiguous-pattern
"RUF043",
]

exclude = [
Expand Down
Loading

AltStyle によって変換されたページ (->オリジナル) /