Releases: hakancelikdev/unimport
1.2.1
[1.2.1] - 2023-12-24
Added
- Python 3.12 support added
1.2.0
[1.2.0] - 2023-12-22
Changed
- Python 3.6 support dropped
- Python 3.7 support dropped
Fixed
-
Improved Type Comment Analysis
To ensure accurate type comment analysis, a crucial fix was implemented in the code.
The update involves refining the process by adding a check within ast.AnnAssign and
ast.arg types. Specifically, the code now includes a verification that
visit_Constant occurs under an annotation, addressing unnecessary name discovery
issues for better accuracy in type_comment assessment.import sys from typing import ( List, ) test_list: List[str] = ["spam", "eggs"] # it thought spam and eggs were a ast.Name object.
1.1.0
[1.1.0] - 2023-11-17
Added
- Support for Python version 3.11.
- It is suitable for the versions we officially support, Unimport cannot be used with Python version 3.12.
1.0.1
Finally, version 1.0.0 is ready
[1.0.0] - 2023-07-07
Added
-
Automatically pick up config options from setup.cfg if it is present in the project
root else check and if it exists use pyproject.toml.
#256If you want you can disable this feature by passing
--disable-auto-discovery-config
-
Add github-action #229
-
Add support like command line commands in configuration files. #287
Fixed
- ignore-init setting is not working from command line call
#263 - Running without options or a config file
#281 - Attribute as import refactor #284
Changed
- Raise more human-readable exceptions when the key is mistyped in the configuration
#286
Fix: ignore-init setting is not working from the command line call
Support like CLI in configuration files & Human-readable exceptions
Fix: attribute as import refactor issue
0.14.1 - Fix: running without options or a config file
0.14.0 - Automatically pick up config file
Changelog
[0.14.0] - 2023-02-03
Added
-
Automatically pick up config options from setup.cfg if it is present in the project
root else check and if it exists use pyproject.toml. #256If you want you can disable this feature by passing
--disable-auto-discovery-config