grpc/tools/distrib/python/grpcio_tools/grpc_tools
Sergii Tkachenko de6ed9ba9f
[Python] Migrate from yapf to black (#33138)
- Switched  from yapf to black
- Reconfigure isort for black
- Resolve black/pylint idiosyncrasies 

Note: I used `--experimental-string-processing` because black was
producing "implicit string concatenation", similar to what described
here: https://github.com/psf/black/issues/1837. While currently this
feature is experimental, it will be enabled by default:
https://github.com/psf/black/issues/2188. After running black with the
new string processing so that the generated code merges these `"hello" "
world"` strings concatenations, then I removed
`--experimental-string-processing` for stability, and regenerated the
code again.

To the reviewer: don't even try to open "Files Changed" tab 😄 It's
better to review commit-by-commit, and ignore `run black and isort`.
2023-06-09 15:08:55 -07:00
..
test [Python] Migrate from yapf to black (#33138) 2023-06-09 15:08:55 -07:00
__init__.py Do not import grpc_tools.protoc from grpc_tools 2020-09-22 12:35:52 -07:00
_protoc_compiler.pyx Introduce Python import sorting to our sanity test suite (#26768) 2021-07-26 12:31:21 -07:00
command.py [Python] Migrate from yapf to black (#33138) 2023-06-09 15:08:55 -07:00
main.cc [python] Python fixes for upcoming protobuf 22.x upgrade (#32803) 2023-04-06 20:30:50 +02:00
main.h Improve namespacing 2019-12-10 11:28:50 -08:00
protoc.py [Python] Migrate from yapf to black (#33138) 2023-06-09 15:08:55 -07:00