Bump ruff from 0.0.284 to 0.0.285
Bumps ruff from 0.0.284 to 0.0.285.
Release notes
Sourced from ruff's releases.
v0.0.285
What's Changed
New rules
- [
flake8-pytest-style] Implementpytest-unittest-raises-assertion(PT027) by@harupyin astral-sh/ruff#6554- [
flake8-pytest-style] Implementpytest-duplicate-parametrize-test-cases(PT014) by@harupyin astral-sh/ruff#6598- [
flake8-tidy-imports] Implementbanned-module-level-imports(TID253) by@durumuin astral-sh/ruff#6378- [
pylint] Implementbad-dunder-name(W3201) (in the Ruff nursery) by@LaBatata101in astral-sh/ruff#6486- [
pylint] Implementsubprocess-run-check(W1510) by@tjkusonin astral-sh/ruff#6487- [
ruff] Implementquadratic-list-summation(RUF017) by@evanrittenhousein astral-sh/ruff#6489Rule changes
- [
flake8-bugbear] Add autofix forB006by@qdegraafin astral-sh/ruff#6131- [
flake8-pyi] Avoid applyingPYI055to runtime-evaluated annotations by@charliermarshin astral-sh/ruff#6457- [
flake8-self] Allowos._exitaccesses inSLF001by@charliermarshin astral-sh/ruff#6490- [
perflint] IgnorePERF203iftrycontains loop control flow statements by@evanrittenhousein astral-sh/ruff#6536- [
pylint] Check for invalid format type specifiers in nested replacements forPLE1300by@zaniebin astral-sh/ruff#6616- [
tryceratops] OmitNotImplementedErrorfromTRY003by@charliermarshin astral-sh/ruff#6568Settings
- Respect
.ipynband.pyisources when linting from stdin by@charliermarshin astral-sh/ruff#6628- Support glob patterns for
raises_require_match_forandraises_require_match_forby@harupyin astral-sh/ruff#6635Bug Fixes
- Make
lambda-assignmentfix always-manual in class bodies by@charliermarshin astral-sh/ruff#6626- Fix counting of message arguments when msg is provided as a keyword by
@charliermarshin astral-sh/ruff#6456- Add container types to
E721by@charliermarshin astral-sh/ruff#6469- Respect scoping rules when identifying builtins by
@charliermarshin astral-sh/ruff#6468- Respect tab width in line-length heuristic by
@charliermarshin astral-sh/ruff#6491- Respect dummy-variable-rgx for unused bound exceptions by
@charliermarshin astral-sh/ruff#6492- Fix detection of top-level imports with newlines in
E402by@charliermarshin astral-sh/ruff#6526- Allow if-expression with dual string arms in
invalid-envvar-valueby@charliermarshin astral-sh/ruff#6538- Add deprecated unittest assertions to PT009 by
@charliermarshin astral-sh/ruff#6572- Avoid unused argument rules when functions call
locals()by@charliermarshin astral-sh/ruff#6578- Allow top-level
awaitin Jupyter notebooks by@charliermarshin astral-sh/ruff#6607- Don't detect
pandas#valuesfor stores, deletes, or class accesses by@charliermarshin astral-sh/ruff#6631- Avoid removing parentheses in
E712fix by@charliermarshin astral-sh/ruff#6575- Skip whitespace between comments at start of file e.g. for
I002by@durumuin astral-sh/ruff#6523- Add support for nested replacements inside format specifications e.g. for
PLE1300by@zaniebin astral-sh/ruff#6616Playground
- Shared playground links now use short URLs by
@charliermarshin astral-sh/ruff#6383- Fix possible JSON parse error on playground load by
@charliermarshin astral-sh/ruff#6519- Fix unreachable panic in playground by
@MichaReiserin astral-sh/ruff#6623Performance
- Improve tokenizer performance for ASCII only identifiers by
@MichaReiserin astral-sh/ruff#6609New Contributors
... (truncated)
Commits
-
5892c69Bump version to 0.0.285 (#6660) -
82e0a97Clarify behavior ofPLW3201(#6657) -
a8d7bbaRemove experimental label from Jupyter docs (#6655) -
1050142Expand expressions to include parentheses in E712 (#6575) -
db1c556ImplementRangedon more structs (#6639) -
a70807eExpandNamedExprrange to include full range of parenthesized value (#6632) -
d9bb51dci(deps): bump cloudflare/wrangler-action from 3.0.0 to 3.0.2 (#6565) -
d0f2a8eAdd support for nested replacements inside format specifications (#6616) -
1334232IntroduceExpressionRef(#6637) -
fa7442dSupportfmt: skipon compound statements (#6593) - Additional commits viewable in compare view