Commit 5d4cbb9
Allow type checkers to ignore specific error codes (#2153)
* Allow type: ignore error codes filtering
* Try to improve the wording for the spec
* Rephrase a bit of the spec
* Avoid specifying how whitespace after # type: ignore works
* Update conformance/tests/directives_type_ignore.py
Co-authored-by: Carl Meyer <carl@oddbird.net>
* Update docs/spec/directives.rst
Co-authored-by: Carl Meyer <carl@oddbird.net>
* Rerun the tests
* Change the error code to a random error code and allow the error to happen
* Update conformance/tests/directives_type_ignore.py
Co-authored-by: Carl Meyer <carl@oddbird.net>
---------
Co-authored-by: Carl Meyer <carl@oddbird.net>1 parent cf84b52 commit 5d4cbb9
6 files changed
Lines changed: 22 additions & 22 deletions
File tree
- conformance
- results
- mypy
- ty
- zuban
- tests
- docs/spec
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1198 | 1198 | | |
1199 | 1199 | | |
1200 | 1200 | | |
1201 | | - | |
1202 | 1201 | | |
1203 | | - | |
| 1202 | + | |
| 1203 | + | |
1204 | 1204 | | |
1205 | 1205 | | |
1206 | 1206 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
| 1 | + | |
6 | 2 | | |
7 | | - | |
8 | 3 | | |
9 | 4 | | |
10 | | - | |
| 5 | + | |
11 | 6 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
| 1 | + | |
6 | 2 | | |
7 | | - | |
8 | 3 | | |
9 | 4 | | |
10 | | - | |
11 | | - | |
| 5 | + | |
| 6 | + | |
12 | 7 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
76 | 85 | | |
77 | 86 | | |
78 | 87 | | |
| |||
0 commit comments