Pysource-minimize

Latest version: v0.7.0

Safety actively analyzes 685670 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.7.0

Feat

- added compilable flag

Fix

- unified handling of type_params
- minimize default_value of type_params

0.6.3

Fix
- Improve error reporting when source cannot be minimized (16)
- Complete type hints for public API (15)

0.6.2

Fix

- minimize (yield) to None
- minimization of MatchClass
- minimization of default arguments
- minimize slice correctly

0.6.1

Fix

- minimize every type comment
- **3.8**: support for Index and ExtSlice
- correct minimization of FormattedValue
- ignore code in async inner scopes when we try to minimize a function to its body
- correct minimization of optional nodes

Refactor

- extracted parse function

0.6.0

Feat

- removed python 3.7 support
- minimize strings and bytes
- minimize int, float, boolean values

Fix

- fix crash when minimizing raise statements
- minimize nonlocal and global names
- remove the upper dependency bounds
- minimize kw_defaults correctly
- minimize function defaults
- added py.typed
- minimize type comments

Refactor

- created MinimizeStructure
- created MinimizeBase
- implemented ValueWrapper

0.5.0

Feat

- support for 3.12

Fix

- fixed various bugs

Page 1 of 2

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.