SHA256
1
0
forked from pool/python-ruff

- update to 0.1.5

* Preview features
   * [flake8-bandit] Implement mako-templates (S702)
   * [flake8-trio] Implement TRIO105
   * [flake8-trio] Implement TRIO109
   * [flake8-trio] Implement TRIO110
   * [flake8-trio] Implement TRIO115
   * [refurb] Implement type-none-comparison (FURB169)
   * Flag all comparisons against builtin types in E721
   * Make SIM118 fix as safe when the expression is a known dictionary
 * Formatter
   * Fix multiline lambda expression statement formatting
 * CLI
   * Add hidden --extension to override inference of source type from file extension
   * Configuration
   * Account for selector specificity when merging extend_unsafe_fixes and override extend_safe_fixes
   * Add support for disabling cache with RUFF_NO_CACHE environment variable
 * Bug fixes
   * [E721] Flag comparisons to memoryview
   * Allow collapsed-ellipsis bodies in other statements
   * Avoid D301 autofix for u prefixed strings
   * Only flag flake8-trio rules when trio import is present
   * Reject more syntactically invalid Python programs
   * Avoid raising TRIO115 violations for trio.sleep(...) calls with non-number values
   * Fix F841 false negative on assignment to multiple variables
 * Documentation
   * Fix link to isort known-first-party
   * Add notes on fix safety to a few rules
   * Add missing toml config tabs
   * Add instructions for configuration of Emacs

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=16
This commit is contained in:
Ondřej Súkup 2023-11-13 14:26:04 +00:00 committed by Git OBS Bridge
parent 95db8002aa
commit 8e90d07827
6 changed files with 47 additions and 7 deletions

View File

@ -1,7 +1,7 @@
<services>
<service name="download_files" mode="manual" />
<service name="cargo_vendor" mode="manual">
<param name="srctar">ruff-0.1.4.tar.gz</param>
<param name="srctar">ruff-0.1.5.tar.gz</param>
<param name="compression">zst</param>
<param name="update">true</param>
</service>

View File

@ -1,3 +1,43 @@
-------------------------------------------------------------------
Mon Nov 13 14:21:57 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 0.1.5
* Preview features
* [flake8-bandit] Implement mako-templates (S702)
* [flake8-trio] Implement TRIO105
* [flake8-trio] Implement TRIO109
* [flake8-trio] Implement TRIO110
* [flake8-trio] Implement TRIO115
* [refurb] Implement type-none-comparison (FURB169)
* Flag all comparisons against builtin types in E721
* Make SIM118 fix as safe when the expression is a known dictionary
* Formatter
* Fix multiline lambda expression statement formatting
* CLI
* Add hidden --extension to override inference of source type from file extension
* Configuration
* Account for selector specificity when merging extend_unsafe_fixes and override extend_safe_fixes
* Add support for disabling cache with RUFF_NO_CACHE environment variable
* Bug fixes
* [E721] Flag comparisons to memoryview
* Allow collapsed-ellipsis bodies in other statements
* Avoid D301 autofix for u prefixed strings
* Only flag flake8-trio rules when trio import is present
* Reject more syntactically invalid Python programs
* Avoid raising TRIO115 violations for trio.sleep(...) calls with non-number values
* Fix F841 false negative on assignment to multiple variables
* Documentation
* Fix link to isort known-first-party
* Add notes on fix safety to a few rules
* Add missing toml config tabs
* Add instructions for configuration of Emacs
* Improve detail link contrast in dark mode
* Fix typo in example
* Added tabs for configuration files in the documentation
* Recommend project.requires-python over target-version
* Add singleton escape hatch to B008 documentation
* Fix tab configuration docs
-------------------------------------------------------------------
Tue Nov 7 11:29:10 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>

View File

@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-ruff
Version: 0.1.4
Version: 0.1.5
Release: 0
Summary: An extremely fast Python linter, written in Rust
License: MIT

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:21520ecca4cc555162068d87c747b8f95e1e95f8ecfcbbe59e8dd00710586315
size 1685809

3
ruff-0.1.5.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5cbec0ef2ae1748fb194f420fb03fb2c25c3258c86129af7172ff8f198f125ab
size 1700097

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:33ac57ea1fb001b61467eec9757cd53b8624976c8381e67fa7b3f866d671f84f
size 29032377
oid sha256:1eddf78dcd3c21e6f13cf061b2876c6d97286a1a33ec76eaa57c099f9a6c1245
size 29061118