Skip to content

Drop types-certifi package. - #472

Merged
lovelydinosaur merged 2 commits into
masterfrom
drop-types-certifi
Jan 5, 2022
Merged

Drop types-certifi package.#472
lovelydinosaur merged 2 commits into
masterfrom
drop-types-certifi

Conversation

@lovelydinosaur

Copy link
Copy Markdown
Contributor

We really don't care about mypy verifying for us that certifi.where() returns a str.

It's not worth the package download of types-certifi on every CI run.

Somewhat minded to use mypy --ignore-missing-imports, which would also allow us to drop that type-stub package. We use mypy and type checking throughout our package in order to ensure internal consistency. It's a form of test suite, and allows us to much more safely undertake changes and refactoring when needed. I don't care half as much about what type signatures packages we rely on advertise.

Here's what the types-certifi package installs for us: https://github.com/python/typeshed/blob/master/stubs/certifi/certifi.pyi

Related reading: https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports

@lovelydinosaur
lovelydinosaur merged commit 7280852 into master Jan 5, 2022
@lovelydinosaur
lovelydinosaur deleted the drop-types-certifi branch January 5, 2022 10:28
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.

1 participant