Skip to content

Pick off some low-hanging fruit from mypy checks#4751

Merged
neersighted merged 1 commit into
python-poetry:masterfrom
dimbleby:typechecking
Nov 14, 2021
Merged

Pick off some low-hanging fruit from mypy checks#4751
neersighted merged 1 commit into
python-poetry:masterfrom
dimbleby:typechecking

Conversation

@dimbleby
Copy link
Copy Markdown
Contributor

Pull Request Check List

Resolves: #issue-number-here

  • Added tests for changed code.
  • Updated documentation for changed code.

Per discussion here, the precommit hook is missing lots of type errors in layouts. So I have added layouts to the list of exceptions, in anticipation of that being improved - or anyway so that folk who run mypy locally don't get confused.

But to compensate for that I've picked off a couple of simple errors, and consequently been able to remove a couple of exceptions from mypy.ini. The ratchet - very slowly - tightens.

@neersighted neersighted merged commit 0d4dff7 into python-poetry:master Nov 14, 2021
@dimbleby dimbleby deleted the typechecking branch November 14, 2021 10:39
@dimbleby dimbleby mentioned this pull request Nov 14, 2021
2 tasks
@github-actions
Copy link
Copy Markdown

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.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Feb 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants