pytorch/torch/distributed/rpc
Xuehai Pan 758a0a88a2 [BE][Easy] enable ruff rule PIE790: unnecessary pass statement (#133200)
This PR removes unnecessary `pass` statement. This is semanticly safe because the bytecode for the Python code does not change.

Note that if there is a docstring in the function, a empty function does not need a `pass` statement as placeholder.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/133200
Approved by: https://github.com/malfet, https://github.com/eqy, https://github.com/kit1980
2024-08-15 15:50:19 +00:00
..
_testing
__init__.py
_utils.py
api.py
backend_registry.py [BE][Easy] enable ruff rule PIE790: unnecessary pass statement (#133200) 2024-08-15 15:50:19 +00:00
constants.py
functions.py
internal.py
options.py
rref_proxy.py
server_process_global_profiler.py Fix Distributed EventList usage (#132448) 2024-08-02 23:55:31 +00:00