I have .pre-commit set with the following config:
repos:
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.3.0
hooks:
- id: mypy
additional_dependencies: [types-requests,types-python-dateutil,types-PyYAML]
I wonder where this types- comes from. I tried to add a few, like say: types-boto3
it works, but I do not understand why (or rather: to what it's mapped, by whom, and where is it defined).
I tried googling for the list of possible additional dependencies but my googling skills are not good enough. For example, googling after types-boto3
leads me to: https://mypy-boto3.readthedocs.io/en/latest/. But again, why?