pytorch/torch/package
Yuanyuan Chen 70925bdf82 [1/N] Use "is" in python type comparison (#165037)
It generally recommended to use `is/is not` to compare types. Therefore this series of changes apply this suggestion in the code base, and it aims to finally enabling related linter checks.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/165037
Approved by: https://github.com/mlazos
2025-10-10 12:36:50 +00:00
..
analyze [1/N] Use "is" in python type comparison (#165037) 2025-10-10 12:36:50 +00:00
__init__.py
_digraph.py
_directory_reader.py
_importlib.py
_mangling.py
_mock.py
_package_pickler.py Add initial suppressions for pyrefly (#164177) 2025-10-02 20:57:41 +00:00
_package_unpickler.py
_stdlib.py
file_structure_representation.py
find_file_dependencies.py
glob_group.py
importer.py Add initial suppressions for pyrefly (#164177) 2025-10-02 20:57:41 +00:00
mangling.md
package_exporter.py Add initial suppressions for pyrefly (#164177) 2025-10-02 20:57:41 +00:00
package_importer.py Add initial suppressions for pyrefly (#164177) 2025-10-02 20:57:41 +00:00