Richard Belleville
5afd77398e
Implement compression API within gRPC Python.
6 years ago
Lidi Zheng
8cb2d0546d
Upgrade sanity Docker image to debian:stretch
...
* Use latest pylint in Python 3.7 (they dropped support for PY2)
* Make latest pylint happy
* Forced to upgrade to shellcheck 0.4.4
* Make shellcheck 0.4.4 happy
* Adopt reviewers' advice to reduce global disabled rules
6 years ago
Mehrdad Afshari
7cd4ee7a42
Change notes on suppressions
7 years ago
Mehrdad Afshari
adedd43b09
Disable additional pylint warnings due to upgrade
7 years ago
Nathaniel Manista
2010985ab2
gRPC Python test infrastructure
...
(The channel-related second part of it.)
7 years ago
Nathaniel Manista
69b7231776
gRPC Python test infrastructure
...
(The time-related first part of it, anyway.)
7 years ago
Nathaniel Manista
9104884a19
Clean up and opinionate .pylintrc
8 years ago
Nathaniel Manista
6613f60166
Enable wrong-import-order lint
8 years ago
Nathaniel Manista
37c83ffbed
Enable redefined-variable-type lint
8 years ago
Nathaniel Manista
936f8d5eaa
Enable next-method-called lint
8 years ago
Nathaniel Manista
3ec1366eb6
Enable unused-argument lint
8 years ago
Nathaniel Manista
8fccf59d04
Enable too-many-return-statements lint
8 years ago
Nathaniel Manista
c3038a5cb3
Suppress and enable too-many-locals lint
8 years ago
Nathaniel Manista
db0f85b010
Configure and enable too-many-arguments lint
8 years ago
Nathaniel Manista
18f025e0a3
Fix and enable super-init-not-called lint
8 years ago
Nathaniel Manista
d3d46a5385
Enable suppressed-message lint
8 years ago
Nathaniel Manista
af39256c01
Fix and enable redefined-outer-name lint
8 years ago
Nathaniel Manista
b16d765c0c
Work toward enabling cyclic-import lint
8 years ago
Nathaniel Manista
4531cbe937
Selectively suppress and enable broad-except lint
8 years ago
Nathaniel Manista
8903a19b0d
Control and enable fixme lint
8 years ago
Nathaniel Manista
e151a21ee4
Fix and enable unused-variable lint
...
In _server.py start_server_batch_result is removed because
start_server_batch can only ever fail as a result of a programming
defect in gRPC Python and not the application. This differs from some
analogous-appearing points in _channel.py where the result of
start_client_batch is checked because at those points it is possible
for a failure to indicate a programming defect on the part of the
application.
8 years ago
Nathaniel Manista
d5e3766027
Fix and enable no-value-for-parameter lint
8 years ago
Nathaniel Manista
7983213fd2
Fix and enable unused-import lint
8 years ago
Nathaniel Manista
017365d072
Fix and enable no-self-use lint
8 years ago
Nathaniel Manista
90798ab199
Fix and enable no-member lint
8 years ago
Nathaniel Manista
a52d3bb39b
Fix and enable simplifiable-if-statement lint
8 years ago
Nathaniel Manista
402aca6621
Fix and enable dangerous-default-value lint
...
The fix is more of an elision and the code in the changed area is
reflowed.
8 years ago
Nathaniel Manista
3577f63136
Fix and enable logging-format-interpolation lint
8 years ago
Mehrdad Afshari
1a967c31c3
Added Pylint to sanity tests
...
Pylint is only enabled for "grpcio/grpc" package,
and various specific checks that currently fail are disabled,
each with a respective TODO item in the .pylintrc file.
8 years ago