|
1 | 1 | # Changelog
|
2 | 2 |
|
| 3 | +## 0.3.4 |
| 4 | + |
| 5 | +### Preview features |
| 6 | + |
| 7 | +- \[`flake8-simplify`\] Detect implicit `else` cases in `needless-bool` (`SIM103`) ([#10414](https://github.com/astral-sh/ruff/pull/10414)) |
| 8 | +- \[`pylint`\] Implement `nan-comparison` (`PLW0117`) ([#10401](https://github.com/astral-sh/ruff/pull/10401)) |
| 9 | +- \[`pylint`\] Implement `nonlocal-and-global` (`E115`) ([#10407](https://github.com/astral-sh/ruff/pull/10407)) |
| 10 | +- \[`pylint`\] Implement `singledispatchmethod-function` (`PLE5120`) ([#10428](https://github.com/astral-sh/ruff/pull/10428)) |
| 11 | +- \[`refurb`\] Implement `list-reverse-copy` (`FURB187`) ([#10212](https://github.com/astral-sh/ruff/pull/10212)) |
| 12 | + |
| 13 | +### Rule changes |
| 14 | + |
| 15 | +- \[`flake8-pytest-style`\] Add automatic fix for `pytest-parametrize-values-wrong-type` (`PT007`) ([#10461](https://github.com/astral-sh/ruff/pull/10461)) |
| 16 | +- \[`pycodestyle`\] Allow SPDX license headers to exceed the line length (`E501`) ([#10481](https://github.com/astral-sh/ruff/pull/10481)) |
| 17 | + |
| 18 | +### Formatter |
| 19 | + |
| 20 | +- Fix unstable formatting for trailing subscript end-of-line comment ([#10492](https://github.com/astral-sh/ruff/pull/10492)) |
| 21 | + |
| 22 | +### Bug fixes |
| 23 | + |
| 24 | +- Avoid code comment detection in PEP 723 script tags ([#10464](https://github.com/astral-sh/ruff/pull/10464)) |
| 25 | +- Avoid incorrect tuple transformation in single-element case (`C409`) ([#10491](https://github.com/astral-sh/ruff/pull/10491)) |
| 26 | +- Bug fix: Prevent fully defined links [`name`](link) from being reformatted ([#10442](https://github.com/astral-sh/ruff/pull/10442)) |
| 27 | +- Consider raw source code for `W605` ([#10480](https://github.com/astral-sh/ruff/pull/10480)) |
| 28 | +- Docs: Link inline settings when not part of options section ([#10499](https://github.com/astral-sh/ruff/pull/10499)) |
| 29 | +- Don't treat annotations as redefinitions in `.pyi` files ([#10512](https://github.com/astral-sh/ruff/pull/10512)) |
| 30 | +- Fix `E231` bug: Inconsistent catch compared to pycodestyle, such as when dict nested in list ([#10469](https://github.com/astral-sh/ruff/pull/10469)) |
| 31 | +- Fix pylint upstream categories not showing in docs ([#10441](https://github.com/astral-sh/ruff/pull/10441)) |
| 32 | +- Add missing `Options` references to blank line docs ([#10498](https://github.com/astral-sh/ruff/pull/10498)) |
| 33 | +- 'Revert "F821: Fix false negatives in .py files when `from __future__ import annotations` is active (#10362)"' ([#10513](https://github.com/astral-sh/ruff/pull/10513)) |
| 34 | +- Apply NFKC normalization to unicode identifiers in the lexer ([#10412](https://github.com/astral-sh/ruff/pull/10412)) |
| 35 | +- Avoid failures due to non-deterministic binding ordering ([#10478](https://github.com/astral-sh/ruff/pull/10478)) |
| 36 | +- \[`flake8-bugbear`\] Allow tuples of exceptions (`B030`) ([#10437](https://github.com/astral-sh/ruff/pull/10437)) |
| 37 | +- \[`flake8-quotes`\] Avoid syntax errors due to invalid quotes (`Q000, Q002`) ([#10199](https://github.com/astral-sh/ruff/pull/10199)) |
| 38 | + |
3 | 39 | ## 0.3.3
|
4 | 40 |
|
5 | 41 | ### Preview features
|
|
0 commit comments