From 8e90d0782738d201a1ac570648455318ff86b1c60e4bcb3d16f0ecce46d1f912 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Mon, 13 Nov 2023 14:26:04 +0000 Subject: [PATCH] - 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 --- _service | 2 +- python-ruff.changes | 40 ++++++++++++++++++++++++++++++++++++++++ python-ruff.spec | 2 +- ruff-0.1.4.tar.gz | 3 --- ruff-0.1.5.tar.gz | 3 +++ vendor.tar.zst | 4 ++-- 6 files changed, 47 insertions(+), 7 deletions(-) delete mode 100644 ruff-0.1.4.tar.gz create mode 100644 ruff-0.1.5.tar.gz diff --git a/_service b/_service index c08ceb2..f4a18df 100644 --- a/_service +++ b/_service @@ -1,7 +1,7 @@ - ruff-0.1.4.tar.gz + ruff-0.1.5.tar.gz zst true diff --git a/python-ruff.changes b/python-ruff.changes index f4df6ba..fb7e370 100644 --- a/python-ruff.changes +++ b/python-ruff.changes @@ -1,3 +1,43 @@ +------------------------------------------------------------------- +Mon Nov 13 14:21:57 UTC 2023 - Ondřej Súkup + +- 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 diff --git a/python-ruff.spec b/python-ruff.spec index ece2302..be607ea 100644 --- a/python-ruff.spec +++ b/python-ruff.spec @@ -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 diff --git a/ruff-0.1.4.tar.gz b/ruff-0.1.4.tar.gz deleted file mode 100644 index 74a23bf..0000000 --- a/ruff-0.1.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:21520ecca4cc555162068d87c747b8f95e1e95f8ecfcbbe59e8dd00710586315 -size 1685809 diff --git a/ruff-0.1.5.tar.gz b/ruff-0.1.5.tar.gz new file mode 100644 index 0000000..1a0ca62 --- /dev/null +++ b/ruff-0.1.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5cbec0ef2ae1748fb194f420fb03fb2c25c3258c86129af7172ff8f198f125ab +size 1700097 diff --git a/vendor.tar.zst b/vendor.tar.zst index 19801e9..4c0669c 100644 --- a/vendor.tar.zst +++ b/vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:33ac57ea1fb001b61467eec9757cd53b8624976c8381e67fa7b3f866d671f84f -size 29032377 +oid sha256:1eddf78dcd3c21e6f13cf061b2876c6d97286a1a33ec76eaa57c099f9a6c1245 +size 29061118