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 [BE][Easy] enable UFMT for torch/distributed/{fsdp,optim,rpc}/ (#128869) 2024-06-18 21:49:08 +00:00
__init__.py [BE][Easy] enable UFMT for torch/distributed/{fsdp,optim,rpc}/ (#128869) 2024-06-18 21:49:08 +00:00
_utils.py [BE][Easy] enable UFMT for torch/distributed/{fsdp,optim,rpc}/ (#128869) 2024-06-18 21:49:08 +00:00
api.py [BE] mypy: disallow untyped decorators (#131428) 2024-07-23 21:50:55 +00:00
backend_registry.py [BE][Easy] enable ruff rule PIE790: unnecessary pass statement (#133200) 2024-08-15 15:50:19 +00:00
constants.py [BE][Easy] enable UFMT for torch/distributed/{fsdp,optim,rpc}/ (#128869) 2024-06-18 21:49:08 +00:00
functions.py [BE][Easy] enable UFMT for torch/distributed/{fsdp,optim,rpc}/ (#128869) 2024-06-18 21:49:08 +00:00
internal.py [BE][Easy] enable UFMT for torch/distributed/{fsdp,optim,rpc}/ (#128869) 2024-06-18 21:49:08 +00:00
options.py [BE][Easy] enable UFMT for torch/distributed/{fsdp,optim,rpc}/ (#128869) 2024-06-18 21:49:08 +00:00
rref_proxy.py [BE][Easy] enable UFMT for torch/distributed/{fsdp,optim,rpc}/ (#128869) 2024-06-18 21:49:08 +00:00
server_process_global_profiler.py Fix Distributed EventList usage (#132448) 2024-08-02 23:55:31 +00:00