Skip to content

Commit

Permalink
Bump version to 0.5.0 (#40)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
kit1980 authored Apr 18, 2024
1 parent 04bab2c commit 55da3d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchfix/torchfix.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
)
from .visitors.security import TorchUnsafeLoadVisitor

__version__ = "0.4.0"
__version__ = "0.5.0"

DEPRECATED_CONFIG_PATH = "deprecated_symbols.yaml"

Expand Down

0 comments on commit 55da3d0

Please sign in to comment.