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 Add None return type to init (#132335) 2024-08-01 15:26:45 +00:00
datapipes [BE][Easy] enable ruff rule PIE790: unnecessary pass statement (#133200) 2024-08-15 15:50:19 +00:00
__init__.py [BE] enable UFMT in torch.utils.data (#127705) 2024-06-27 23:16:24 +00:00
backward_compatibility.py Flip default value for mypy disallow_untyped_defs [9/11] (#127846) 2024-06-08 18:50:06 +00:00
dataframes_pipes.ipynb
dataloader.py [BE][Easy] Fix PYI001: unprefixed-type-param in torch/utils/data/datapipes (#129885) 2024-07-02 14:56:27 +00:00
dataset.py [BE][Easy] Fix PYI001: unprefixed-type-param in torch/utils/data/datapipes (#129885) 2024-07-02 14:56:27 +00:00
distributed.py [BE][Easy] Fix PYI001: unprefixed-type-param in torch/utils/data/datapipes (#129885) 2024-07-02 14:56:27 +00:00
graph_settings.py [BE][Easy] fix ruff rule needless-bool (SIM103) (#130206) 2024-07-14 08:17:52 +00:00
graph.py [BE] enable UFMT in torch.utils.data (#127705) 2024-06-27 23:16:24 +00:00
sampler.py [BE][Easy] Fix PYI001: unprefixed-type-param in torch/utils/data/datapipes (#129885) 2024-07-02 14:56:27 +00:00
standard_pipes.ipynb
typing.ipynb