From 55da3d0d0065392c1b74af7e75820a9a3967b4ba Mon Sep 17 00:00:00 2001 From: Sergii Dymchenko Date: Thu, 18 Apr 2024 10:36:25 -0700 Subject: [PATCH] Bump version to 0.5.0 (#40) Preparing 0.5.0 release. - Added rule TOR203 to replace 'import torchvision.models as models' with 'from torchvision import models' - Added rules TOR104 and TOR105 for calling and importing non-public PyTorch functions that have known public aliases - Added rules TOR004 and TOR103 for importing removed and deprecated functions (in addition to the existing rules for calling those functions) - Fixed loading for deprecated symbols config in zipped deployments - Done several smaller refactorings and bug fixes --- torchfix/torchfix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torchfix/torchfix.py b/torchfix/torchfix.py index 4a1de3c..dda4057 100644 --- a/torchfix/torchfix.py +++ b/torchfix/torchfix.py @@ -24,7 +24,7 @@ ) from .visitors.security import TorchUnsafeLoadVisitor -__version__ = "0.4.0" +__version__ = "0.5.0" DEPRECATED_CONFIG_PATH = "deprecated_symbols.yaml"