File tree Expand file tree Collapse file tree 6 files changed +22
-5
lines changed
Expand file tree Collapse file tree 6 files changed +22
-5
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ inputs:
1010runs :
1111 using : " composite"
1212 steps :
13- - run : pip install --upgrade pip && python -m pip install unimport==1.3.0
13+ - run : pip install --upgrade pip && python -m pip install unimport==1.3.1
1414 shell : bash
1515 - run : unimport --color auto --gitignore --ignore-init ${{ inputs.extra_args }}
1616 shell : bash
Original file line number Diff line number Diff line change 22
33All notable changes to this project will be documented in this file.
44
5+ ## [ 1.3.1] - 2026-02-18
6+
7+ ### Fixed
8+
9+ - Fix false positive when import and usage are on the same semicolon-separated line
10+ [ #292 ] ( https://github.com/hakancelikdev/unimport/issues/292 )
11+ - Fix nested if statement dispatch not recognized (e.g. TYPE_CHECKING inside version
12+ check) [ #294 ] ( https://github.com/hakancelikdev/unimport/issues/294 )
13+ - Fix incorrect removal of runtime import shadowed by TYPE_CHECKING import
14+ [ #313 ] ( https://github.com/hakancelikdev/unimport/issues/313 )
15+ - Fix import after use in function incorrectly removed
16+ [ #178 ] ( https://github.com/hakancelikdev/unimport/issues/178 )
17+ - Fix subpackage import incorrectly removed when sibling subpackage is used
18+ [ #180 ] ( https://github.com/hakancelikdev/unimport/issues/180 )
19+ - Fix/deduplicate clashing star import suggestions
20+ - Preserve comments when removing unused imports
21+
522## [ 1.3.0] - 2025-08-01
623
724### Added
Original file line number Diff line number Diff line change @@ -29,5 +29,5 @@ process with Unimport.
2929
3030- ** Documentation** https://unimport.hakancelik.dev/
3131- ** Issues** https://github.com/hakancelikdev/unimport/issues/
32- - ** Changelog** https://unimport.hakancelik.dev/1.3.0 /CHANGELOG/
32+ - ** Changelog** https://unimport.hakancelik.dev/1.3.1 /CHANGELOG/
3333- ** Playground** https://playground-unimport.hakancelik.dev/
Original file line number Diff line number Diff line change 2727 - uses : actions/checkout@v3.5.3
2828 - uses : actions/setup-python@v4.6.1
2929 - name : Check unused imports
30- uses : hakancelikdev/unimport@1.3.0
30+ uses : hakancelikdev/unimport@1.3.1
3131 with :
3232 extra_args : --include src/
3333` ` `
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ dependencies = [
4747[project .urls ]
4848Documentation = " https://unimport.hakancelik.dev/"
4949Issues = " https://github.com/hakancelikdev/unimport/issues/"
50- Changelog = " https://unimport.hakancelik.dev/1.3.0 /CHANGELOG/"
50+ Changelog = " https://unimport.hakancelik.dev/1.3.1 /CHANGELOG/"
5151
5252[project .optional-dependencies ]
5353docs = [
Original file line number Diff line number Diff line change 1- __version__ = "1.3.0 "
1+ __version__ = "1.3.1 "
22__description__ = "A linter, formatter for finding and removing unused import statements."
You can’t perform that action at this time.
0 commit comments