mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
Enable all flake8-logging-format rules (#164655)
These rules are enabled by removing existing suppressions. Pull Request resolved: https://github.com/pytorch/pytorch/pull/164655 Approved by: https://github.com/janeyx99, https://github.com/mlazos
This commit is contained in:
committed by
PyTorch MergeBot
parent
c4f6619330
commit
3255e7872b
@ -448,8 +448,8 @@ def load(
|
||||
f,
|
||||
expected_opset_version=expected_opset_version,
|
||||
)
|
||||
except RuntimeError as e:
|
||||
log.warning("Ran into the following error when deserializing: %s", e)
|
||||
except RuntimeError:
|
||||
log.warning("Ran into the following error when deserializing", exc_info=True)
|
||||
pt2_contents = PT2ArchiveContents({}, {}, {})
|
||||
|
||||
if len(pt2_contents.exported_programs) > 0 or len(pt2_contents.extra_files) > 0:
|
||||
|
Reference in New Issue
Block a user