SHA256
1
0
forked from pool/python-ruff

- update to 0.1.11

* [pylint] Implement super-without-brackets (W0245) 
   * Check path string properly in python -m ruff invocations 
 * Documentation
   * Tweak relative-imports message 
   * Add fix safety note for yield-in-for-loop 
 * 0.1.10
 * Preview features
   * Improve dummy_implementations preview style formatting 
   * Normalise Hex and unicode escape sequences in strings 
   * Parenthesize long type annotations in annotated assignments 
   * Parenthesize multi-context managers in with statements 
   * [flake8-pyi] Implement generator-return-from-iter-method (PYI058) 
   * [pylint] Implement empty-comment (PLR2044) 
   * [refurb] Implement bit-count (FURB161) 
   * [ruff] Add never-union rule to detect redundant typing.NoReturn and typing.Never 
 * CLI
   * Add paths to TOML parse errors 
   * Add row and column numbers to formatter parse errors 
   * Improve responsiveness when invoked via Python 
   * Short rule messages should not end with a period 
 * Configuration
   * Respect runtime-required decorators on functions 
 * Bug fixes
   * Avoid asyncio-dangling-task for nonlocal and global bindings 
   * Escape trailing placeholders in rule documentation 
   * Fix continuation detection following multi-line strings 
   * Fix scoping for generators in named expressions in classes 
   * Port from obsolete wsl crate to is-wsl 
   * Remove special pre-visit for module docstrings

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=26
This commit is contained in:
Ondřej Súkup 2024-01-08 10:03:14 +00:00 committed by Git OBS Bridge
parent 9b7901e477
commit b0821015fd
5 changed files with 58 additions and 7 deletions

View File

@ -1,3 +1,54 @@
-------------------------------------------------------------------
Mon Jan 8 09:39:09 UTC 2024 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 0.1.11
* [pylint] Implement super-without-brackets (W0245)
* Check path string properly in python -m ruff invocations
* Documentation
* Tweak relative-imports message
* Add fix safety note for yield-in-for-loop
* 0.1.10
* Preview features
* Improve dummy_implementations preview style formatting
* Normalise Hex and unicode escape sequences in strings
* Parenthesize long type annotations in annotated assignments
* Parenthesize multi-context managers in with statements
* [flake8-pyi] Implement generator-return-from-iter-method (PYI058)
* [pylint] Implement empty-comment (PLR2044)
* [refurb] Implement bit-count (FURB161)
* [ruff] Add never-union rule to detect redundant typing.NoReturn and typing.Never
* CLI
* Add paths to TOML parse errors
* Add row and column numbers to formatter parse errors
* Improve responsiveness when invoked via Python
* Short rule messages should not end with a period
* Configuration
* Respect runtime-required decorators on functions
* Bug fixes
* Avoid asyncio-dangling-task for nonlocal and global bindings
* Escape trailing placeholders in rule documentation
* Fix continuation detection following multi-line strings
* Fix scoping for generators in named expressions in classes
* Port from obsolete wsl crate to is-wsl
* Remove special pre-visit for module docstrings
* Respect __str__ definitions from super classes
* Respect unused-noqa via per-file-ignores
* Respect attribute chains when resolving builtin call paths
* Treat all typing_extensions members as typing aliases
* Use Display for formatter parse errors
* Wrap subscripted dicts in parens for f-string conversion
* [flake8-annotations] Avoid adding return types to stub methods
* [flake8-annotations] Respect mixed return and raise cases in return-type analysis
* [flake8-bandit] Don't report violations when SafeLoader is imported from yaml.loader (S506)
* [pylint] Avoid panic when comment is preceded by Unicode
* [pylint] Change PLR0917 error message to match other PLR09XX messages
* [refurb] Avoid false positives for math-constant (FURB152)
* Documentation
* Expand target name for better rule documentation
* Fix typos found by codespell
* [perflint] Document PERF102 fix un-safety
* [pyupgrade] Document UP007 fix un-safety
-------------------------------------------------------------------
Thu Dec 21 23:27:31 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-ruff
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,7 +19,7 @@
%bcond_without libalternatives
%{?sle15_python_module_pythons}
Name: python-ruff
Version: 0.1.9
Version: 0.1.11
Release: 0
Summary: An extremely fast Python linter, written in Rust
License: MIT

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

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

View File

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

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2317ab728e7cb05d8f64c79d956a6682e640aeeadf4058593ed202a3608018fa
size 32986496
oid sha256:f7dafd0d40ec9a94e5fc837957b6b035cfeaf2e54a4b467d8a552f611cb1ef91
size 28845370