Skip to content

Commit

Permalink
ignore PGH003 globally
Browse files Browse the repository at this point in the history
  • Loading branch information
FasterSpeeding authored Jan 1, 2025
1 parent df6c7bd commit 562e97a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alluka/_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def get_type_dependency(self, type_: type[_T], /, *, default: _DefaultT) -> _T |
def get_type_dependency(self, type_: type[_T], /, *, default: _DefaultT | _NoValue = _NO_VALUE) -> _T | _DefaultT:
# <<inherited docstring from alluka.abc.Context>>.
if type_ is alluka.Context:
return self # type: ignore # noqa: PGH003
return self # type: ignore

result = self._client.get_type_dependency(type_, default=default)

Expand Down

0 comments on commit 562e97a

Please sign in to comment.