Closed sebhmg closed 3 years ago
--install-types
is not supported and pre-commit.ci does not allow access to the network at runtime
the correct way to fix this is additional_dependencies: [types-toml]
or if you want a hammer I created types-all to restore backwards compatibility with old typeshed
additional_dependencies: [types-toml]
just works. Thank you!
mypy
fails on pre-commit.ci with error:Library stubs not installed for "toml"
However mypy is configured to run with options["--install-types", "--non-interactive"]
that are supposed to install the missing types. This does work when running pre-commit inside a github workflow.See error below: