pytorch/torch/utils/data
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
..
_utils
datapipes [BE][Easy] enable ruff rule PIE790: unnecessary pass statement (#133200) 2024-08-15 15:50:19 +00:00
__init__.py
backward_compatibility.py
dataframes_pipes.ipynb
dataloader.py
dataset.py
distributed.py
graph_settings.py
graph.py
sampler.py
standard_pipes.ipynb
typing.ipynb