Skip to content
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
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ repos:
hooks:
- id: pyproject-fmt
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.9.4"
rev: "v0.9.6"
hooks:
- id: ruff-format
- id: ruff
args: ["--fix", "--unsafe-fixes", "--exit-non-zero-on-fix"]
- repo: https://github.com/rbubley/mirrors-prettier
rev: "v3.4.2" # Use the sha / tag you want to point at
rev: "v3.5.0" # Use the sha / tag you want to point at
hooks:
- id: prettier
additional_dependencies:
Expand Down
4 changes: 2 additions & 2 deletions tests/test_sphinx_autodoc_typehints.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@ class Metaclass(type): ...

class HintedMethods:
@classmethod
def from_magic(cls: type[T]) -> T: # type: ignore[empty-body]
def from_magic(cls) -> typing_extensions.Self: # type: ignore[empty-body]
...

def method(self: T) -> T: # type: ignore[empty-body]
def method(self) -> typing_extensions.Self: # type: ignore[empty-body]
...


Expand Down
Loading