diff --git a/python-ruff.changes b/python-ruff.changes index f55b400..dc7be34 100644 --- a/python-ruff.changes +++ b/python-ruff.changes @@ -1,3 +1,31 @@ +------------------------------------------------------------------- +Fri Oct 18 12:17:53 UTC 2024 - Ondřej Súkup + +- update to 0.7.0 + * Breaking changes + * The pytest rules PT001 and PT023 now default to omitting the decorator parentheses when there are no arguments. This was a change that we attempted to make in Ruff v0.6.0, but only partially made due to an error on our part. See the blog post for more details. + * The useless-try-except rule (in our tryceratops category) has been recoded from TRY302 to TRY203 . This ensures Ruff's code is consistent with the same rule in the tryceratops linter. + * The lint.allow-unused-imports setting has been removed . Use lint.pyflakes.allow-unused-imports instead. + * Formatter preview style + * Normalize implicit concatenated f-string quotes per part + * Preview linter features + * [refurb] implement hardcoded-string-charset (FURB156) + * [refurb] Count codepoints not bytes for slice-to-remove-prefix-or-suffix (FURB188) + * Rule changes + * [pylint] Mark PLE1141 fix as unsafe + * [flake8-async] Consider async generators to be "checkpoints" for cancel-scope-no-checkpoint (ASYNC100) + * [flake8-bugbear] Do not suggest setting parameter strict= to False in B905 diagnostic message + * [flake8-todos] Only flag the word "TODO", not words starting with "todo" (TD006) + * [pycodestyle] Fix whitespace-related false positives and false negatives inside type-parameter lists (E231, E251) + * [flake8-simplify] Stabilize preview behavior for SIM115 so that the rule can detect files being opened from a wider range of standard-library functions . + * CLI + * Add explanation of fixable in --statistics command + * Bug fixes + * [pyflakes] Allow ipytest cell magic (F401) + * [flake8-use-pathlib] Fix PTH123 false positive when open is passed a file descriptor + * [flake8-bandit] Detect patterns from multi line SQL statements (S608) + * [flake8-pyi] - Fix dropped expressions in PYI030 autofix + ------------------------------------------------------------------- Mon Oct 7 16:55:47 UTC 2024 - Ondřej Súkup diff --git a/python-ruff.spec b/python-ruff.spec index 1940cf5..9176c3f 100644 --- a/python-ruff.spec +++ b/python-ruff.spec @@ -19,7 +19,7 @@ %bcond_without libalternatives %{?sle15_python_module_pythons} Name: python-ruff -Version: 0.6.9 +Version: 0.7.0 Release: 0 Summary: An extremely fast Python linter, written in Rust License: MIT diff --git a/ruff-0.6.9.tar.gz b/ruff-0.6.9.tar.gz deleted file mode 100644 index 2d3e988..0000000 --- a/ruff-0.6.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b076ef717a8e5bc819514ee1d602bbdca5b4420ae13a9cf61a0c0a4f53a2baa2 -size 3095355 diff --git a/ruff-0.7.0.tar.gz b/ruff-0.7.0.tar.gz new file mode 100644 index 0000000..4233c07 --- /dev/null +++ b/ruff-0.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:47a86360cf62d9cd53ebfb0b5eb0e882193fc191c6d717e8bef4462bc3b9ea2b +size 3146645 diff --git a/vendor.tar.zst b/vendor.tar.zst index 366129b..6e24c97 100644 --- a/vendor.tar.zst +++ b/vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2e7a024361ffabef4f4c235e7443a1f6fcd3eb74bdc8ac5423bc3f62479032ec -size 29056618 +oid sha256:7caaf276d23e792e4458e8d3b4117783974ae8a4c4c367c6b5a3ddf9c994c1ff +size 29170653