Skip to content

Commit 2e21935

Browse files
authored
README: fix markup errors (#281)
Accidentally introduced in #279
1 parent 60a3112 commit 2e21935

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ currently emitted:
8484
| Y048 | Function bodies should contain exactly one statement. (Note that if a function body includes a docstring, the docstring counts as a "statement".)
8585
| Y049 | A private `TypedDict` should be used at least once in the file in which it is defined.
8686
| Y050 | Prefer `typing_extensions.Never` over `typing.NoReturn` for argument annotations. This is a purely stylistic choice in the name of readability.
87-
| Y051 | Y051 detect redundant unions between `Literal` types and builtin supertypes. For example, `Literal[5]` is redundant in the union `int | Literal[5]`, and `Literal[True]` is redundant in the union `Literal[True] | bool`.
87+
| Y051 | Y051 detect redundant unions between `Literal` types and builtin supertypes. For example, `Literal[5]` is redundant in the union `int \| Literal[5]`, and `Literal[True]` is redundant in the union `Literal[True] \| bool`.
8888

8989
Many error codes enforce modern conventions, and some cannot yet be used in
9090
all cases:

0 commit comments

Comments
 (0)