Commit c38eb34
authored
Test on Python 3.14 (#90)
* Ignore stubtest warnings about missing `__conditional_annotations__`
I haven't been able to find a lot of information on this attribute. But
it seems like something that should not be included in stub files.
* Ignore unused __conditional_annotations__ rule pre Python 3.14
Pre 3.14 this rule will never match which causes stubtest to complain.
From the stubtest docs [1]:
> Note if an allowlist entry is a regex that matches the empty string,
> stubtest will never consider it unused. For example, to get
> –ignore-unused-allowlist behaviour for a single allowlist entry like
> foo.bar you could add an allowlist entry (foo\.bar)?. This can be
> useful when an error only occurs on a specific platform.
[1] https://mypy.readthedocs.io/en/stable/stubtest.html
* Only check Python 3.13 on Linux1 parent babbbad commit c38eb34
3 files changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
54 | 57 | | |
55 | 58 | | |
56 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
0 commit comments