Sourced from isort's releases.
5.13.2
Changes
- Apply the bracket fix from issue 471 only for use_parentheses=True (#2184)
@bp72
- confine pre-commit to stages (#2213)
@davidculley
:beetle: Fixes
- Fix colors extras (#2212)
@staticdev
5.13.1
Changes
- Fix integration tests (#2208)
@bp72
- Added a fix for normalizing imports from more than one level of parent modules (issue/2152) (#2191)
@bp72
:beetle: Fixes
- Remove optional dependencies without extras (#2207)
@staticdev
5.13.0
Changes
- Fix 80 line length for
wemake
linter (#2183)@skatromb
- Add support for Python 3.12 (#2175)
@hugovk
- fix: add newest version to pre-commit docs (#2190)
@AzulGarza
- Fix assertions in
test_git_hook
(#2196)@mgorny
- Removed check for include_trailing_comma for the Hanging Indent wrap mode (#2192)
@bp72
- use the standard library tomllib on sufficiently new python (#2202)
@eli-schwartz
- Update pre-commit.md version number (#2197)
@nicobako
- doc: Update black_compatibility.md (#2177)
@JSS95
- Fix safety sept 2023 (#2178)
@staticdev
- docs: fix black profile documentation (#2163)
@nijel
- fix typo: indended -> indented (#2161)
@vadimkerr
- docs(configuration/options.md): fix missing trailing spaces for hard linebreak (#2157)
@JoeyTeng
- Update pre-commit.md (#2148)
@godiard
- chore: move configurations to
pyproject.toml
(#2115)@SauravMaheshkar
- Fix typo in README (#2112)
@stefmolin
- Update version in pre-commit setup to avoid installation issue with poetry (#2103)
@stefmolin
- Skip .pytype directory by default. (#2098)
@manueljacob
- Fix a tip block styling in the Config Files section (#2097)
@Klavionik
- Do not cache configuration files (#1995)
@kaste
- Derive
settings_path
from--filename
(#1992)@kaste
- Fix year of version 5.12.0 in CHANGELOG.md (#2082)
@DjLegolas
:fire: Removals and Deprecations
- Cleanup deprecated extras (#2089)
@staticdev
:package: Dependencies
... (truncated)
Sourced from isort's changelog.
5.13.2 December 13 2023
- Apply the bracket fix from issue #471 only for use_parentheses=True (#2184)
@bp72
- Confine pre-commit to stages (#2213)
@davidculley
- Fixed colors extras (#2212)
@staticdev
5.13.1 December 11 2023
- Fixed integration tests (#2208)
@bp72
- Fixed normalizing imports from more than one level of parent modules (issue/2152) (#2191)
@bp72
- Remove optional dependencies without extras (#2207)
@staticdev
5.13.0 December 9 2023
- Cleanup deprecated extras (#2089)
@staticdev
- Fixed #1989: settings lookup when working in stream based mode
- Fixed 80 line length for wemake linter (#2183)
@skatromb
- Add support for Python 3.12 (#2175)
@hugovk
- Fixed: add newest version to pre-commit docs (#2190)
@AzulGarza
- Fixed assertions in test_git_hook (#2196)
@mgorny
- Removed check for include_trailing_comma for the Hanging Indent wrap mode (#2192)
@bp72
- Use the standard library tomllib on sufficiently new python (#2202)
@eli-schwartz
- Update pre-commit.md version number (#2197)
@nicobako
- doc: Update black_compatibility.md (#2177)
@JSS95
- Fixed safety sept 2023 (#2178)
@staticdev
- docs: fix black profile documentation (#2163)
@nijel
- Fixed typo: indended -> indented (#2161)
@vadimkerr
- Docs(configuration/options.md): fix missing trailing spaces for hard linebreak (#2157)
@JoeyTeng
- Update pre-commit.md (#2148)
@godiard
- chore: move configurations to pyproject.toml (#2115)
@SauravMaheshkar
- Fixed typo in README (#2112)
@stefmolin
- Update version in pre-commit setup to avoid installation issue with poetry (#2103)
@stefmolin
- Skip .pytype directory by default. (#2098)
@manueljacob
- Fixed a tip block styling in the Config Files section (#2097)
@Klavionik
- Do not cache configuration files (#1995)
@kaste
- Derive settings_path from --filename (#1992)
@kaste
- Fixed year of version 5.12.0 in CHANGELOG.md (#2082)
@DjLegolas
c655831
Merge pull request #2214
from PyCQA/version/5.13.2b4335b4
Prepare version 5.13.2c36e43c
Merge pull request #2184
from bp72/issue/2154e38702f
Merge pull request #2213
from davidculley/confine-precommit-to-stagesee8d87f
Add fix for the error found by hypothesis5849ec2
Apply the bracket fix from issue 471 only for use_parentheses=Truedf0e119
confine pre-commit to stages9255bca
Merge pull request #2212
from PyCQA/bugfix/#2211-colors-extra5336d7d
Fix colors extras643d9c4
Merge pull request #2210
from PyCQA/version/5.13.1Sourced from mypy's changelog.
Mypy Release Notes
Next release
Mypy 1.8
We’ve just uploaded mypy 1.8 to the Python Package Index (PyPI). Mypy is a static type checker for Python. This release includes new features, performance improvements and bug fixes. You can install it as follows:
python3 -m pip install -U mypy
You can read the full documentation for this release on Read the Docs.
Type-checking Improvements
- Do not intersect types in isinstance checks if at least one is final (Christoph Tyralla, PR 16330)
- Detect that
@final
class without__bool__
cannot have falsey instances (Ilya Priven, PR 16566)- Do not allow
TypedDict
classes with extra keywords (Nikita Sobolev, PR 16438)- Do not allow class-level keywords for
NamedTuple
(Nikita Sobolev, PR 16526)- Make imprecise constraints handling more robust (Ivan Levkivskyi, PR 16502)
- Fix strict-optional in extending generic TypedDict (Ivan Levkivskyi, PR 16398)
- Allow type ignores of PEP 695 constructs (Shantanu, PR 16608)
- Enable
type_check_only
support forTypedDict
andNamedTuple
(Nikita Sobolev, PR 16469)Performance Improvements
- Add fast path to analyzing special form assignments (Jukka Lehtosalo, PR 16561)
Improvements to Error Reporting
- Don't show documentation links for plugin error codes (Ivan Levkivskyi, PR 16383)
- Improve error messages for
super
checks and add more tests (Nikita Sobolev, PR 16393)- Add error code for mutable covariant override (Ivan Levkivskyi, PR 16399)
Stubgen Improvements
- Preserve simple defaults in function signatures (Ali Hamdan, PR 15355)
- Include
__all__
in output (Jelle Zijlstra, PR 16356)- Fix stubgen regressions with pybind11 and mypy 1.7 (Chad Dombrova, PR 16504)
Stubtest Improvements
- Improve handling of unrepresentable defaults (Jelle Zijlstra, PR 16433)
- Print more helpful errors if a function is missing from stub (Alex Waygood, PR 16517)
- Support
@type_check_only
decorator (Nikita Sobolev, PR 16422)- Warn about missing
__del__
(Shantanu, PR 16456)- Fix crashes with some uses of
final
anddeprecated
(Shantanu, PR 16457)Fixes to Crashes
- Fix crash with type alias to
Callable[[Unpack[Tuple[Any, ...]]], Any]
(Alex Waygood, PR 16541)- Fix crash on TypeGuard in
__call__
(Ivan Levkivskyi, PR 16516)- Fix crash on invalid enum in method (Ivan Levkivskyi, PR 16511)
- Fix crash on unimported Any in TypedDict (Ivan Levkivskyi, PR 16510)
Documentation Updates
- Update soft-error-limit default value to -1 (Sveinung Gundersen, PR 16542)
... (truncated)
3b46750
remove +dev suffix from versionc9bc833
Fix tests broken by hatchling (#16655)60d30e3
Fix crash with type alias to Callable[[Unpack[Tuple[Any, ...]]],
Any]
(#16541)f53f422
Allow type ignores of PEP 695 constructs (#16608)7c33e7c
@final
class
without bool cannot have falsey instances (#16566)c224da5
Do not intersect types in isinstance checks if at least one is final (#16330)d54cc35
Change example in test cases with no stubs available (#16513)eb1ee97
Update hashes in sync-typeshed.py
following recent typeshed
sync (#16600)344298e
Revert use of ParamSpec
for
functools.wraps
3e5d813
Revert typeshed ctypes change