Closed renovate[bot] closed 8 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
b20a042
) 73.68% compared to head (2f8bcd1
) 73.68%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR contains the following updates:
0.2.1
->0.2.2
4.12.1
->4.13.0
Release Notes
astral-sh/ruff (ruff)
### [`v0.2.2`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#022) [Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.2.1...v0.2.2) Highlights include: - Initial support formatting f-strings (in `--preview`). - Support for overriding arbitrary configuration options via the CLI through an expanded `--config` argument (e.g., `--config "lint.isort.combine-as-imports=false"`). - Significant performance improvements in Ruff's lexer, parser, and lint rules. ##### Preview features - Implement minimal f-string formatting ([#9642](https://togithub.com/astral-sh/ruff/pull/9642)) - \[`pycodestyle`] Add blank line(s) rules (`E301`, `E302`, `E303`, `E304`, `E305`, `E306`) ([#9266](https://togithub.com/astral-sh/ruff/pull/9266)) - \[`refurb`] Implement `readlines_in_for` (`FURB129`) ([#9880](https://togithub.com/astral-sh/ruff/pull/9880)) ##### Rule changes - \[`ruff`] Ensure closing parentheses for multiline sequences are always on their own line (`RUF022`, `RUF023`) ([#9793](https://togithub.com/astral-sh/ruff/pull/9793)) - \[`numpy`] Add missing deprecation violations (`NPY002`) ([#9862](https://togithub.com/astral-sh/ruff/pull/9862)) - \[`flake8-bandit`] Detect `mark_safe` usages in decorators ([#9887](https://togithub.com/astral-sh/ruff/pull/9887)) - \[`ruff`] Expand `asyncio-dangling-task` (`RUF006`) to include `new_event_loop` ([#9976](https://togithub.com/astral-sh/ruff/pull/9976)) - \[`flake8-pyi`] Ignore 'unused' private type dicts in class scopes ([#9952](https://togithub.com/astral-sh/ruff/pull/9952)) ##### Formatter - Docstring formatting: Preserve tab indentation when using `indent-style=tabs` ([#9915](https://togithub.com/astral-sh/ruff/pull/9915)) - Disable top-level docstring formatting for notebooks ([#9957](https://togithub.com/astral-sh/ruff/pull/9957)) - Stabilize quote-style's `preserve` mode ([#9922](https://togithub.com/astral-sh/ruff/pull/9922)) ##### CLI - Allow arbitrary configuration options to be overridden via the CLI ([#9599](https://togithub.com/astral-sh/ruff/pull/9599)) ##### Bug fixes - Make `show-settings` filters directory-agnostic ([#9866](https://togithub.com/astral-sh/ruff/pull/9866)) - Respect duplicates when rewriting type aliases ([#9905](https://togithub.com/astral-sh/ruff/pull/9905)) - Respect tuple assignments in typing analyzer ([#9969](https://togithub.com/astral-sh/ruff/pull/9969)) - Use atomic write when persisting cache ([#9981](https://togithub.com/astral-sh/ruff/pull/9981)) - Use non-parenthesized range for `DebugText` ([#9953](https://togithub.com/astral-sh/ruff/pull/9953)) - \[`flake8-simplify`] Avoid false positive with `async` for loops (`SIM113`) ([#9996](https://togithub.com/astral-sh/ruff/pull/9996)) - \[`flake8-trio`] Respect `async with` in `timeout-without-await` ([#9859](https://togithub.com/astral-sh/ruff/pull/9859)) - \[`perflint`] Catch a wider range of mutations in `PERF101` ([#9955](https://togithub.com/astral-sh/ruff/pull/9955)) - \[`pycodestyle`] Fix `E30X` panics on blank lines with trailing white spaces ([#9907](https://togithub.com/astral-sh/ruff/pull/9907)) - \[`pydocstyle`] Allow using `parameters` as a subsection header (`D405`) ([#9894](https://togithub.com/astral-sh/ruff/pull/9894)) - \[`pydocstyle`] Fix blank-line docstring rules for module-level docstrings ([#9878](https://togithub.com/astral-sh/ruff/pull/9878)) - \[`pylint`] Accept 0.0 and 1.0 as common magic values (`PLR2004`) ([#9964](https://togithub.com/astral-sh/ruff/pull/9964)) - \[`pylint`] Avoid suggesting set rewrites for non-hashable types ([#9956](https://togithub.com/astral-sh/ruff/pull/9956)) - \[`ruff`] Avoid false negatives with string literals inside of method calls (`RUF027`) ([#9865](https://togithub.com/astral-sh/ruff/pull/9865)) - \[`ruff`] Fix panic on with f-string detection (`RUF027`) ([#9990](https://togithub.com/astral-sh/ruff/pull/9990)) - \[`ruff`] Ignore builtins when detecting missing f-strings ([#9849](https://togithub.com/astral-sh/ruff/pull/9849)) ##### Performance - Use `memchr` for string lexing ([#9888](https://togithub.com/astral-sh/ruff/pull/9888)) - Use `memchr` for tab-indentation detection ([#9853](https://togithub.com/astral-sh/ruff/pull/9853)) - Reduce `Resulttox-dev/tox (tox)
### [`v4.13.0`](https://togithub.com/tox-dev/tox/releases/tag/4.13.0) [Compare Source](https://togithub.com/tox-dev/tox/compare/4.12.1...4.13.0) #### What's Changed - Document usage of Pytest with Tox as a FAQ entry by [@faph](https://togithub.com/faph) in [https://github.com/tox-dev/tox/pull/3192](https://togithub.com/tox-dev/tox/pull/3192) - docs/config.rst: State in config directive sections their ini file sections by [@0cjs](https://togithub.com/0cjs) in [https://github.com/tox-dev/tox/pull/3194](https://togithub.com/tox-dev/tox/pull/3194) - .gitignore: Add /tests/demo_pkg_inline/.tox/ by [@0cjs](https://togithub.com/0cjs) in [https://github.com/tox-dev/tox/pull/3198](https://togithub.com/tox-dev/tox/pull/3198) - docs/development: Summarise important points experienced devs need to know by [@0cjs](https://togithub.com/0cjs) in [https://github.com/tox-dev/tox/pull/3197](https://togithub.com/tox-dev/tox/pull/3197) - Add tests for CliEnv by [@0cjs](https://togithub.com/0cjs) in [https://github.com/tox-dev/tox/pull/3204](https://togithub.com/tox-dev/tox/pull/3204) - Document how CliEnv works by [@0cjs](https://togithub.com/0cjs) in [https://github.com/tox-dev/tox/pull/3206](https://togithub.com/tox-dev/tox/pull/3206) - docs/development "Key points": Two updates and general improvement by [@0cjs](https://togithub.com/0cjs) in [https://github.com/tox-dev/tox/pull/3205](https://togithub.com/tox-dev/tox/pull/3205) - session.env_select.CliEnv: Document and test spaces behaviour by [@0cjs](https://togithub.com/0cjs) in [https://github.com/tox-dev/tox/pull/3208](https://togithub.com/tox-dev/tox/pull/3208) - config.cli.test_cli_ini: Re-order for clarity (textual moves only) by [@0cjs](https://togithub.com/0cjs) in [https://github.com/tox-dev/tox/pull/3209](https://togithub.com/tox-dev/tox/pull/3209) - Revert previous "precommit autoupdate ([#3214](https://togithub.com/tox-dev/tox/issues/3214))" commit; it's broken by [@0cjs](https://togithub.com/0cjs) in [https://github.com/tox-dev/tox/pull/3215](https://togithub.com/tox-dev/tox/pull/3215) - Extract packaging virtualenv code to its own class by [@gaborbernat](https://togithub.com/gaborbernat) in [https://github.com/tox-dev/tox/pull/3221](https://togithub.com/tox-dev/tox/pull/3221) #### New Contributors - [@faph](https://togithub.com/faph) made their first contribution in [https://github.com/tox-dev/tox/pull/3192](https://togithub.com/tox-dev/tox/pull/3192) - [@0cjs](https://togithub.com/0cjs) made their first contribution in [https://github.com/tox-dev/tox/pull/3194](https://togithub.com/tox-dev/tox/pull/3194) **Full Changelog**: https://github.com/tox-dev/tox/compare/4.12.1...4.13.0Configuration
📅 Schedule: Branch creation - "before 10pm on Sunday" in timezone America/Chicago, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.