Skip to content

Commit 11c76bf

Browse files
authored
Bump 0.16.4 (#27937)
1 parent d53c8c5 commit 11c76bf

83 files changed

Lines changed: 252 additions & 195 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎CHANGELOG.md‎

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,62 @@
11
# Changelog
22

3+
## 0.16.4
4+
5+
Released on 2026-08-20.
6+
7+
### Preview features
8+
9+
- \[`flake8-use-pathlib`\] Add autofix for `PTH116` ([#26460](https://github.com/astral-sh/ruff/pull/26460))
10+
- \[`refurb`\] Restrict `delete-full-slice` to lists (`FURB131`) ([#27711](https://github.com/astral-sh/ruff/pull/27711))
11+
- \[`refurb`\] Skip `FURB101` and `FURB103` when the `open` argument is a file descriptor ([#27643](https://github.com/astral-sh/ruff/pull/27643))
12+
13+
### Bug fixes
14+
15+
- Fix `InvalidInstruction` on Windows CPUs that do not support `POPCNT` ([#27803](https://github.com/astral-sh/ruff/pull/27803))
16+
- \[`pyflakes`\] Emit semantic syntax errors in string type definitions as `F722` ([#27835](https://github.com/astral-sh/ruff/pull/27835))
17+
- \[`pylint`\] Allow `os._exit` imports in `import-private-name` (`PLC2701`) ([#27738](https://github.com/astral-sh/ruff/pull/27738))
18+
19+
### Rule changes
20+
21+
- [syntax-errors] Align mixed t-string/bytes error message with CPython 3.14 ([#27766](https://github.com/astral-sh/ruff/pull/27766))
22+
- \[`ruff`\] Add `ctypes.LittleEndianStructure` and related types to existing exception (`RUF012`) ([#27753](https://github.com/astral-sh/ruff/pull/27753))
23+
- [syntax-errors] Detect duplicate keyword arguments ([#17804](https://github.com/astral-sh/ruff/pull/17804))
24+
- [syntax-errors] Detect parameters declared `nonlocal` ([#27628](https://github.com/astral-sh/ruff/pull/27628))
25+
26+
### Server
27+
28+
- Offer display-only fixes and mark safe fixes preferred ([#27807](https://github.com/astral-sh/ruff/pull/27807))
29+
- Support pull diagnostics for notebook cells ([#27779](https://github.com/astral-sh/ruff/pull/27779))
30+
31+
### Documentation
32+
33+
- Add default indicator to rules table ([#27724](https://github.com/astral-sh/ruff/pull/27724))
34+
- Fix broken link to Python docs ([#27757](https://github.com/astral-sh/ruff/pull/27757))
35+
36+
### Other changes
37+
38+
- Fix s390x stacker assembly in release builds ([#27776](https://github.com/astral-sh/ruff/pull/27776))
39+
- Guarantee minimum stack size when parsing a module, standalone expression, and suites ([#25464](https://github.com/astral-sh/ruff/pull/25464))
40+
- Reduce configuration deserialization code size ([#27924](https://github.com/astral-sh/ruff/pull/27924))
41+
- Check packed AST index bounds ([#27849](https://github.com/astral-sh/ruff/pull/27849))
42+
43+
### Contributors
44+
45+
- [@AbhinavMir](https://github.com/AbhinavMir)
46+
- [@eduardorittner](https://github.com/eduardorittner)
47+
- [@royb3](https://github.com/royb3)
48+
- [@MichaReiser](https://github.com/MichaReiser)
49+
- [@carljm](https://github.com/carljm)
50+
- [@rosstitmarsh](https://github.com/rosstitmarsh)
51+
- [@ntBre](https://github.com/ntBre)
52+
- [@zaniebot](https://github.com/zaniebot)
53+
- [@ewdurbin](https://github.com/ewdurbin)
54+
- [@woodruffw](https://github.com/woodruffw)
55+
- [@Sacrimento](https://github.com/Sacrimento)
56+
- [@lakshayxi](https://github.com/lakshayxi)
57+
- [@WhiteFox0-0](https://github.com/WhiteFox0-0)
58+
- [@baltasarblanco](https://github.com/baltasarblanco)
59+
360
## 0.16.3
461

562
Released on 2026-08-13.

‎Cargo.lock‎

Lines changed: 37 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)