We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffc8e7c commit a0bc8adCopy full SHA for a0bc8ad
1 file changed
conformance/tests/directives_type_ignore.py
@@ -10,7 +10,9 @@
10
# The following type violation should be suppressed.
11
y: int = "" # type: ignore - additional stuff
12
13
-# The following type violation should be suppressed.
+# The following type violation may be suppressed, depending whether the
14
+# type checker uses the error code `assignment` for invalid assignments,
15
+# and/or how it treats unknown error codes.
16
z: int = "" # type: ignore[assignment]
17
18
# > In some cases, linting tools or other comments may be needed on the same
0 commit comments