Skip to content

Comments

set up mypy hook for incremental adoption#121

Merged
branchv merged 2 commits intopython-poetry:masterfrom
danieleades:lint/mypy
May 27, 2022
Merged

set up mypy hook for incremental adoption#121
branchv merged 2 commits intopython-poetry:masterfrom
danieleades:lint/mypy

Conversation

@danieleades
Copy link
Contributor

mypy returns whole heap of errors in this repo. this PR sets up an incremental adoption strategy for introducing typing/mypy linting.

Every file that currently produces errors is whitelisted. Over time, this whitelist should be reduced, and eventually removed entirely.

(this is the same strategy being used in poetry and poetry-core)

@branchv branchv merged commit 8f8c6a4 into python-poetry:master May 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants