Skip to content

Latest commit

 

History

History
127 lines (95 loc) · 4.01 KB

CHANGELOG.md

File metadata and controls

127 lines (95 loc) · 4.01 KB

Changelog

NEXT


0.6.0


⭐ New

  • Official support for Python 3.13 (#45).
    This is an almost empty patch as no breaking changes of Python 3.13 affect this plugin. Only documentation, project metadata as well as some tooling needed adjustments.

🔧 Fixes

  • Make multi-line string exemptions more lenient (#47).
    Allow redundant parenthesis around multi-line string in function calls. For example:
    # GOOD
    func(
        (
            "a"
            "b"
        ),
        "c",
    )

0.5.5


⭐ New

  • Exempt parentheses around multi-line values in comprehensions (#43).

0.5.4


⭐ New

  • Add support for flake8 version 7 (#41).
    Thanks to @Apakottur for the contribution.

0.5.3


⭐ New

  • Official support for Python 3.12 (#38, 6c311c0).
    This is an almost empty patch as no breaking changes of Python 3.12 affect this plugin. Only documentation, project metadata as well as some tooling and testing needed adjustments.

0.5.2


🔧 Fixes

  • Fix flake8 dependency being pinned to ~=3.7 (#36).

0.5.1


⭐ New

  • Exempt parentheses around multi-line strings in tuples and lists (#34).

0.5.0


⭐ New

  • Separate PAR101 codes into PAR101, PAR102, PAR103, PAR104 (#30; contribution by cyyc1)

0.4.0


⭐ New

  • Add support for Python 3.11 (#28).

0.3.2


🔧 Fixes

  • Fix exception for parentheses in slices under Python 3.9+ (#26).

0.3.1


🔧 Fixes

  • Improve exceptions for redundant parentheses in multi-line cases + clarify documentation in that area (#25).

0.3.0


⭐ New

  • Expanded exception for redundant parentheses that help to highlight operator precedence to also include unpacking arguments (*, and **) before function arguments (#23).
  • Add exception for parentheses around multi-line for parts in comprehensions (#23).

🔧 Fixes

  • Python 3.10: fix match/case statements (#24).

0.2.0


♻ Rework of PAR0xx (#22)

  • Improved documentation around exceptions to the rules.
  • Added exception for multiline keyword arguments and argument default values.
  • Rewrite of the redundant parentheses checker (PAR0xx) to increase reliability, stability and performance.

0.1.2


🔧 Fixes

  • Fix false positives caused by detecting logical lines incorrectly (#20).
  • Fix false positives in classes in Python 3.7 (#20).

0.1.1


🔧 Fixes

  • Fix complaining about necessary parentheses in multi-line unpacking assignments (#16).
  • Fix not complaining about misaligned parentheses, brackets, braces when the opening line ends on a comment (#18).

0.1.0


🎉 Initial release