forked from pool/python-ruff
Accepting request 1166515 from devel:languages:python
- update to 0.3.5 * Preview features * [pylint] Implement modified-iterating-set (E4703) * [refurb] Implement for-loop-set-mutations (FURB142) * [refurb] Implement unnecessary-from-float (FURB164) * [refurb] Implement verbose-decimal-constructor (FURB157) * Rule changes * [flake8-comprehensions] Handled special case for C401 which also matches C416 * [flake8-pyi] Mark unaliased-collections-abc-set-import fix as "safe" for more cases in stub files (PYI025) * [numpy] Add row_stack to NumPy 2.0 migration rule * [pycodestyle] Allow cell magics before an import (E402) * [pycodestyle] Avoid blank line rules for the first logical line in cell * Configuration * Respected nested namespace packages * [flake8-boolean-trap] Add setting for user defined allowed boolean trap * Bug fixes * Correctly handle references in __all__ definitions when renaming symbols in autofixes * Track ranges of names inside __all__ definitions * [flake8-bugbear] Avoid false positive for usage after continue (B031) * [flake8-copyright] Accept commas in default copyright pattern * [flake8-datetimez] Allow f-strings with %z for DTZ007 * [flake8-pytest-style] Fix PT014 autofix for last item in list * [flake8-quotes] Ignore Q000, Q001 when string is inside forward ref * [isort] Always place non-relative imports after relative imports * [isort] Respect Unicode characters in import sorting * [pyflakes] Fix F821 false negatives when from __future__ import annotations is active (attempt 2) * [pyflakes] Make unnecessary-lambda an always-unsafe fix * [pylint] Fixed false-positive on the rule PLW1641 (eq-without-hash) * [ruff] Fix panic in unused # noqa removal with multi-byte space (RUF100) * Documentation OBS-URL: https://build.opensuse.org/request/show/1166515 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=24
This commit is contained in:
commit
ed2154ca2a
@ -1,3 +1,45 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 9 21:33:19 UTC 2024 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||
|
||||
- update to 0.3.5
|
||||
* Preview features
|
||||
* [pylint] Implement modified-iterating-set (E4703)
|
||||
* [refurb] Implement for-loop-set-mutations (FURB142)
|
||||
* [refurb] Implement unnecessary-from-float (FURB164)
|
||||
* [refurb] Implement verbose-decimal-constructor (FURB157)
|
||||
* Rule changes
|
||||
* [flake8-comprehensions] Handled special case for C401 which also matches C416
|
||||
* [flake8-pyi] Mark unaliased-collections-abc-set-import fix as "safe" for more cases in stub files (PYI025)
|
||||
* [numpy] Add row_stack to NumPy 2.0 migration rule
|
||||
* [pycodestyle] Allow cell magics before an import (E402)
|
||||
* [pycodestyle] Avoid blank line rules for the first logical line in cell
|
||||
* Configuration
|
||||
* Respected nested namespace packages
|
||||
* [flake8-boolean-trap] Add setting for user defined allowed boolean trap
|
||||
* Bug fixes
|
||||
* Correctly handle references in __all__ definitions when renaming symbols in autofixes
|
||||
* Track ranges of names inside __all__ definitions
|
||||
* [flake8-bugbear] Avoid false positive for usage after continue (B031)
|
||||
* [flake8-copyright] Accept commas in default copyright pattern
|
||||
* [flake8-datetimez] Allow f-strings with %z for DTZ007
|
||||
* [flake8-pytest-style] Fix PT014 autofix for last item in list
|
||||
* [flake8-quotes] Ignore Q000, Q001 when string is inside forward ref
|
||||
* [isort] Always place non-relative imports after relative imports
|
||||
* [isort] Respect Unicode characters in import sorting
|
||||
* [pyflakes] Fix F821 false negatives when from __future__ import annotations is active (attempt 2)
|
||||
* [pyflakes] Make unnecessary-lambda an always-unsafe fix
|
||||
* [pylint] Fixed false-positive on the rule PLW1641 (eq-without-hash)
|
||||
* [ruff] Fix panic in unused # noqa removal with multi-byte space (RUF100)
|
||||
* Documentation
|
||||
* Add PR title format to CONTRIBUTING.md
|
||||
* Fix list markup to include blank lines required
|
||||
* Put flake8-logging next to the other flake8 plugins in registry
|
||||
* [flake8-bandit] Update warning message for rule S305 to address insecure block cipher mode use
|
||||
* [flake8-bugbear] Document use of anonymous assignment in useless-expression
|
||||
* [flake8-datetimez] Clarify error messages and docs for DTZ rules
|
||||
* [pycodestyle] Use same before vs. after numbers for space-around-operator
|
||||
* [ruff] Change quadratic-list-summation docs to use iadd consistently
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 22 10:15:55 UTC 2024 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
%bcond_without libalternatives
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-ruff
|
||||
Version: 0.3.4
|
||||
Version: 0.3.5
|
||||
Release: 0
|
||||
Summary: An extremely fast Python linter, written in Rust
|
||||
License: MIT
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f0f4484c6541a99862b693e13a151435a279b271cff20e37101116a21e2a1ad1
|
||||
size 2129882
|
3
ruff-0.3.5.tar.gz
Normal file
3
ruff-0.3.5.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a067daaeb1dc2baf9b82a32dae67d154d95212080c80435eb052d95da647763d
|
||||
size 2140671
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3c38ef08a0a21046ac8c67bddf6ee211f89a2316c882e85c6be8c7803685defe
|
||||
size 25536187
|
||||
oid sha256:def899eb1571c90e1b6db9c18138875dbd29184178aabf661f47690619298499
|
||||
size 25074137
|
||||
|
Loading…
Reference in New Issue
Block a user