mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
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:
committed by
PyTorch MergeBot
parent
e76c54bd87
commit
f67696f45e
3
.flake8
3
.flake8
@ -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
|
||||
|
2
.github/workflows/docker-builds.yml
vendored
2
.github/workflows/docker-builds.yml
vendored
@ -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
|
||||
|
||||
|
@ -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',
|
||||
]
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user