Commit Graph

11 Commits

Author SHA1 Message Date
Lidi Zheng 2231c2ba77
Introduce Python import sorting to our sanity test suite (#26768)
* Add isort_code.sh to sanity tests

* Run tools/distrib/isort_code.sh

* Fine tune the import order for relative imports

* Make pylint and project generation happy

* Fix a few corner cases

* Use --check instead of --diff

* The import order impacts test result somehow

* Make isort print diff and check output at the same time

* Let tools/run_tests/python_utils be firstparty library

* Run isort against latest HEAD
2021-07-26 12:31:21 -07:00
Esun Kim 7be821ac47 Yapf all target python sources 2020-01-03 09:25:10 -08:00
Lidi Zheng 31bce3b127 Remove redundent lines 2019-01-21 16:49:36 -08:00
Lidi Zheng 51ba492d6d Minimize the change 2019-01-21 16:26:33 -08:00
Lidi Zheng 2dbabc7a8f Add new grpc_tools setuptools command BuildPackageProtosStrict 2019-01-16 12:07:50 -08:00
Lidi Zheng 0579dcaed6 Escalate the failure of protoc execution 2019-01-16 10:26:59 -08:00
Mehrdad Afshari 87cd994b04 Upgrade yapf to 0.20.0
Upgrade yapf version to 0.20.0 and reformat Python files.
2018-01-02 14:40:00 -08:00
ncteisen 7a2be20a8a yapf tools/distrib 2017-12-11 16:49:19 -08:00
Jan Tattermusch 7897ae9308 auto-fix most of licenses 2017-06-08 11:22:41 +02:00
Masood Malekghassemi f1cdf59b7f Patch overlooked strings from Python un-namespacing 2016-12-14 11:51:40 -08:00
Masood Malekghassemi fb261bf748 Un-namespace Python packages
Setuptools was updated and our hacky namespace-package-chickens came
back to roost. This removes the unsupported namespace package hacks.
2016-12-12 15:04:30 -08:00