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
Xuan Wang
42482060fc
[Python] Remove Six dependency ( #31264 )
...
[Python][Remove Six] Remove Six dependency Part I
2 years ago
AJ Heller
d1b3d82956
Ignore isort_virtual_environment ( #30566 )
2 years ago
Craig Tiller
eb5ae61470
Reland (again) bytestream removal ( #29987 )
...
* Revert "Revert "Reland bytestream removal (#29911 )" (#29964 )"
This reverts commit e6c6840db3
.
* initial fc fuzzer
* fixes
* add rq to fc fuzzer
* fleshing things out
* Automated change: Fix sanity tests
* cleanup
* send with payload
* ensure if no reader no flow control tokens are granted
* remove some public methods
* remove bogus benchmarks
* account for pending size
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* better logic
* Automated change: Fix sanity tests
* fix
* fixes
* fuzz pending size
* Automated change: Fix sanity tests
* fix
* Automated change: Fix sanity tests
* huh
* increase too short timeout
* review feedback
* review feedback
* fix u32 overflow
* fix
* robustness fixes for channelz_servicer_test
* fix
* Automated change: Fix sanity tests
* fix
* fix
* fix
* Automated change: Fix sanity tests
* dont send window updates if read closed
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Yash Tibrewal
088a118c08
Add .cache to .gitignore ( #29946 )
3 years ago
Craig Tiller
da9f98a8bd
[iwyu] event_engine ( #29641 )
...
* slartibartfast
* Automated change: Fix sanity tests
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
42b083322f
Check IWYU status in presubmits ( #28180 )
...
* fixes
* fixes
* fixes
* allow running outside docker
* x
* Automated change: Fix sanity tests
* fix
* fix
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Jan Tattermusch
07a75427bd
Simplify running bazel with structured test results on CI ( #29353 )
...
* add bazel_report_helper.py
* simplify bazel invocations in selected builds
* introduce __main__
* update gitignore
* introduce sleep constant
* add type annotations
* use f-strings
* Revert "use f-strings"
This reverts commit f970d6a40b
.
3 years ago
Lidi Zheng
7069770ee0
Merge the 3 repeating Python binary compilations (Attempt 2) ( #28543 )
...
* Revert "Revert "Merge the 3 repeating Python binary compilations (#28500 )" (#28539 )"
This reverts commit 0554cbee9c
.
* Update hardcoded Python path
* Repect existing images and only use new path for newer releases
* fix interop_matrix testcases
Co-authored-by: Jan Tattermusch <jtattermusch@google.com>
3 years ago
Jan Tattermusch
0554cbee9c
Revert "Merge the 3 repeating Python binary compilations ( #28500 )" ( #28539 )
...
This reverts commit 2d4f3c5600
.
3 years ago
Lidi Zheng
2d4f3c5600
Merge the 3 repeating Python binary compilations ( #28500 )
...
* Merge the 3 repeating Python binary compilations
* Restore grpcio_metadata.py
* run_tests.py is running on <3.6
* Restore the Windows gevent version pin
3 years ago
Craig Tiller
e602169fa0
First pass IWYU tooling ( #27857 )
...
* First pass IWYU tooling
* fix
* Automated change: Fix sanity tests
* Update iwyu.sh
* Update iwyu.sh
* Update Dockerfile.template
* Update iwyu.sh
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
yulin-liang
6ba52fd83e
Support swift package manager for grpc-core and grpc-cpp.
4 years ago
Esun Kim
0e0e12aa22
Using comp_db for clang-tidy
4 years ago
Lidi Zheng
99eefe48b2
Add grpc-prefixed package generation script
5 years ago
Patrice Chalin
df5b521e07
Ignore `cmake/build/` anywhere in the repo
...
Ignore `cmake/build/` anywhere in the repo, not just at the root level. This is helpful when working on the examples.
5 years ago
Richard Belleville
0c4af58acc
Add test and fake LRU cache interface
5 years ago
Lidi Zheng
ae3c098e02
Fix the styling
5 years ago
Lidi Zheng
684c50389c
Add pytype as one of our sanity tests
5 years ago
Lidi Zheng
45e23ef3ad
Ship grpcio-status with the actual proto file
5 years ago
Lidi Zheng
9788a9a835
Add side-products of Python compilation to gitignore
5 years ago
Muxi Yan
2999d041eb
Fix sanity check issue
5 years ago
Muxi Yan
87687dec01
Use compressed header file
5 years ago
Muxi Yan
4ba1864cd9
Use gRPC repo to store boringssl prefix headers
5 years ago
Muxi Yan
6d61f63172
Provide script to upgrade BoringSSL in Objective-C
5 years ago
Lidi Zheng
fc82a522a1
Add .python-version to .gitignore
5 years ago
Esun Kim
21df81dfc2
Squashed 'third_party/upb/' content from commit 9effcbcb27
...
git-subtree-dir: third_party/upb
git-subtree-split: 9effcbcb27f0a665f9f345030188c0b291e32482
5 years ago
Esun Kim
4d88f39d54
Squashed 'third_party/upb/' content from commit 9effcbcb27
...
git-subtree-dir: third_party/upb
git-subtree-split: 9effcbcb27f0a665f9f345030188c0b291e32482
5 years ago
Esun Kim
5a9a8a6be8
Add .history to .gitignore
5 years ago
Lidi Zheng
96a7b68edc
Ignore Visual Studio Code configurations
5 years ago
Muxi Yan
19d576fbb3
update gitignore for files generated by tvOS and watchOS builds
5 years ago
mgravell
05a0dd20e4
convert micro-benchmarks to benchmarkdotnet
6 years ago
Moiz Haidry
226e63dd0c
Move server context implementation to grpc_impl namespace and typedef the ref to it
6 years ago
Nicolas "Pixel" Noble
053c62c78f
Adding bazel wrapper for our sanctified version of bazel.
6 years ago
Richard Belleville
930cec4e27
Revert "Merge pull request #18912 from grpc/revert-bazel-changes"
...
This reverts commit c9a259aa3a
, reversing
changes made to 9c882bc725
.
6 years ago
Richard Belleville
50b5240d0a
Revert "Merge pull request #18859 from grpc/internal_py_proto_library"
...
This reverts commit 5b720f19c1
, reversing
changes made to a64ae3c0d5
.
6 years ago
Richard Belleville
05f37c8143
Remove dependency on pubref/rules_proto.
...
This commit resolves #18331 .
This commit resolves #18256 .
This commit resolves... another TODO that apparently didn't have an
associated github issue.
We swap out pubref's implementation of py_proto_library with our own,
which more closely mirrors the interface of the internal
py_proto_library, taking the descriptor file output of a proto_library
rule as input.
One minor change in behavior was introduced for simplicity. When a
py_proto_library depends on a proto_library with a source proto file in
a subdirectory of the bazel package, the import module of the resultant
python library will reflect the package, *not* the full directory of the
proto file, including both the bazel package and the subdirectories, as
pubref did previously. This behavior also more closely mirrors google
internal behavior.
This commit also introduces a slightly more stringent bazel format
script. Buildifier on its own will not take care of long lines, but by
running yapf first, we end up with a more legible file. At the moment,
there is no sanity check associated with this formatter.
6 years ago
Esun Kim
87d0c8b377
Added visual studio code files to .gitignore
...
Let git ignore the local artifacts created by visual studio code.
Reference: https://www.gitignore.io/api/visualstudiocode
Deleted unncessary .vscode/launch.json
6 years ago
Tommy Chen
b343917c5f
revert .gitconfig
6 years ago
Tommy Chen
644f6e28db
fixed if<space>
6 years ago
kpayson64
1bfff8eec0
Initial gevent support
...
Because some cpp code ends up leaking into cython, we change
the cython generator to generate cpp code.
7 years ago
Jan Tattermusch
a41e997a87
cmake output to gitignore
7 years ago
Muxi Yan
1928857254
Update .gitignore
7 years ago
Dan Born
53d5503fac
Pass a pollset_set to some client handshakers.
7 years ago
Matt Kwong
b75db422bd
Add multi-vm performance tests to Kokoro
7 years ago
Nathaniel Manista
4138889086
Ignore all Python 3 virtual environments
...
How soon could Python 4 happen anyway? :-P
7 years ago
Alexander Polcyn
f5521c33f9
Revert "Merge branch 'master' into v1.3.x"
...
This reverts commit 79759fea1a
, reversing
changes made to dc36f4df6a
.
8 years ago
Craig Tiller
13c0e6e549
Update .gitignore
8 years ago
David Garcia Quintas
4dabb9a5b0
Remove ctags file checked in by accident
8 years ago
Nathaniel Manista
9f1e5ab3c9
Add test behavior to yapf_code.sh
...
With this change yapf_code no longer changes the code under test when
executed from within the sanity tests.
8 years ago