Commit eff5099
tools: fix types to satisfy mypy
```
sssd_test_framework/utils/tools.py:204: error: Argument "name" to "PasswdEntry" has incompatible type "str | int | None"; expected "str" [arg-type]
sssd_test_framework/utils/tools.py:205: error: Argument "password" to "PasswdEntry" has incompatible type "str | int | None"; expected "str" [arg-type]
sssd_test_framework/utils/tools.py:206: error: Argument "uid" to "PasswdEntry" has incompatible type "str | int | None"; expected "int" [arg-type]
sssd_test_framework/utils/tools.py:207: error: Argument "gid" to "PasswdEntry" has incompatible type "str | int | None"; expected "int" [arg-type]
sssd_test_framework/utils/tools.py:208: error: Argument "gecos" to "PasswdEntry" has incompatible type "str | int | None"; expected "str" [arg-type]
sssd_test_framework/utils/tools.py:209: error: Argument "home" to "PasswdEntry" has incompatible type "str | int | None"; expected "str" [arg-type]
sssd_test_framework/utils/tools.py:210: error: Argument "shell" to "PasswdEntry" has incompatible type "str | int | None"; expected "str" [arg-type]
sssd_test_framework/utils/tools.py:261: error: Argument "name" to "GroupEntry" has incompatible type "Any | None"; expected "str" [arg-type]
sssd_test_framework/utils/tools.py:262: error: Argument "password" to "GroupEntry" has incompatible type "Any | None"; expected "str" [arg-type]
sssd_test_framework/utils/tools.py:263: error: Argument "gid" to "GroupEntry" has incompatible type "Any | None"; expected "int" [arg-type]
```1 parent fb33da7 commit eff5099
1 file changed
Lines changed: 73 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
160 | 169 | | |
161 | 170 | | |
162 | 171 | | |
| |||
167 | 176 | | |
168 | 177 | | |
169 | 178 | | |
170 | | - | |
| 179 | + | |
171 | 180 | | |
172 | 181 | | |
173 | 182 | | |
174 | 183 | | |
175 | | - | |
| 184 | + | |
176 | 185 | | |
177 | 186 | | |
178 | 187 | | |
| |||
199 | 208 | | |
200 | 209 | | |
201 | 210 | | |
202 | | - | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
203 | 241 | | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
211 | 249 | | |
212 | 250 | | |
213 | 251 | | |
| |||
228 | 266 | | |
229 | 267 | | |
230 | 268 | | |
231 | | - | |
| 269 | + | |
232 | 270 | | |
233 | 271 | | |
234 | 272 | | |
| |||
239 | 277 | | |
240 | 278 | | |
241 | 279 | | |
242 | | - | |
| 280 | + | |
243 | 281 | | |
244 | 282 | | |
245 | 283 | | |
| |||
256 | 294 | | |
257 | 295 | | |
258 | 296 | | |
259 | | - | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
260 | 315 | | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
265 | 320 | | |
266 | 321 | | |
267 | 322 | | |
| |||
0 commit comments