Commit 71d3a7f
authored
mypy: Enable --warn-unused-ignores and remove unused ignores (#749)
* pyproject.toml: Configure mypy to warn about unused ignores, except for mypy-protobuf codegen
* codegen: Remove type: ignore for ctypes callback with no arguments
* tests: Remove type: ignore for property with different get/set types
* tests: Remove type: ignore for ZoneInfo construction
* tests: Work around missing type hints for watchdog expir states
* tests: Remove type: ignore for property with different get/set types
* tests: Fix import spacing1 parent f10feb9 commit 71d3a7f
File tree
8 files changed
+26
-14
lines changed- generated/nidaqmx
- src/codegen/templates/library_interpreter
- tests
- acceptance
- component
- task
- unit
8 files changed
+26
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5843 | 5843 | | |
5844 | 5844 | | |
5845 | 5845 | | |
5846 | | - | |
| 5846 | + | |
5847 | 5847 | | |
5848 | 5848 | | |
5849 | 5849 | | |
| |||
5867 | 5867 | | |
5868 | 5868 | | |
5869 | 5869 | | |
5870 | | - | |
| 5870 | + | |
5871 | 5871 | | |
5872 | 5872 | | |
5873 | 5873 | | |
| |||
5890 | 5890 | | |
5891 | 5891 | | |
5892 | 5892 | | |
5893 | | - | |
| 5893 | + | |
5894 | 5894 | | |
5895 | 5895 | | |
5896 | 5896 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| 144 | + | |
144 | 145 | | |
145 | 146 | | |
146 | 147 | | |
| |||
157 | 158 | | |
158 | 159 | | |
159 | 160 | | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
160 | 166 | | |
161 | 167 | | |
162 | 168 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
| 142 | + | |
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
11 | 16 | | |
12 | 17 | | |
13 | 18 | | |
| |||
129 | 134 | | |
130 | 135 | | |
131 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
132 | 140 | | |
133 | 141 | | |
134 | | - | |
135 | | - | |
136 | | - | |
| 142 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| |||
0 commit comments