python-ruff/ruff-0.8.1.tar.gz
Ondřej Súkup 48cd084f0f - update to 0.8.1
* Preview features
   * Formatter: Avoid invalid syntax for format-spec with quotes for all Python versions 
   * Formatter: Consider quotes inside format-specs when choosing the quotes for an f-string 
   * Formatter: Do not consider f-strings with escaped newlines as multiline 
   * Formatter: Fix f-string formatting in assignment statement 
   * Formatter: Fix unnecessary space around power operator (**) in overlong f-string expressions 
   * [airflow] Avoid implicit schedule argument to DAG and @dag (AIR301) 
   * [flake8-builtins] Exempt private built-in modules (A005) 
   * [flake8-pytest-style] Fix pytest.mark.parametrize rules to check calls instead of decorators 
   * [flake8-type-checking] Implement runtime-cast-value (TC006) 
   * [flake8-type-checking] Implement unquoted-type-alias (TC007) and quoted-type-alias (TC008) 
   * [flake8-use-pathlib] Recommend Path.iterdir() over os.listdir() (PTH208) 
   * [pylint] Extend invalid-envvar-default to detect os.environ.get (PLW1508) 
   * [pylint] Implement len-test (PLC1802) 
   * [refurb] Fix bug where methods defined using lambdas were flagged by FURB118 
   * [ruff] Auto-add r prefix when string has no backslashes for unraw-re-pattern (RUF039) 
   * [ruff] Implement invalid-assert-message-literal-argument (RUF040) 
   * [ruff] Implement unnecessary-nested-literal (RUF041) 
   * [ruff] Implement unnecessary-regular-expression (RUF055) 
 * Rule changes
   * Ignore more rules for stub files 
   * [pep8-naming] Eliminate false positives for single-letter names (N811, N814) 
   * [pyflakes] Avoid false positives in @no_type_check contexts (F821, F722) 
   * [ruff] Detect redirected-noqa in file-level comments (RUF101) 
   * [ruff] Mark fixes for unsorted-dunder-all and unsorted-dunder-slots as unsafe when there are complex comments in the sequence (RUF022, RUF023) 
 * Bug fixes
   * Avoid fixing code to None | None for redundant-none-literal (PYI061) and never-union (RUF020) (#14583, #14589)
   * [flake8-bugbear] Fix mutable-contextvar-default to resolve annotated function calls properly (B039) 
   * [flake8-pyi, ruff] Fix traversal of nested literals and unions (PYI016, PYI051, PYI055, PYI062, RUF041)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=104
2024-12-02 11:29:19 +00:00

4 lines
132 B
Plaintext

version https://git-lfs.github.com/spec/v1
oid sha256:3583db9a6450364ed5ca3f3b4225958b24f78178908d5c4bc0f46251ccca898f
size 3313222