enable strictness flags for mypy#5531
Conversation
|
Hmm, I'd rebased this on master in the hope of making for easier review: but it looks as though it depends too much on others - in particular, #5485 and the addition of py.typed in poetry-core. Let's get those merged and released first, please, then this will be ready to go... |
|
closer now that #5485 is merged, I think we need
|
97b130a to
3e0c2dc
Compare
|
this looks as though it has got worse ince #5279 was merged, but that's only because we now run mypy on all platforms. We're now just waiting on publishing a Maybe it's worthwhile updating this MR to treat |
I've done this, in the hope of getting the improved mypy settings merged sooner rather than later. When the next poetry-core is published, we'll get a handful of warnings about unnecessary |
1ec7f91 to
644f23d
Compare
neersighted
left a comment
There was a problem hiding this comment.
This looks really good, and the un-cargo-culted mypy options are a breath of fresh air. I agree with the incremental approach -- better to get this work in and prevent the need to endlessly rebase than to wait for the perfect one-shot change.
|
@dimbleby Needs another rebase, sorry! |
|
More conflicts, and also a new mistake to fix... any chance we can get this merged? |
|
Oh bloody hell more conflicts... Sorry! It looks good to merge as soon as the next rebase is done. |
|
@neersighted this is not currently conflicted, it should merge cleanly |
|
Ah, looks like my local pull wasn't up to date. Here we go! |
|
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Enable strict mypy checking, and fix errors arising.