Commit f0378fe
Fix mypy type narrowing false positive in cfg.py (#190)
* Initial plan
* Fix mypy type narrowing error in cfg.py by adding None check before identity comparison
Agent-Logs-Url: https://github.com/MatthieuDartiailh/bytecode/sessions/b7904bd0-bbc8-412f-8f14-de2ed29696a1
Co-authored-by: MatthieuDartiailh <4481740+MatthieuDartiailh@users.noreply.github.com>
* Fix black formatting in cfg.py
Agent-Logs-Url: https://github.com/MatthieuDartiailh/bytecode/sessions/8ed3b0c7-8cc3-4d4c-9421-7a291774fbd9
Co-authored-by: MatthieuDartiailh <4481740+MatthieuDartiailh@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: MatthieuDartiailh <4481740+MatthieuDartiailh@users.noreply.github.com>
Co-authored-by: Matthieu Dartiailh <m.dartiailh@gmail.com>1 parent 1757c49 commit f0378fe
1 file changed
Lines changed: 9 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
346 | | - | |
347 | | - | |
348 | | - | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
349 | 351 | | |
350 | 352 | | |
351 | 353 | | |
| |||
362 | 364 | | |
363 | 365 | | |
364 | 366 | | |
365 | | - | |
366 | | - | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
367 | 371 | | |
368 | 372 | | |
369 | 373 | | |
| |||
0 commit comments