Skip to content

Commit

Permalink
Merge branch 'literal-slices' of https://github.com/PyCQA/flake8-pyi
Browse files Browse the repository at this point in the history
…into literal-slices
  • Loading branch information
AlexWaygood committed Aug 20, 2024
2 parents 3b68a73 + 4ae1a94 commit 76f96e0
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion tests/pep695_py312.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,16 @@

import typing
from collections.abc import Iterator
from typing import Any, NamedTuple, NoReturn, Protocol, Self, TypedDict, Annotated, Literal
from typing import (
Annotated,
Any,
Literal,
NamedTuple,
NoReturn,
Protocol,
Self,
TypedDict,
)

type lowercase_alias = str | int # Y042 Type aliases should use the CamelCase naming convention
type _LooksLikeATypeVarT = str | int # Y043 Bad name for a type alias (the "T" suffix implies a TypeVar)
Expand Down

0 comments on commit 76f96e0

Please sign in to comment.