Bump version to v0.1.6 (#8744) · astral-sh/ruff@f460f9c (original) (raw)
1
1
`# Changelog
`
2
2
``
``
3
`+
0.1.6
`
``
4
+
``
5
`+
Preview features
`
``
6
+
``
7
`` +
- [
flake8-boolean-trap
] Extendboolean-type-hint-positional-argument
(FBT001
) to include booleans in unions (#7501)
``
``
8
`` +
- [
flake8-pie
] Extendreimplemented-list-builtin
(PIE807
) todict
reimplementations (#8608)
``
``
9
`` +
- [
flake8-pie
] Extendunnecessary-pass
(PIE790
) to include ellipses (...
) (#8641)
``
``
10
`` +
- [
flake8-pie
] Implement fix forunnecessary-spread
(PIE800
) (#8668)
``
``
11
`` +
- [
flake8-quotes
] Implementunnecessary-escaped-quote
(Q004
) (#8630)
``
``
12
`` +
- [
pycodestyle
] Implement fix formultiple-spaces-after-keyword
(E271
) andmultiple-spaces-before-keyword
(E272
) (#8622)
``
``
13
`` +
- [
pycodestyle
] Implement fix formultiple-spaces-after-operator
(E222
) andmultiple-spaces-before-operator
(E221
) (#8623)
``
``
14
`` +
- [
pyflakes
] Extendis-literal
(F632
) to include comparisons against mutable initializers (#8607)
``
``
15
`` +
- [
pylint
] Implementredefined-argument-from-local
(PLR1704
) (#8159)
``
``
16
`` +
- [
pylint
] Implement fix forunnecessary-lambda
(PLW0108
) (#8621)
``
``
17
`` +
- [
refurb
] Implementif-expr-min-max
(FURB136
) (#8664)
``
``
18
`` +
- [
refurb
] Implementmath-constant
(FURB152
) (#8727)
``
``
19
+
``
20
`+
Rule changes
`
``
21
+
``
22
`` +
- [
flake8-annotations
] Add autotyping-like return type inference for annotation rules (#8643)
``
``
23
`` +
- [
flake8-future-annotations
] Implement fix forfuture-required-type-annotation
(FA102
) (#8711)
``
``
24
`` +
- [
flake8-implicit-namespace-package
] Avoid missing namespace violations in scripts with shebangs (#8710)
``
``
25
`` +
- [
pydocstyle
] Updateover-indentation
(D208
) to preserve indentation offsets when fixing overindented lines (#8699)
``
``
26
`` +
- [
pyupgrade
] Refinetimeout-error-alias
(UP041
) to remove false positives (#8587)
``
``
27
+
``
28
`+
Formatter
`
``
29
+
``
30
`` +
- Fix instability in
await
formatting with fluent style (#8676)
``
``
31
`+
- Compare formatted and unformatted ASTs during formatter tests (#8624)
`
``
32
`+
- Preserve trailing semicolon for Notebooks (#8590)
`
``
33
+
``
34
`+
CLI
`
``
35
+
``
36
`+
- Improve debug printing for resolving origin of config settings (#8729)
`
``
37
`+
- Write unchanged, excluded files to stdout when read via stdin (#8596)
`
``
38
+
``
39
`+
Configuration
`
``
40
+
``
41
`` +
- [
isort
] Support disabling sections withno-sections = true
(#8657)
``
``
42
`` +
- [
pep8-naming
] Support local and dynamic class- and static-method decorators (#8592)
``
``
43
`` +
- [
pydocstyle
] Allow overriding pydocstyle convention rules (#8586)
``
``
44
+
``
45
`+
Bug fixes
`
``
46
+
``
47
`` +
- Avoid syntax error via importing
trio.lowlevel
(#8730)
``
``
48
`` +
- Omit unrolled augmented assignments in
PIE794
(#8634)
``
``
49
`` +
- Slice source code instead of generating it for
EM
fixes (#7746)
``
``
50
`` +
- Allow whitespace around colon in slices for
whitespace-before-punctuation
(E203
) (#8654)
``
``
51
`` +
- Use function range for
no-self-use
(#8637)
``
``
52
`` +
- F-strings doesn't contain bytes literal for
PLW0129
(#8675)
``
``
53
`` +
- Improve detection of
TYPE_CHECKING
blocks imported fromtyping_extensions
or_typeshed
(#8429)
``
``
54
`+
- Treat display as a builtin in IPython (#8707)
`
``
55
`` +
- Avoid
FURB113
autofix if comments are present (#8494)
``
``
56
`` +
- Consider the new f-string tokens for
flake8-commas
(#8582)
``
``
57
`+
- Remove erroneous bad-dunder-name reference (#8742)
`
``
58
`+
- Avoid recommending Self usages in metaclasses (#8639)
`
``
59
`+
- Detect runtime-evaluated base classes defined in the current file (#8572)
`
``
60
`+
- Avoid inserting trailing commas within f-strings (#8574)
`
``
61
`+
- Remove incorrect deprecation label for stdout and stderr (#8743)
`
``
62
`+
- Fix unnecessary parentheses in UP007 fix (#8610)
`
``
63
`+
- Remove repeated and erroneous scoped settings headers in docs (#8670)
`
``
64
`+
- Trim trailing empty strings when converting to f-strings (#8712)
`
``
65
`` +
- Fix ordering for
force-sort-within-sections
(#8665)
``
``
66
`+
- Run unicode prefix rule over tokens (#8709)
`
``
67
`+
- Update UP032 to unescape curly braces in literal parts of converted strings (#8697)
`
``
68
`+
- List all ipython builtins (#8719)
`
``
69
+
``
70
`+
Documentation
`
``
71
+
``
72
`+
- Document conventions in the FAQ (#8638)
`
``
73
`+
- Redirect from rule codes to rule pages in docs (#8636)
`
``
74
`+
- Fix permalink to convention setting (#8575)
`
``
75
+
3
76
`## 0.1.5
`
4
77
``
5
78
`### Preview features
`