Update TorchFix to 0.2.0 (#114190)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/114190
Approved by: https://github.com/malfet
This commit is contained in:
Sergii Dymchenko
2023-11-21 03:46:24 +00:00
committed by PyTorch MergeBot
parent e76c54bd87
commit f67696f45e
4 changed files with 7 additions and 2 deletions

View File

@ -26,6 +26,9 @@ ignore =
# TorchFix codes that don't make sense for PyTorch itself:
# removed and deprecated PyTorch functions.
TOR001,TOR101,
# TODO(kit1980): fix all TOR102 issues
# `torch.load` without `weights_only` parameter is unsafe
TOR102,
per-file-ignores =
__init__.py: F401
torch/utils/cpp_extension.py: B950

View File

@ -6,6 +6,7 @@ on:
paths:
- .ci/docker/**
- .github/workflows/docker-builds.yml
- .lintrunner.toml
push:
branches:
- main
@ -14,6 +15,7 @@ on:
paths:
- .ci/docker/**
- .github/workflows/docker-builds.yml
- .lintrunner.toml
schedule:
- cron: 1 3 * * 3

View File

@ -48,7 +48,7 @@ init_command = [
'mccabe==0.7.0',
'pycodestyle==2.10.0',
'pyflakes==3.0.1',
'torchfix==0.1.1',
'torchfix==0.2.0',
]

View File

@ -8,4 +8,4 @@ flake8-pyi==20.5.0
mccabe==0.6.1
pycodestyle==2.6.0
pyflakes==2.2.0
torchfix==0.1.1
torchfix==0.2.0