forked from pool/python-ruff
- update to 0.12.5:
* \[`flake8-use-pathlib`\] Add autofix for `PTH101`, `PTH104`,
`PTH105`, `PTH121`
* \[`ruff`\] Support byte strings (`RUF055`)
* Fix `unreachable` panic in parser
* \[`flake8-pyi`\] Skip fix if all `Union` members are `None`
(`PYI016`)
* \[`perflint`\] Parenthesize generator expressions (`PERF401`)
* \[`pylint`\] Handle empty comments after line continuation
(`PLR2044`)
allow new fixes (TC001, TC002, TC003, UP037, RUF013)
* [flake8-use-pathlib] Add autofix for PTH109
* [pylint] Detect indirect pathlib.Path usages for unspecified-encoding (PLW1514)
* Bug fixes
* [flake8-bugbear] Fix B017 false negatives for keyword exception arguments
* [flake8-use-pathlib] Fix false negative on direct Path() instantiation (PTH210)
* [flake8-django] Fix DJ008 false positive for abstract models with type-annotated abstract field
* [isort] Fix I002 import insertion after docstring with multiple string statements
* [isort] Treat form feed as valid whitespace before a semicolon
* [pydoclint] Fix SyntaxError from fixes with line continuations (D201, D202)
* [refurb] FURB164 fix should validate arguments and should usually be marked unsafe
* Rule changes
* [flake8-use-pathlib] Skip single dots for invalid-pathlib-with-suffix (PTH210) on versions >= 3.14
* [pep8_naming] Avoid false positives on standard library functions with uppercase names (N802)
* [pycodestyle] Handle brace escapes for t-strings in logical lines
* [pylint] Extend invalid string character rules to include t-strings
* [ruff] Allow strict kwarg when checking for starmap-zip (RUF058) in Python 3.14+
* Documentation
* [flake8-type-checking] Make TC010 docs example more realistic
* [flake8-bugbear] Support non-context-manager calls in B017
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=167
This commit is contained in:
@@ -1,28 +1,42 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 25 15:50:14 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.12.5:
|
||||
* \[`flake8-use-pathlib`\] Add autofix for `PTH101`, `PTH104`,
|
||||
`PTH105`, `PTH121`
|
||||
* \[`ruff`\] Support byte strings (`RUF055`)
|
||||
* Fix `unreachable` panic in parser
|
||||
* \[`flake8-pyi`\] Skip fix if all `Union` members are `None`
|
||||
(`PYI016`)
|
||||
* \[`perflint`\] Parenthesize generator expressions (`PERF401`)
|
||||
* \[`pylint`\] Handle empty comments after line continuation
|
||||
(`PLR2044`)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 18 18:45:45 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||
|
||||
- update to 0.12.4
|
||||
* Preview features
|
||||
* [flake8-type-checking, pyupgrade, ruff] Add from __future__ import annotations when it would
|
||||
allow new fixes (TC001, TC002, TC003, UP037, RUF013)
|
||||
* [flake8-use-pathlib] Add autofix for PTH109
|
||||
* [pylint] Detect indirect pathlib.Path usages for unspecified-encoding (PLW1514)
|
||||
allow new fixes (TC001, TC002, TC003, UP037, RUF013)
|
||||
* [flake8-use-pathlib] Add autofix for PTH109
|
||||
* [pylint] Detect indirect pathlib.Path usages for unspecified-encoding (PLW1514)
|
||||
* Bug fixes
|
||||
* [flake8-bugbear] Fix B017 false negatives for keyword exception arguments
|
||||
* [flake8-use-pathlib] Fix false negative on direct Path() instantiation (PTH210)
|
||||
* [flake8-django] Fix DJ008 false positive for abstract models with type-annotated abstract field
|
||||
* [isort] Fix I002 import insertion after docstring with multiple string statements
|
||||
* [isort] Treat form feed as valid whitespace before a semicolon
|
||||
* [pydoclint] Fix SyntaxError from fixes with line continuations (D201, D202)
|
||||
* [refurb] FURB164 fix should validate arguments and should usually be marked unsafe
|
||||
* [flake8-bugbear] Fix B017 false negatives for keyword exception arguments
|
||||
* [flake8-use-pathlib] Fix false negative on direct Path() instantiation (PTH210)
|
||||
* [flake8-django] Fix DJ008 false positive for abstract models with type-annotated abstract field
|
||||
* [isort] Fix I002 import insertion after docstring with multiple string statements
|
||||
* [isort] Treat form feed as valid whitespace before a semicolon
|
||||
* [pydoclint] Fix SyntaxError from fixes with line continuations (D201, D202)
|
||||
* [refurb] FURB164 fix should validate arguments and should usually be marked unsafe
|
||||
* Rule changes
|
||||
* [flake8-use-pathlib] Skip single dots for invalid-pathlib-with-suffix (PTH210) on versions >= 3.14
|
||||
* [pep8_naming] Avoid false positives on standard library functions with uppercase names (N802)
|
||||
* [pycodestyle] Handle brace escapes for t-strings in logical lines
|
||||
* [pylint] Extend invalid string character rules to include t-strings
|
||||
* [ruff] Allow strict kwarg when checking for starmap-zip (RUF058) in Python 3.14+
|
||||
* [flake8-use-pathlib] Skip single dots for invalid-pathlib-with-suffix (PTH210) on versions >= 3.14
|
||||
* [pep8_naming] Avoid false positives on standard library functions with uppercase names (N802)
|
||||
* [pycodestyle] Handle brace escapes for t-strings in logical lines
|
||||
* [pylint] Extend invalid string character rules to include t-strings
|
||||
* [ruff] Allow strict kwarg when checking for starmap-zip (RUF058) in Python 3.14+
|
||||
* Documentation
|
||||
* [flake8-type-checking] Make TC010 docs example more realistic
|
||||
* [flake8-type-checking] Make TC010 docs example more realistic
|
||||
* Make more documentation examples error out-of-the-box
|
||||
|
||||
-------------------------------------------------------------------
|
||||
@@ -30,25 +44,25 @@ Sun Jul 13 11:33:49 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||
|
||||
- update to 0.12.3:
|
||||
* Preview features
|
||||
* [flake8-bugbear] Support non-context-manager calls in B017
|
||||
* [flake8-use-pathlib] Add autofixes for PTH100, PTH106, PTH107, PTH108, PTH110, PTH111, PTH112, PTH113, PTH114, PTH115, PTH117, PTH119, PTH120
|
||||
* [flake8-use-pathlib] Add autofixes for PTH203, PTH204, PTH205
|
||||
* [flake8-bugbear] Support non-context-manager calls in B017
|
||||
* [flake8-use-pathlib] Add autofixes for PTH100, PTH106, PTH107, PTH108, PTH110, PTH111, PTH112, PTH113, PTH114, PTH115, PTH117, PTH119, PTH120
|
||||
* [flake8-use-pathlib] Add autofixes for PTH203, PTH204, PTH205
|
||||
* Bug fixes
|
||||
* [flake8-return] Fix false-positive for variables used inside nested functions in RET504
|
||||
* Treat form feed as valid whitespace before a line continuation
|
||||
* [flake8-type-checking] Fix syntax error introduced by fix (TC008)
|
||||
* [pyupgrade] Keyword arguments in super should suppress the UP008 fix
|
||||
* [flake8-return] Fix false-positive for variables used inside nested functions in RET504
|
||||
* Treat form feed as valid whitespace before a line continuation
|
||||
* [flake8-type-checking] Fix syntax error introduced by fix (TC008)
|
||||
* [pyupgrade] Keyword arguments in super should suppress the UP008 fix
|
||||
* Documentation
|
||||
* [flake8-pyi] Make example error out-of-the-box (PYI007, PYI008)
|
||||
* [flake8-simplify] Make example error out-of-the-box (SIM116)
|
||||
* [flake8-type-checking] Make example error out-of-the-box (TC001)
|
||||
* [flake8-use-pathlib] Make example error out-of-the-box (PTH210)
|
||||
* [pycodestyle] Make example error out-of-the-box (E272)
|
||||
* [pycodestyle] Make example not raise unnecessary SyntaxError (E114)
|
||||
* [pydoclint] Make example error out-of-the-box (DOC501)
|
||||
* [pylint, pyupgrade] Fix syntax errors in examples (PLW1501, UP028)
|
||||
* [pylint] Update missing-maxsplit-arg docs and error to suggest proper usage (PLC0207)
|
||||
* [flake8-bandit] Make example error out-of-the-box (S412)
|
||||
* [flake8-pyi] Make example error out-of-the-box (PYI007, PYI008)
|
||||
* [flake8-simplify] Make example error out-of-the-box (SIM116)
|
||||
* [flake8-type-checking] Make example error out-of-the-box (TC001)
|
||||
* [flake8-use-pathlib] Make example error out-of-the-box (PTH210)
|
||||
* [pycodestyle] Make example error out-of-the-box (E272)
|
||||
* [pycodestyle] Make example not raise unnecessary SyntaxError (E114)
|
||||
* [pydoclint] Make example error out-of-the-box (DOC501)
|
||||
* [pylint, pyupgrade] Fix syntax errors in examples (PLW1501, UP028)
|
||||
* [pylint] Update missing-maxsplit-arg docs and error to suggest proper usage (PLC0207)
|
||||
* [flake8-bandit] Make example error out-of-the-box (S412)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 4 11:36:37 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
Reference in New Issue
Block a user