Commit fe721a4
committed
Correct the type for RunMode.build_mode
This is a bit of an ugly dance, but checks the type properly at
run-time and also convinces Pyright about the existence and type of
RunMode.build_mode.
Signed-off-by: Rupert Swarbrick <rswarbrick@lowrisc.org>1 parent d01d4df commit fe721a4
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
304 | | - | |
305 | 304 | | |
306 | 305 | | |
307 | 306 | | |
308 | 307 | | |
309 | 308 | | |
310 | 309 | | |
311 | 310 | | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
312 | 319 | | |
313 | 320 | | |
314 | 321 | | |
| |||
0 commit comments