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`.
2 years ago
Richard Belleville
a362c2566d
Revert examples
5 years ago
Richard Belleville
05aaf3d939
Pylint
5 years ago
Richard Belleville
c2c5057e9d
Fix up examples
5 years ago
Esun Kim
7be821ac47
Yapf all target python sources
5 years ago
Richard Belleville
805afe647d
Copyright typo
6 years ago
Richard Belleville
79e78d16f7
Pylint
6 years ago
Richard Belleville
915e97b115
Fix main thread starvation issues
6 years ago
Richard Belleville
4100084c78
Use six for compatibility in client
6 years ago
Richard Belleville
81f42031c6
Pylint
6 years ago
Richard Belleville
786a3acab0
Add test
6 years ago
Richard Belleville
93d6344ac6
Add todo
6 years ago
Richard Belleville
dc8dba8afe
Add docstrings
6 years ago
Richard Belleville
8f1bfdab55
Yapf
6 years ago
Richard Belleville
b12299701d
Clean up logging
6 years ago
Richard Belleville
c9e83db6bc
Implement streaming on the client side
6 years ago
Richard Belleville
b6a5e94f71
Respond to ctrl+c on client side
6 years ago
Richard Belleville
244279cb36
Add client CLI
6 years ago
Richard Belleville
b31431aea3
Switch over to a generator
6 years ago
Richard Belleville
7dccc07c2a
Start writing README
6 years ago
Richard Belleville
335e655a78
Free up server thread upon cancellation
6 years ago
Richard Belleville
32944fdeb2
Lay out bones of example
6 years ago
Lidi Zheng
5fc0547a94
Add basicConfig to prepare to log future exception
6 years ago
Nathaniel Manista
8234d14113
Close channels in examples
7 years ago
ncteisen
848a749f7a
yapf examples/python
7 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Nathaniel Manista
c15ee83882
Update Python examples with fresh generated code
8 years ago
Nathaniel Manista
46585e23f1
Update examples to GA API
9 years ago
Craig Tiller
6169d5f7b0
Update copyrights
9 years ago
Leifur Halldor Asgeirsson
4df39871d0
python3-compatible syntax for python examples
9 years ago
Nathaniel Manista
061d288f55
Beta Python documentation correction and update
10 years ago
Stanley Cheung
20fa6693f3
move examples to correct locations
10 years ago
Stanley Cheung
6905915db1
prepare for move
10 years ago
Jan Tattermusch
7dfd4abba5
added python helloworld
10 years ago
Tim Emiola
49f3ccdd01
Adds a helloworld sample in ruby.
10 years ago