forked from pool/python-ruff
- update to 0.11.13:
* \[`airflow`\] Add unsafe fix for module moved cases (`AIR301`,`AIR311`,`AIR312`,`AIR302`) * \[`refurb`\] Add coverage of `set` and `frozenset` calls (`FURB171`) * \[`refurb`\] Mark `FURB180` fix unsafe when class has bases * \[`fastapi`\] Avoid false positive for class dependencies (`FAST003`) * Support Python 3.14 template strings (t-strings) in formatter and parser * [airflow] Revise fix titles (AIR3) * [pylint] Implement missing-maxsplit-arg (PLC0207) * [pyupgrade] New rule UP050 (useless-class-metaclass-type) * [flake8-use-pathlib] Replace os.symlink with Path.symlink_to (PTH211) * Bug fixes * [flake8-bugbear] Ignore __debug__ attribute in B010 * [flake8-async] Fix anyio.sleep argument name (ASYNC115, ASYNC116) * [refurb] Fix FURB129 autofix generating invalid syntax * Rule changes * [flake8-implicit-str-concat] Add autofix for ISC003 * [pycodestyle] Improve the diagnostic message for E712 * [flake8-2020] Fix diagnostic message for != comparisons (YTT201) * [pyupgrade] Make fix unsafe if it deletes comments (UP010) * Documentation * Simplify rules table to improve readability * Update editor integrations link in README * [flake8-bugbear] Add fix safety section (B006) * [airflow] Add autofixes for AIR302 and AIR312 * [airflow] Move rules from AIR312 to AIR302 * [airflow] Update AIR301 and AIR311 with the latest Airflow implementations OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=155
This commit is contained in:
@@ -1,45 +1,59 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 10 11:18:15 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 0.11.13:
|
||||||
|
* \[`airflow`\] Add unsafe fix for module moved cases
|
||||||
|
(`AIR301`,`AIR311`,`AIR312`,`AIR302`)
|
||||||
|
* \[`refurb`\] Add coverage of `set` and `frozenset` calls
|
||||||
|
(`FURB171`)
|
||||||
|
* \[`refurb`\] Mark `FURB180` fix unsafe when class has bases
|
||||||
|
* \[`fastapi`\] Avoid false positive for class dependencies
|
||||||
|
(`FAST003`)
|
||||||
|
* Support Python 3.14 template strings (t-strings) in formatter
|
||||||
|
and parser
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri May 30 15:05:44 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
|
Fri May 30 15:05:44 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
- update to 0.11.12:
|
- update to 0.11.12:
|
||||||
* Preview features
|
* Preview features
|
||||||
* [airflow] Revise fix titles (AIR3)
|
* [airflow] Revise fix titles (AIR3)
|
||||||
* [pylint] Implement missing-maxsplit-arg (PLC0207)
|
* [pylint] Implement missing-maxsplit-arg (PLC0207)
|
||||||
* [pyupgrade] New rule UP050 (useless-class-metaclass-type)
|
* [pyupgrade] New rule UP050 (useless-class-metaclass-type)
|
||||||
* [flake8-use-pathlib] Replace os.symlink with Path.symlink_to (PTH211)
|
* [flake8-use-pathlib] Replace os.symlink with Path.symlink_to (PTH211)
|
||||||
* Bug fixes
|
* Bug fixes
|
||||||
* [flake8-bugbear] Ignore __debug__ attribute in B010
|
* [flake8-bugbear] Ignore __debug__ attribute in B010
|
||||||
* [flake8-async] Fix anyio.sleep argument name (ASYNC115, ASYNC116)
|
* [flake8-async] Fix anyio.sleep argument name (ASYNC115, ASYNC116)
|
||||||
* [refurb] Fix FURB129 autofix generating invalid syntax
|
* [refurb] Fix FURB129 autofix generating invalid syntax
|
||||||
* Rule changes
|
* Rule changes
|
||||||
* [flake8-implicit-str-concat] Add autofix for ISC003
|
* [flake8-implicit-str-concat] Add autofix for ISC003
|
||||||
* [pycodestyle] Improve the diagnostic message for E712
|
* [pycodestyle] Improve the diagnostic message for E712
|
||||||
* [flake8-2020] Fix diagnostic message for != comparisons (YTT201)
|
* [flake8-2020] Fix diagnostic message for != comparisons (YTT201)
|
||||||
* [pyupgrade] Make fix unsafe if it deletes comments (UP010)
|
* [pyupgrade] Make fix unsafe if it deletes comments (UP010)
|
||||||
* Documentation
|
* Documentation
|
||||||
* Simplify rules table to improve readability
|
* Simplify rules table to improve readability
|
||||||
* Update editor integrations link in README
|
* Update editor integrations link in README
|
||||||
* [flake8-bugbear] Add fix safety section (B006)
|
* [flake8-bugbear] Add fix safety section (B006)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri May 23 15:14:16 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
|
Fri May 23 15:14:16 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
- update to 0.11.11:
|
- update to 0.11.11:
|
||||||
* Preview features
|
* Preview features
|
||||||
* [airflow] Add autofixes for AIR302 and AIR312
|
* [airflow] Add autofixes for AIR302 and AIR312
|
||||||
* [airflow] Move rules from AIR312 to AIR302
|
* [airflow] Move rules from AIR312 to AIR302
|
||||||
* [airflow] Update AIR301 and AIR311 with the latest Airflow implementations
|
* [airflow] Update AIR301 and AIR311 with the latest Airflow implementations
|
||||||
* [flake8-simplify] Enable fix in preview mode (SIM117)
|
* [flake8-simplify] Enable fix in preview mode (SIM117)
|
||||||
* Bug fixes
|
* Bug fixes
|
||||||
* Fix inconsistent formatting of match-case on [] and _
|
* Fix inconsistent formatting of match-case on [] and _
|
||||||
* [pylint] Fix PLW1514 not recognizing the encoding positional argument of codecs.open
|
* [pylint] Fix PLW1514 not recognizing the encoding positional argument of codecs.open
|
||||||
* CLI
|
* CLI
|
||||||
* Add full option name in formatter warning
|
* Add full option name in formatter warning
|
||||||
* Documentation
|
* Documentation
|
||||||
* Fix rendering of admonition in docs
|
* Fix rendering of admonition in docs
|
||||||
* [flake8-print] Improve print/pprint docs for T201 and T203
|
* [flake8-print] Improve print/pprint docs for T201 and T203
|
||||||
* [flake8-simplify] Add fix safety section (SIM110,SIM210)
|
* [flake8-simplify] Add fix safety section (SIM110,SIM210)
|
||||||
* [pylint] Fix docs example that produced different output (PLW0603)
|
* [pylint] Fix docs example that produced different output (PLW0603)
|
||||||
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
@@ -47,60 +61,60 @@ Mon May 19 14:18:18 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
|
|||||||
|
|
||||||
- update 0.11.10:
|
- update 0.11.10:
|
||||||
* Preview features
|
* Preview features
|
||||||
* [ruff] Implement a recursive check for RUF060
|
* [ruff] Implement a recursive check for RUF060
|
||||||
* [airflow] Enable autofixes for AIR301 and AIR311
|
* [airflow] Enable autofixes for AIR301 and AIR311
|
||||||
* [airflow] Apply try catch guard to all AIR3 rules
|
* [airflow] Apply try catch guard to all AIR3 rules
|
||||||
* [airflow] Extend AIR311 rules
|
* [airflow] Extend AIR311 rules
|
||||||
* Bug fixes
|
* Bug fixes
|
||||||
* [flake8-bugbear] Ignore B028 if skip_file_prefixes is present
|
* [flake8-bugbear] Ignore B028 if skip_file_prefixes is present
|
||||||
* [flake8-pie] Mark autofix for PIE804 as unsafe if the dictionary contains comments
|
* [flake8-pie] Mark autofix for PIE804 as unsafe if the dictionary contains comments
|
||||||
* [flake8-simplify] Correct behavior for str.split/rsplit with maxsplit=0 (SIM905)
|
* [flake8-simplify] Correct behavior for str.split/rsplit with maxsplit=0 (SIM905)
|
||||||
* [flake8-simplify] Fix SIM905 autofix for rsplit creating a reversed list literal
|
* [flake8-simplify] Fix SIM905 autofix for rsplit creating a reversed list literal
|
||||||
* [flake8-use-pathlib] Suppress diagnostics for all os.* functions that have the dir_fd parameter (PTH)
|
* [flake8-use-pathlib] Suppress diagnostics for all os.* functions that have the dir_fd parameter (PTH)
|
||||||
* [refurb] Mark autofix as safe only for number literals (FURB116)
|
* [refurb] Mark autofix as safe only for number literals (FURB116)
|
||||||
* Rule changes
|
* Rule changes
|
||||||
* [flake8-bandit] Skip S608 for expressionless f-strings
|
* [flake8-bandit] Skip S608 for expressionless f-strings
|
||||||
* [flake8-pytest-style] Don't recommend usefixtures for parametrize values (PT019)
|
* [flake8-pytest-style] Don't recommend usefixtures for parametrize values (PT019)
|
||||||
* [pyupgrade] Add resource.error as deprecated alias of OSError (UP024)
|
* [pyupgrade] Add resource.error as deprecated alias of OSError (UP024)
|
||||||
* CLI
|
* CLI
|
||||||
* Disable jemalloc on Android
|
* Disable jemalloc on Android
|
||||||
* Documentation
|
* Documentation
|
||||||
* Update Neovim setup docs
|
* Update Neovim setup docs
|
||||||
* [flake8-simplify] Add fix safety section (SIM103)
|
* [flake8-simplify] Add fix safety section (SIM103)
|
||||||
* [flake8-simplify] Add fix safety section (SIM112)
|
* [flake8-simplify] Add fix safety section (SIM112)
|
||||||
* [pylint] Add fix safety section (PLC0414)
|
* [pylint] Add fix safety section (PLC0414)
|
||||||
* [pylint] Add fix safety section (PLE4703)
|
* [pylint] Add fix safety section (PLE4703)
|
||||||
* [pylint] Add fix safety section (PLW1514)
|
* [pylint] Add fix safety section (PLW1514)
|
||||||
* [pylint] Add fix safety section (PLW3301)
|
* [pylint] Add fix safety section (PLW3301)
|
||||||
* [ruff] Add fix safety section (RUF007)
|
* [ruff] Add fix safety section (RUF007)
|
||||||
* [ruff] Add fix safety section (RUF033)
|
* [ruff] Add fix safety section (RUF033)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 13 06:39:19 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
|
Tue May 13 06:39:19 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
- update to 0.11.9:
|
- update to 0.11.9:
|
||||||
* Preview features
|
* Preview features
|
||||||
* Default to latest supported Python version for version-related syntax errors
|
* Default to latest supported Python version for version-related syntax errors
|
||||||
* Implement deferred annotations for Python 3.14
|
* Implement deferred annotations for Python 3.14
|
||||||
* [airflow] Fix SQLTableCheckOperator typo (AIR302)
|
* [airflow] Fix SQLTableCheckOperator typo (AIR302)
|
||||||
* [airflow] Remove airflow.utils.dag_parsing_context.get_parsing_context (AIR301)
|
* [airflow] Remove airflow.utils.dag_parsing_context.get_parsing_context (AIR301)
|
||||||
* [airflow] Skip attribute check in try catch block (AIR301)
|
* [airflow] Skip attribute check in try catch block (AIR301)
|
||||||
* [flake8-bandit] Mark tuples of string literals as trusted input in S603
|
* [flake8-bandit] Mark tuples of string literals as trusted input in S603
|
||||||
* [isort] Check full module path against project root(s) when categorizing first-party imports
|
* [isort] Check full module path against project root(s) when categorizing first-party imports
|
||||||
* [ruff] Add new rule in-empty-collection (RUF060)
|
* [ruff] Add new rule in-empty-collection (RUF060)
|
||||||
* Bug fixes
|
* Bug fixes
|
||||||
* Fix missing combine call for lint.typing-extensions setting
|
* Fix missing combine call for lint.typing-extensions setting
|
||||||
* [flake8-async] Fix module name in ASYNC110, ASYNC115, and ASYNC116 fixes
|
* [flake8-async] Fix module name in ASYNC110, ASYNC115, and ASYNC116 fixes
|
||||||
* [pyupgrade] Add spaces between tokens as necessary to avoid syntax errors in UP018 autofix
|
* [pyupgrade] Add spaces between tokens as necessary to avoid syntax errors in UP018 autofix
|
||||||
* [refurb] Fix false positive for float and complex numbers in FURB116
|
* [refurb] Fix false positive for float and complex numbers in FURB116
|
||||||
* [parser] Flag single unparenthesized generator expr with trailing comma in arguments.
|
* [parser] Flag single unparenthesized generator expr with trailing comma in arguments.
|
||||||
* Documentation
|
* Documentation
|
||||||
* Add instructions on how to upgrade to a newer Rust version
|
* Add instructions on how to upgrade to a newer Rust version
|
||||||
* Update code of conduct email address
|
* Update code of conduct email address
|
||||||
* Add fix safety sections to PLC2801, PLR1722, and RUF013
|
* Add fix safety sections to PLC2801, PLR1722, and RUF013
|
||||||
* Add link to check-typed-exception from S110 and S112
|
* Add link to check-typed-exception from S110 and S112
|
||||||
* Other changes
|
* Other changes
|
||||||
* Allow passing a virtual environment to ruff analyze graph
|
* Allow passing a virtual environment to ruff analyze graph
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri May 2 15:28:43 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
|
Fri May 2 15:28:43 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
@@ -108,28 +122,28 @@ Fri May 2 15:28:43 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
|
|||||||
- update to 0.11.8
|
- update to 0.11.8
|
||||||
* Preview features
|
* Preview features
|
||||||
* \[`airflow`\] Apply auto fixes to cases where the names have changed in Airflow 3 (`AIR302`, `AIR311`)
|
* \[`airflow`\] Apply auto fixes to cases where the names have changed in Airflow 3 (`AIR302`, `AIR311`)
|
||||||
* \[`airflow`\] Extend `AIR301` rule
|
* \[`airflow`\] Extend `AIR301` rule
|
||||||
* \[`airflow`\] Update existing `AIR302` rules with better suggestions
|
* \[`airflow`\] Update existing `AIR302` rules with better suggestions
|
||||||
* \[`refurb`\] Mark fix as safe for `readlines-in-for` (`FURB129`)
|
* \[`refurb`\] Mark fix as safe for `readlines-in-for` (`FURB129`)
|
||||||
* [syntax-errors] `nonlocal` declaration at module level
|
* [syntax-errors] `nonlocal` declaration at module level
|
||||||
* [syntax-errors] Detect single starred expression assignment `x = *y`
|
* [syntax-errors] Detect single starred expression assignment `x = *y`
|
||||||
* Bug fixes
|
* Bug fixes
|
||||||
* \[`flake8-pyi`\] Ensure `Literal[None,] | Literal[None,]` is not autofixed to `None | None` (`PYI061`)
|
* \[`flake8-pyi`\] Ensure `Literal[None,] | Literal[None,]` is not autofixed to `None | None` (`PYI061`)
|
||||||
* \[`flake8-use-pathlib`\] Avoid suggesting `Path.iterdir()` for `os.listdir` with file descriptor (`PTH208`)
|
* \[`flake8-use-pathlib`\] Avoid suggesting `Path.iterdir()` for `os.listdir` with file descriptor (`PTH208`)
|
||||||
* \[`flake8-use-pathlib`\] Fix `PTH104` false positive when `rename` is passed a file descriptor
|
* \[`flake8-use-pathlib`\] Fix `PTH104` false positive when `rename` is passed a file descriptor
|
||||||
* \[`flake8-use-pathlib`\] Fix `PTH116` false positive when `stat` is passed a file descriptor
|
* \[`flake8-use-pathlib`\] Fix `PTH116` false positive when `stat` is passed a file descriptor
|
||||||
* \[`flake8-use-pathlib`\] Fix `PTH123` false positive when `open` is passed a file descriptor from a function call
|
* \[`flake8-use-pathlib`\] Fix `PTH123` false positive when `open` is passed a file descriptor from a function call
|
||||||
* \[`pycodestyle`\] Fix duplicated diagnostic in `E712`
|
* \[`pycodestyle`\] Fix duplicated diagnostic in `E712`
|
||||||
* \[`pylint`\] Detect `global` declarations in module scope (`PLE0118`)
|
* \[`pylint`\] Detect `global` declarations in module scope (`PLE0118`)
|
||||||
* [syntax-errors] Make `async-comprehension-in-sync-comprehension` more specific
|
* [syntax-errors] Make `async-comprehension-in-sync-comprehension` more specific
|
||||||
* Configuration
|
* Configuration
|
||||||
* Add option to disable `typing_extensions` imports
|
* Add option to disable `typing_extensions` imports
|
||||||
* Documentation
|
* Documentation
|
||||||
* Fix example syntax for the `lint.pydocstyle.ignore-var-parameters` option
|
* Fix example syntax for the `lint.pydocstyle.ignore-var-parameters` option
|
||||||
* Add fix safety sections (`ASYNC116`, `FLY002`, `D200`, `RUF005`, `RUF017`, `RUF027`, `RUF028`, `RUF057`)
|
* Add fix safety sections (`ASYNC116`, `FLY002`, `D200`, `RUF005`, `RUF017`, `RUF027`, `RUF028`, `RUF057`)
|
||||||
* Other changes
|
* Other changes
|
||||||
* Add Python 3.14 to configuration options
|
* Add Python 3.14 to configuration options
|
||||||
* Make syntax error for unparenthesized except tuples version specific to before 3.14
|
* Make syntax error for unparenthesized except tuples version specific to before 3.14
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Apr 27 14:51:47 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
Sun Apr 27 14:51:47 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||||
|
@@ -19,7 +19,7 @@
|
|||||||
%bcond_without libalternatives
|
%bcond_without libalternatives
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-ruff
|
Name: python-ruff
|
||||||
Version: 0.11.12
|
Version: 0.11.13
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: An extremely fast Python linter, written in Rust
|
Summary: An extremely fast Python linter, written in Rust
|
||||||
License: MIT
|
License: MIT
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:43cf7f69c7d7c7d7513b9d59c5d8cafd704e05944f978614aa9faff6ac202603
|
|
||||||
size 4202289
|
|
BIN
ruff-0.11.13.tar.gz
(Stored with Git LFS)
Normal file
BIN
ruff-0.11.13.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
vendor.tar.zst
(Stored with Git LFS)
BIN
vendor.tar.zst
(Stored with Git LFS)
Binary file not shown.
Reference in New Issue
Block a user