Commit Graph

19 Commits

Author SHA1 Message Date
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
Esun Kim
7be821ac47 Yapf all target python sources 2020-01-03 09:25:10 -08:00
Richard Belleville
805afe647d Copyright typo 2019-07-08 11:42:21 -07:00
Richard Belleville
79e78d16f7 Pylint 2019-07-08 11:09:44 -07:00
Richard Belleville
915e97b115 Fix main thread starvation issues 2019-06-26 13:16:02 -07:00
Richard Belleville
4100084c78 Use six for compatibility in client 2019-06-26 09:37:33 -07:00
Richard Belleville
81f42031c6 Pylint 2019-06-25 15:58:06 -07:00
Richard Belleville
786a3acab0 Add test 2019-06-25 14:20:07 -07:00
Richard Belleville
93d6344ac6 Add todo 2019-06-25 13:25:54 -07:00
Richard Belleville
dc8dba8afe Add docstrings 2019-06-25 13:19:02 -07:00
Richard Belleville
8f1bfdab55 Yapf 2019-06-25 13:01:22 -07:00
Richard Belleville
b12299701d Clean up logging 2019-06-25 13:00:09 -07:00
Richard Belleville
c9e83db6bc Implement streaming on the client side 2019-06-25 10:34:48 -07:00
Richard Belleville
b6a5e94f71 Respond to ctrl+c on client side 2019-06-25 09:36:49 -07:00
Richard Belleville
244279cb36 Add client CLI 2019-06-25 09:07:46 -07:00
Richard Belleville
b31431aea3 Switch over to a generator 2019-06-24 16:49:35 -07:00
Richard Belleville
7dccc07c2a Start writing README 2019-06-24 16:02:34 -07:00
Richard Belleville
335e655a78 Free up server thread upon cancellation 2019-06-24 15:51:16 -07:00
Richard Belleville
32944fdeb2 Lay out bones of example 2019-06-24 13:56:56 -07:00