mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Add pyrefly suppressions 2/n (#164513)
Adds suppressions to pyrefly will typecheck clean: https://github.com/pytorch/pytorch/issues/163283 Test plan: dmypy restart && python3 scripts/lintrunner.py -a pyrefly check --- step 1: uncomment lines in the `pyrefly.toml` file before: https://gist.github.com/maggiemoss/911b4d0bc88bf8cf3ab91f67184e9d46 after: ``` INFO Checking project configured at `/Users/maggiemoss/python_projects/pytorch/pyrefly.toml` INFO 0 errors (1,152 ignored) ``` Pull Request resolved: https://github.com/pytorch/pytorch/pull/164513 Approved by: https://github.com/oulgen
This commit is contained in:
committed by
PyTorch MergeBot
parent
d1cbb74fb1
commit
1051c1de5c
10
pyrefly.toml
10
pyrefly.toml
@ -40,16 +40,6 @@ project-excludes = [
|
||||
"torch/autograd/**",
|
||||
"torch/cuda/**",
|
||||
"torch/export/**",
|
||||
"torch/profiler/**",
|
||||
"torch/_prims_common/**",
|
||||
"torch/backends/**",
|
||||
# "torch/testing/**",
|
||||
"torch/_C/**",
|
||||
"torch/sparse/**",
|
||||
"torch/_library/**",
|
||||
"torch/_prims/**",
|
||||
"torch/_decomp/**",
|
||||
"torch/_meta_registrations.py",
|
||||
# formatting issues
|
||||
"torch/linalg/__init__.py",
|
||||
"torch/package/importer.py",
|
||||
|
Reference in New Issue
Block a user