Skip to content

Releases: hakancelikdev/unimport

1.2.1

24 Dec 07:41
Compare
Choose a tag to compare

[1.2.1] - 2023-12-24

Added

  • Python 3.12 support added

1.2.0

22 Dec 16:31
Compare
Choose a tag to compare

[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

17 Nov 20:59
Compare
Choose a tag to compare

[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

17 Nov 18:54
Compare
Choose a tag to compare

[1.0.1] - 2023-11-17

Changed

  • Implement strtobool function (and remove distutils dependency)
    #297

Finally, version 1.0.0 is ready

07 Jul 11:07
Compare
Choose a tag to compare

[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.
    #256

    If 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

06 Jul 05:42
Compare
Choose a tag to compare

[0.16.1] - 2023-07-05

Fixed

  • Fix: ignore-init setting is not working from the command line call
    #263

Support like CLI in configuration files & Human-readable exceptions

03 Apr 22:44
Compare
Choose a tag to compare

[0.16.0] - 2023-04-04

Added

  • Add support like command line commands in configuration files. #287

Changed

  • Raise more human-readable exceptions when the key is mistyped in the configuration. #286

Fix: attribute as import refactor issue

31 Mar 00:00
Compare
Choose a tag to compare

[0.15.0] - 2023-03-31

Fixed

  • Fix: attribute as import refactor #284

0.14.1 - Fix: running without options or a config file

04 Feb 07:24
Compare
Choose a tag to compare

[0.14.1] - 2023-02-04

Fixed

  • Running without options or a config file #281.

0.14.0 - Automatically pick up config file

03 Feb 15:45
Compare
Choose a tag to compare

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. #256

    If you want you can disable this feature by passing --disable-auto-discovery-config