mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-09 03:01:25 +08:00
Protobuf stubs update using mypy-protobuf (#4785)
* Add script to generate protoc stubs using mypy-protobuf generated stubs * Use generate_proto_stubs to generate stubs for protobuf 3.14.0 * Skip _pb2.pyi from flake8,black,isort,pytype
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
[tool.black]
|
||||
line_length = 130
|
||||
target_version = ["py37"]
|
||||
exclude = ".*_pb2.pyi"
|
||||
|
||||
[tool.isort]
|
||||
profile = "black"
|
||||
combine_as_imports = true
|
||||
line_length = 130
|
||||
skip_glob = "*_pb2.pyi"
|
||||
extra_standard_library = [
|
||||
"typing_extensions",
|
||||
"_typeshed",
|
||||
|
||||
Reference in New Issue
Block a user