pytorch/test/cpp
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
..
aoti_abi_check [AOTI] Fix complex64 not defined (#132810) 2024-08-08 18:08:23 +00:00
aoti_inference [ROCm][Inductor] Enable AOT Inductor CPP UTs for ROCm (#131521) 2024-08-08 19:49:56 +00:00
api [structural binding][12/N] Replace std::tie with structural binding (#131031) 2024-08-14 00:51:34 +00:00
c10d [BE] rename testHelperPrefix test (#132916) 2024-08-08 20:54:52 +00:00
common [AOTI] Add ABI-compatiblity tests (#123848) 2024-04-19 00:51:24 +00:00
dist_autograd
jit [BE][Easy] enable ruff rule PIE790: unnecessary pass statement (#133200) 2024-08-15 15:50:19 +00:00
lazy [9/N] Replace c10::optional with std::optional (#130674) 2024-07-15 00:48:43 +00:00
lite_interpreter_runtime Add None return type to init -- tests (#132352) 2024-08-01 15:44:51 +00:00
monitor
profiler [9/N] Replace c10::optional with std::optional (#130674) 2024-07-15 00:48:43 +00:00
rpc [structural binding][10/N] Replace std::tie with structural binding (#130784) 2024-07-16 10:28:14 +00:00
tensorexpr [11/N] Fix clang-tidy warnings in jit (#132131) 2024-07-31 03:45:52 +00:00
__init__.py