Commit Graph

8 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
Lidi Zheng f6e6b9f640 Fix the pylint complain 2020-04-30 15:16:32 -07:00
Taras Galkovskyi f375c0b548 minor stylistic fixes 2020-04-30 18:58:44 +00:00
Taras Galkovskyi 469631f549 run yapf; delete alts unit tests 2020-04-29 22:50:35 +00:00
Taras Galkovskyi 42bd106898 updating comments to make clear that ALTS is only supported on GCP 2020-04-15 22:14:08 +00:00
Taras Galkovskyi 02da3330c2 address review comments 2020-04-15 18:13:04 +00:00
Taras Galkovskyi 72cd29266d simplify ALTS client 2020-04-10 14:27:30 +00:00
Taras Galkovskyi 828ee320a4 Expose ALTS client/server credentials on Python layer 2020-04-07 00:14:41 +00:00