File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
# Change Log
2
2
3
- ## Unreleased
3
+ ## 23.11.0
4
4
5
5
New error codes:
6
- * Introduce Y058: Use ` Iterator ` rather than ` Generator ` as the return value
6
+ * Y058: Use ` Iterator ` rather than ` Generator ` as the return value
7
7
for simple ` __iter__ ` methods, and ` AsyncIterator ` rather than
8
8
` AsyncGenerator ` as the return value for simple ` __aiter__ ` methods.
9
- * Introduce Y059: ` Generic[] ` should always be the last base class, if it is
9
+ * Y059: ` Generic[] ` should always be the last base class, if it is
10
10
present in the bases of a class.
11
- * Introduce Y060, which flags redundant inheritance from ` Generic[] ` .
12
- * Introduce Y061: Do not use ` None ` inside a ` Literal[] ` slice.
11
+ * Y060, which flags redundant inheritance from ` Generic[] ` .
12
+ * Y061: Do not use ` None ` inside a ` Literal[] ` slice.
13
13
For example, use ` Literal["foo"] | None ` instead of ` Literal["foo", None] ` .
14
14
15
15
Other changes:
You can’t perform that action at this time.
0 commit comments