Commit 759a319
authored
path: return annotation bool not int (#29)
Investigating python/mypy#17487, I decided to
check out an exemplar mypy_primer to see what all the fuss is about.
Since it's so easy to fix this, and so obviously correct, I thought I'd
do a PR about it while I'm here. The functions return bool and so should
be annotated accordingly, not with int.1 parent 367cbaf commit 759a319
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
562 | 562 | | |
563 | 563 | | |
564 | 564 | | |
565 | | - | |
| 565 | + | |
566 | 566 | | |
567 | 567 | | |
568 | 568 | | |
| |||
571 | 571 | | |
572 | 572 | | |
573 | 573 | | |
574 | | - | |
| 574 | + | |
575 | 575 | | |
576 | 576 | | |
577 | 577 | | |
| |||
0 commit comments