Harshil
32c454bb56
Update pre-commit's ruff
id ( #19654 )
CI / mkdocs (push) Waiting to run
CI / Determine changes (push) Waiting to run
CI / cargo fmt (push) Waiting to run
CI / cargo clippy (push) Blocked by required conditions
CI / cargo test (linux) (push) Blocked by required conditions
CI / cargo test (linux, release) (push) Blocked by required conditions
CI / cargo test (windows) (push) Blocked by required conditions
CI / cargo test (wasm) (push) Blocked by required conditions
CI / cargo build (release) (push) Waiting to run
CI / cargo build (msrv) (push) Blocked by required conditions
CI / cargo fuzz build (push) Blocked by required conditions
CI / fuzz parser (push) Blocked by required conditions
CI / test scripts (push) Blocked by required conditions
CI / ecosystem (push) Blocked by required conditions
CI / Fuzz for new ty panics (push) Blocked by required conditions
CI / cargo shear (push) Blocked by required conditions
CI / python package (push) Waiting to run
CI / pre-commit (push) Waiting to run
CI / formatter instabilities and black similarity (push) Blocked by required conditions
CI / test ruff-lsp (push) Blocked by required conditions
CI / check playground (push) Blocked by required conditions
CI / benchmarks-instrumented (push) Blocked by required conditions
CI / benchmarks-walltime (push) Blocked by required conditions
2025-07-31 07:17:04 +02:00
Micha Reiser
1ba32684da
Fix copy and line separator colors in dark mode ( #19630 )
2025-07-30 15:08:31 +01:00
Brent Westbrook
c5ac998892
Bump 0.12.7 ( #19627 )
...
CI / Determine changes (push) Waiting to run
CI / cargo fmt (push) Waiting to run
CI / cargo clippy (push) Blocked by required conditions
CI / cargo test (linux) (push) Blocked by required conditions
CI / cargo test (linux, release) (push) Blocked by required conditions
CI / cargo test (windows) (push) Blocked by required conditions
CI / cargo test (wasm) (push) Blocked by required conditions
CI / cargo build (release) (push) Waiting to run
CI / mkdocs (push) Waiting to run
CI / cargo build (msrv) (push) Blocked by required conditions
CI / cargo fuzz build (push) Blocked by required conditions
CI / fuzz parser (push) Blocked by required conditions
CI / test scripts (push) Blocked by required conditions
CI / ecosystem (push) Blocked by required conditions
CI / Fuzz for new ty panics (push) Blocked by required conditions
CI / cargo shear (push) Blocked by required conditions
CI / python package (push) Waiting to run
CI / pre-commit (push) Waiting to run
CI / formatter instabilities and black similarity (push) Blocked by required conditions
CI / test ruff-lsp (push) Blocked by required conditions
CI / check playground (push) Blocked by required conditions
CI / benchmarks-instrumented (push) Blocked by required conditions
CI / benchmarks-walltime (push) Blocked by required conditions
[ty Playground] Release / publish (push) Waiting to run
## Test Plan
- [x] Download the [sdist
artifact](3643617012
)
and check that the LICENSE is present
2025-07-29 18:18:42 -04:00
Brent Westbrook
6e00adf308
Bump 0.12.6 ( #19622 )
2025-07-29 16:31:01 -04:00
renovate[bot]
ef3a195f28
Update dependency ruff to v0.12.5 ( #19584 )
2025-07-27 22:22:23 -04:00
Brent Westbrook
d13228ab85
Bump 0.12.5 ( #19528 )
CI / Determine changes (push) Waiting to run
CI / cargo fmt (push) Waiting to run
CI / cargo clippy (push) Blocked by required conditions
CI / cargo test (linux) (push) Blocked by required conditions
CI / cargo test (linux, release) (push) Blocked by required conditions
CI / cargo test (windows) (push) Blocked by required conditions
CI / cargo test (wasm) (push) Blocked by required conditions
CI / cargo build (release) (push) Waiting to run
CI / cargo build (msrv) (push) Blocked by required conditions
CI / cargo fuzz build (push) Blocked by required conditions
CI / fuzz parser (push) Blocked by required conditions
CI / test scripts (push) Blocked by required conditions
CI / ecosystem (push) Blocked by required conditions
CI / Fuzz for new ty panics (push) Blocked by required conditions
CI / cargo shear (push) Blocked by required conditions
CI / python package (push) Waiting to run
CI / pre-commit (push) Waiting to run
CI / mkdocs (push) Waiting to run
CI / formatter instabilities and black similarity (push) Blocked by required conditions
CI / test ruff-lsp (push) Blocked by required conditions
CI / check playground (push) Blocked by required conditions
CI / benchmarks-instrumented (push) Blocked by required conditions
CI / benchmarks-walltime (push) Blocked by required conditions
[ty Playground] Release / publish (push) Waiting to run
2025-07-24 09:12:50 -04:00
renovate[bot]
f063c0e874
Update dependency ruff to v0.12.4 ( #19442 )
...
CI / Determine changes (push) Waiting to run
CI / cargo fmt (push) Waiting to run
CI / cargo clippy (push) Blocked by required conditions
CI / cargo test (linux) (push) Blocked by required conditions
CI / cargo test (linux, release) (push) Blocked by required conditions
CI / cargo test (windows) (push) Blocked by required conditions
CI / cargo test (wasm) (push) Blocked by required conditions
CI / cargo build (release) (push) Waiting to run
CI / cargo build (msrv) (push) Blocked by required conditions
CI / cargo fuzz build (push) Blocked by required conditions
CI / fuzz parser (push) Blocked by required conditions
CI / test scripts (push) Blocked by required conditions
CI / ecosystem (push) Blocked by required conditions
CI / Fuzz for new ty panics (push) Blocked by required conditions
CI / cargo shear (push) Blocked by required conditions
CI / python package (push) Waiting to run
CI / pre-commit (push) Waiting to run
CI / mkdocs (push) Waiting to run
CI / formatter instabilities and black similarity (push) Blocked by required conditions
CI / test ruff-lsp (push) Blocked by required conditions
CI / check playground (push) Blocked by required conditions
CI / benchmarks-instrumented (push) Blocked by required conditions
CI / benchmarks-walltime (push) Blocked by required conditions
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-21 08:32:09 +02:00
Dylan
ee2759b365
Bump 0.12.4 ( #19406 )
2025-07-17 12:14:01 -05:00
renovate[bot]
3ed3852c38
Update dependency ruff to v0.12.3 ( #19313 )
...
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| [ruff](https://docs.astral.sh/ruff )
([source](https://redirect.github.com/astral-sh/ruff ),
[changelog](https://redirect.github.com/astral-sh/ruff/blob/main/CHANGELOG.md ))
| `==0.12.2` -> `==0.12.3` |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
<details>
<summary>astral-sh/ruff (ruff)</summary>
###
[`v0.12.3`](https://redirect.github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#0123 )
[Compare
Source](https://redirect.github.com/astral-sh/ruff/compare/0.12.2...0.12.3 )
##### Preview features
- \[`flake8-bugbear`] Support non-context-manager calls in `B017`
([#​19063](https://redirect.github.com/astral-sh/ruff/pull/19063 ))
- \[`flake8-use-pathlib`] Add autofixes for `PTH100`, `PTH106`,
`PTH107`, `PTH108`, `PTH110`, `PTH111`, `PTH112`, `PTH113`, `PTH114`,
`PTH115`, `PTH117`, `PTH119`, `PTH120`
([#​19213](https://redirect.github.com/astral-sh/ruff/pull/19213 ))
- \[`flake8-use-pathlib`] Add autofixes for `PTH203`, `PTH204`, `PTH205`
([#​18922](https://redirect.github.com/astral-sh/ruff/pull/18922 ))
##### Bug fixes
- \[`flake8-return`] Fix false-positive for variables used inside nested
functions in `RET504`
([#​18433](https://redirect.github.com/astral-sh/ruff/pull/18433 ))
- Treat form feed as valid whitespace before a line continuation
([#​19220](https://redirect.github.com/astral-sh/ruff/pull/19220 ))
- \[`flake8-type-checking`] Fix syntax error introduced by fix (`TC008`)
([#​19150](https://redirect.github.com/astral-sh/ruff/pull/19150 ))
- \[`pyupgrade`] Keyword arguments in `super` should suppress the
`UP008` fix
([#​19131](https://redirect.github.com/astral-sh/ruff/pull/19131 ))
##### Documentation
- \[`flake8-pyi`] Make example error out-of-the-box (`PYI007`, `PYI008`)
([#​19103](https://redirect.github.com/astral-sh/ruff/pull/19103 ))
- \[`flake8-simplify`] Make example error out-of-the-box (`SIM116`)
([#​19111](https://redirect.github.com/astral-sh/ruff/pull/19111 ))
- \[`flake8-type-checking`] Make example error out-of-the-box (`TC001`)
([#​19151](https://redirect.github.com/astral-sh/ruff/pull/19151 ))
- \[`flake8-use-pathlib`] Make example error out-of-the-box (`PTH210`)
([#​19189](https://redirect.github.com/astral-sh/ruff/pull/19189 ))
- \[`pycodestyle`] Make example error out-of-the-box (`E272`)
([#​19191](https://redirect.github.com/astral-sh/ruff/pull/19191 ))
- \[`pycodestyle`] Make example not raise unnecessary `SyntaxError`
(`E114`)
([#​19190](https://redirect.github.com/astral-sh/ruff/pull/19190 ))
- \[`pydoclint`] Make example error out-of-the-box (`DOC501`)
([#​19218](https://redirect.github.com/astral-sh/ruff/pull/19218 ))
- \[`pylint`, `pyupgrade`] Fix syntax errors in examples (`PLW1501`,
`UP028`)
([#​19127](https://redirect.github.com/astral-sh/ruff/pull/19127 ))
- \[`pylint`] Update `missing-maxsplit-arg` docs and error to suggest
proper usage (`PLC0207`)
([#​18949](https://redirect.github.com/astral-sh/ruff/pull/18949 ))
- \[`flake8-bandit`] Make example error out-of-the-box (`S412`)
([#​19241](https://redirect.github.com/astral-sh/ruff/pull/19241 ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/astral-sh/ruff ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4yMy4yIiwidXBkYXRlZEluVmVyIjoiNDEuMjMuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiaW50ZXJuYWwiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-14 11:52:25 +05:30
Brent Westbrook
5bc81f26c8
Bump 0.12.3 ( #19279 )
2025-07-11 09:07:50 -04:00
renovate[bot]
22d809b8ce
Update dependency ruff to v0.12.2 ( #19160 )
...
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| [ruff](https://docs.astral.sh/ruff )
([source](https://redirect.github.com/astral-sh/ruff ),
[changelog](https://redirect.github.com/astral-sh/ruff/blob/main/CHANGELOG.md ))
| `==0.12.1` -> `==0.12.2` |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
<details>
<summary>astral-sh/ruff (ruff)</summary>
###
[`v0.12.2`](https://redirect.github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#0122 )
[Compare
Source](https://redirect.github.com/astral-sh/ruff/compare/0.12.1...0.12.2 )
##### Preview features
- \[`flake8-pyi`] Expand `Optional[A]` to `A | None` (`PYI016`)
([#​18572](https://redirect.github.com/astral-sh/ruff/pull/18572 ))
- \[`pyupgrade`] Mark `UP008` fix safe if no comments are in range
([#​18683](https://redirect.github.com/astral-sh/ruff/pull/18683 ))
##### Bug fixes
- \[`flake8-comprehensions`] Fix `C420` to prepend whitespace when
needed
([#​18616](https://redirect.github.com/astral-sh/ruff/pull/18616 ))
- \[`perflint`] Fix `PERF403` panic on attribute or subscription loop
variable
([#​19042](https://redirect.github.com/astral-sh/ruff/pull/19042 ))
- \[`pydocstyle`] Fix `D413` infinite loop for parenthesized docstring
([#​18930](https://redirect.github.com/astral-sh/ruff/pull/18930 ))
- \[`pylint`] Fix `PLW0108` autofix introducing a syntax error when the
lambda's body contains an assignment expression
([#​18678](https://redirect.github.com/astral-sh/ruff/pull/18678 ))
- \[`refurb`] Fix false positive on empty tuples (`FURB168`)
([#​19058](https://redirect.github.com/astral-sh/ruff/pull/19058 ))
- \[`ruff`] Allow more `field` calls from `attrs` (`RUF009`)
([#​19021](https://redirect.github.com/astral-sh/ruff/pull/19021 ))
- \[`ruff`] Fix syntax error introduced for an empty string followed by
a u-prefixed string (`UP025`)
([#​18899](https://redirect.github.com/astral-sh/ruff/pull/18899 ))
##### Rule changes
- \[`flake8-executable`] Allow `uvx` in shebang line (`EXE003`)
([#​18967](https://redirect.github.com/astral-sh/ruff/pull/18967 ))
- \[`pandas`] Avoid flagging `PD002` if `pandas` is not imported
([#​18963](https://redirect.github.com/astral-sh/ruff/pull/18963 ))
- \[`pyupgrade`] Avoid PEP-604 unions with `typing.NamedTuple` (`UP007`,
`UP045`)
([#​18682](https://redirect.github.com/astral-sh/ruff/pull/18682 ))
##### Documentation
- Document link between `import-outside-top-level (PLC0415)` and
`lint.flake8-tidy-imports.banned-module-level-imports`
([#​18733](https://redirect.github.com/astral-sh/ruff/pull/18733 ))
- Fix description of the `format.skip-magic-trailing-comma` example
([#​19095](https://redirect.github.com/astral-sh/ruff/pull/19095 ))
- \[`airflow`] Make `AIR302` example error out-of-the-box
([#​18988](https://redirect.github.com/astral-sh/ruff/pull/18988 ))
- \[`airflow`] Make `AIR312` example error out-of-the-box
([#​18989](https://redirect.github.com/astral-sh/ruff/pull/18989 ))
- \[`flake8-annotations`] Make `ANN401` example error out-of-the-box
([#​18974](https://redirect.github.com/astral-sh/ruff/pull/18974 ))
- \[`flake8-async`] Make `ASYNC100` example error out-of-the-box
([#​18993](https://redirect.github.com/astral-sh/ruff/pull/18993 ))
- \[`flake8-async`] Make `ASYNC105` example error out-of-the-box
([#​19002](https://redirect.github.com/astral-sh/ruff/pull/19002 ))
- \[`flake8-async`] Make `ASYNC110` example error out-of-the-box
([#​18975](https://redirect.github.com/astral-sh/ruff/pull/18975 ))
- \[`flake8-async`] Make `ASYNC210` example error out-of-the-box
([#​18977](https://redirect.github.com/astral-sh/ruff/pull/18977 ))
- \[`flake8-async`] Make `ASYNC220`, `ASYNC221`, and `ASYNC222` examples
error out-of-the-box
([#​18978](https://redirect.github.com/astral-sh/ruff/pull/18978 ))
- \[`flake8-async`] Make `ASYNC251` example error out-of-the-box
([#​18990](https://redirect.github.com/astral-sh/ruff/pull/18990 ))
- \[`flake8-bandit`] Make `S201` example error out-of-the-box
([#​19017](https://redirect.github.com/astral-sh/ruff/pull/19017 ))
- \[`flake8-bandit`] Make `S604` and `S609` examples error
out-of-the-box
([#​19049](https://redirect.github.com/astral-sh/ruff/pull/19049 ))
- \[`flake8-bugbear`] Make `B028` example error out-of-the-box
([#​19054](https://redirect.github.com/astral-sh/ruff/pull/19054 ))
- \[`flake8-bugbear`] Make `B911` example error out-of-the-box
([#​19051](https://redirect.github.com/astral-sh/ruff/pull/19051 ))
- \[`flake8-datetimez`] Make `DTZ011` example error out-of-the-box
([#​19055](https://redirect.github.com/astral-sh/ruff/pull/19055 ))
- \[`flake8-datetimez`] Make `DTZ901` example error out-of-the-box
([#​19056](https://redirect.github.com/astral-sh/ruff/pull/19056 ))
- \[`flake8-pyi`] Make `PYI032` example error out-of-the-box
([#​19061](https://redirect.github.com/astral-sh/ruff/pull/19061 ))
- \[`flake8-pyi`] Make example error out-of-the-box (`PYI014`, `PYI015`)
([#​19097](https://redirect.github.com/astral-sh/ruff/pull/19097 ))
- \[`flake8-pyi`] Make example error out-of-the-box (`PYI042`)
([#​19101](https://redirect.github.com/astral-sh/ruff/pull/19101 ))
- \[`flake8-pyi`] Make example error out-of-the-box (`PYI059`)
([#​19080](https://redirect.github.com/astral-sh/ruff/pull/19080 ))
- \[`flake8-pyi`] Make example error out-of-the-box (`PYI062`)
([#​19079](https://redirect.github.com/astral-sh/ruff/pull/19079 ))
- \[`flake8-pytest-style`] Make example error out-of-the-box (`PT023`)
([#​19104](https://redirect.github.com/astral-sh/ruff/pull/19104 ))
- \[`flake8-pytest-style`] Make example error out-of-the-box (`PT030`)
([#​19105](https://redirect.github.com/astral-sh/ruff/pull/19105 ))
- \[`flake8-quotes`] Make example error out-of-the-box (`Q003`)
([#​19106](https://redirect.github.com/astral-sh/ruff/pull/19106 ))
- \[`flake8-simplify`] Make example error out-of-the-box (`SIM110`)
([#​19113](https://redirect.github.com/astral-sh/ruff/pull/19113 ))
- \[`flake8-simplify`] Make example error out-of-the-box (`SIM113`)
([#​19109](https://redirect.github.com/astral-sh/ruff/pull/19109 ))
- \[`flake8-simplify`] Make example error out-of-the-box (`SIM401`)
([#​19110](https://redirect.github.com/astral-sh/ruff/pull/19110 ))
- \[`pyflakes`] Fix backslash in docs (`F621`)
([#​19098](https://redirect.github.com/astral-sh/ruff/pull/19098 ))
- \[`pylint`] Fix `PLC0415` example
([#​18970](https://redirect.github.com/astral-sh/ruff/pull/18970 ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/astral-sh/ruff ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNy4yIiwidXBkYXRlZEluVmVyIjoiNDEuMTcuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiaW50ZXJuYWwiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-07 08:54:35 +05:30
Brent Westbrook
9bee8376a1
Bump 0.12.2 ( #19126 )
2025-07-03 12:27:24 -04:00
renovate[bot]
9469a982cc
Update dependency ruff to v0.12.1 ( #19032 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [ruff](https://docs.astral.sh/ruff )
([source](https://redirect.github.com/astral-sh/ruff ),
[changelog](https://redirect.github.com/astral-sh/ruff/blob/main/CHANGELOG.md ))
| `==0.12.0` -> `==0.12.1` |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
<details>
<summary>astral-sh/ruff (ruff)</summary>
###
[`v0.12.1`](https://redirect.github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#0121 )
[Compare
Source](https://redirect.github.com/astral-sh/ruff/compare/0.12.0...0.12.1 )
##### Preview features
- \[`flake8-errmsg`] Extend `EM101` to support byte strings
([#​18867](https://redirect.github.com/astral-sh/ruff/pull/18867 ))
- \[`flake8-use-pathlib`] Add autofix for `PTH202`
([#​18763](https://redirect.github.com/astral-sh/ruff/pull/18763 ))
- \[`pygrep-hooks`] Add `AsyncMock` methods to `invalid-mock-access`
(`PGH005`)
([#​18547](https://redirect.github.com/astral-sh/ruff/pull/18547 ))
- \[`pylint`] Ignore `__init__.py` files in (`PLC0414`)
([#​18400](https://redirect.github.com/astral-sh/ruff/pull/18400 ))
- \[`ruff`] Trigger `RUF037` for empty string and byte strings
([#​18862](https://redirect.github.com/astral-sh/ruff/pull/18862 ))
- \[formatter] Fix missing blank lines before decorated classes in
`.pyi` files
([#​18888](https://redirect.github.com/astral-sh/ruff/pull/18888 ))
##### Bug fixes
- Avoid generating diagnostics with per-file ignores
([#​18801](https://redirect.github.com/astral-sh/ruff/pull/18801 ))
- Handle parenthesized arguments in `remove_argument`
([#​18805](https://redirect.github.com/astral-sh/ruff/pull/18805 ))
- \[`flake8-logging`] Avoid false positive for `exc_info=True` outside
`logger.exception` (`LOG014`)
([#​18737](https://redirect.github.com/astral-sh/ruff/pull/18737 ))
- \[`flake8-pytest-style`] Enforce `pytest` import for decorators
([#​18779](https://redirect.github.com/astral-sh/ruff/pull/18779 ))
- \[`flake8-pytest-style`] Mark autofix for `PT001` and `PT023` as
unsafe if there's comments in the decorator
([#​18792](https://redirect.github.com/astral-sh/ruff/pull/18792 ))
- \[`flake8-pytest-style`] `PT001`/`PT023` fix makes syntax error on
parenthesized decorator
([#​18782](https://redirect.github.com/astral-sh/ruff/pull/18782 ))
- \[`flake8-raise`] Make fix unsafe if it deletes comments (`RSE102`)
([#​18788](https://redirect.github.com/astral-sh/ruff/pull/18788 ))
- \[`flake8-simplify`] Fix `SIM911` autofix creating a syntax error
([#​18793](https://redirect.github.com/astral-sh/ruff/pull/18793 ))
- \[`flake8-simplify`] Fix false negatives for shadowed bindings
(`SIM910`, `SIM911`)
([#​18794](https://redirect.github.com/astral-sh/ruff/pull/18794 ))
- \[`flake8-simplify`] Preserve original behavior for `except ()` and
bare `except` (`SIM105`)
([#​18213](https://redirect.github.com/astral-sh/ruff/pull/18213 ))
- \[`flake8-pyi`] Fix `PYI041`'s fix causing `TypeError` with `None |
None | ...`
([#​18637](https://redirect.github.com/astral-sh/ruff/pull/18637 ))
- \[`perflint`] Fix `PERF101` autofix creating a syntax error and mark
autofix as unsafe if there are comments in the `list` call expr
([#​18803](https://redirect.github.com/astral-sh/ruff/pull/18803 ))
- \[`perflint`] Fix false negative in `PERF401`
([#​18866](https://redirect.github.com/astral-sh/ruff/pull/18866 ))
- \[`pylint`] Avoid flattening nested `min`/`max` when outer call has
single argument (`PLW3301`)
([#​16885](https://redirect.github.com/astral-sh/ruff/pull/16885 ))
- \[`pylint`] Fix `PLC2801` autofix creating a syntax error
([#​18857](https://redirect.github.com/astral-sh/ruff/pull/18857 ))
- \[`pylint`] Mark `PLE0241` autofix as unsafe if there's comments in
the base classes
([#​18832](https://redirect.github.com/astral-sh/ruff/pull/18832 ))
- \[`pylint`] Suppress `PLE2510`/`PLE2512`/`PLE2513`/`PLE2514`/`PLE2515`
autofix if the text contains an odd number of backslashes
([#​18856](https://redirect.github.com/astral-sh/ruff/pull/18856 ))
- \[`refurb`] Detect more exotic float literals in `FURB164`
([#​18925](https://redirect.github.com/astral-sh/ruff/pull/18925 ))
- \[`refurb`] Fix `FURB163` autofix creating a syntax error for `yield`
expressions
([#​18756](https://redirect.github.com/astral-sh/ruff/pull/18756 ))
- \[`refurb`] Mark `FURB129` autofix as unsafe if there's comments in
the `readlines` call
([#​18858](https://redirect.github.com/astral-sh/ruff/pull/18858 ))
- \[`ruff`] Fix false positives and negatives in `RUF010`
([#​18690](https://redirect.github.com/astral-sh/ruff/pull/18690 ))
- Fix casing of `analyze.direction` variant names
([#​18892](https://redirect.github.com/astral-sh/ruff/pull/18892 ))
##### Rule changes
- Fix f-string interpolation escaping in generated fixes
([#​18882](https://redirect.github.com/astral-sh/ruff/pull/18882 ))
- \[`flake8-return`] Mark `RET501` fix unsafe if comments are inside
([#​18780](https://redirect.github.com/astral-sh/ruff/pull/18780 ))
- \[`flake8-async`] Fix detection for large integer sleep durations in
`ASYNC116` rule
([#​18767](https://redirect.github.com/astral-sh/ruff/pull/18767 ))
- \[`flake8-async`] Mark autofix for `ASYNC115` as unsafe if the call
expression contains comments
([#​18753](https://redirect.github.com/astral-sh/ruff/pull/18753 ))
- \[`flake8-bugbear`] Mark autofix for `B004` as unsafe if the `hasattr`
call expr contains comments
([#​18755](https://redirect.github.com/astral-sh/ruff/pull/18755 ))
- \[`flake8-comprehension`] Mark autofix for `C420` as unsafe if there's
comments inside the dict comprehension
([#​18768](https://redirect.github.com/astral-sh/ruff/pull/18768 ))
- \[`flake8-comprehensions`] Handle template strings for comprehension
fixes
([#​18710](https://redirect.github.com/astral-sh/ruff/pull/18710 ))
- \[`flake8-future-annotations`] Add autofix (`FA100`)
([#​18903](https://redirect.github.com/astral-sh/ruff/pull/18903 ))
- \[`pyflakes`] Mark `F504`/`F522`/`F523` autofix as unsafe if there's a
call with side effect
([#​18839](https://redirect.github.com/astral-sh/ruff/pull/18839 ))
- \[`pylint`] Allow fix with comments and document performance
implications (`PLW3301`)
([#​18936](https://redirect.github.com/astral-sh/ruff/pull/18936 ))
- \[`pylint`] Detect more exotic `NaN` literals in `PLW0177`
([#​18630](https://redirect.github.com/astral-sh/ruff/pull/18630 ))
- \[`pylint`] Fix `PLC1802` autofix creating a syntax error and mark
autofix as unsafe if there's comments in the `len` call
([#​18836](https://redirect.github.com/astral-sh/ruff/pull/18836 ))
- \[`pyupgrade`] Extend version detection to include
`sys.version_info.major` (`UP036`)
([#​18633](https://redirect.github.com/astral-sh/ruff/pull/18633 ))
- \[`ruff`] Add lint rule `RUF064` for calling `chmod` with non-octal
integers
([#​18541](https://redirect.github.com/astral-sh/ruff/pull/18541 ))
- \[`ruff`] Added `cls.__dict__.get('__annotations__')` check (`RUF063`)
([#​18233](https://redirect.github.com/astral-sh/ruff/pull/18233 ))
- \[`ruff`] Frozen `dataclass` default should be valid (`RUF009`)
([#​18735](https://redirect.github.com/astral-sh/ruff/pull/18735 ))
##### Server
- Consider virtual path for various server actions
([#​18910](https://redirect.github.com/astral-sh/ruff/pull/18910 ))
##### Documentation
- Add fix safety sections
([#​18940](https://redirect.github.com/astral-sh/ruff/pull/18940 ),[#​18841](https://redirect.github.com/astral-sh/ruff/pull/18841 ),[#​18802](https://redirect.github.com/astral-sh/ruff/pull/18802 ),[#​18837](https://redirect.github.com/astral-sh/ruff/pull/18837 ),[#​18800](https://redirect.github.com/astral-sh/ruff/pull/18800 ),[#​18415](https://redirect.github.com/astral-sh/ruff/pull/18415 ),[#​18853](https://redirect.github.com/astral-sh/ruff/pull/18853 ),[#​18842](https://redirect.github.com/astral-sh/ruff/pull/18842 ))
- Use updated pre-commit id
([#​18718](https://redirect.github.com/astral-sh/ruff/pull/18718 ))
- \[`perflint`] Small docs improvement to `PERF401`
([#​18786](https://redirect.github.com/astral-sh/ruff/pull/18786 ))
- \[`pyupgrade`]: Use `super()`, not `__super__` in error messages
(`UP008`)
([#​18743](https://redirect.github.com/astral-sh/ruff/pull/18743 ))
- \[`flake8-pie`] Small docs fix to `PIE794`
([#​18829](https://redirect.github.com/astral-sh/ruff/pull/18829 ))
- \[`flake8-pyi`] Correct `collections-named-tuple` example to use
PascalCase assignment
([#​16884](https://redirect.github.com/astral-sh/ruff/pull/16884 ))
- \[`flake8-pie`] Add note on type checking benefits to
`unnecessary-dict-kwargs` (`PIE804`)
([#​18666](https://redirect.github.com/astral-sh/ruff/pull/18666 ))
- \[`pycodestyle`] Clarify PEP 8 relationship to
`whitespace-around-operator` rules
([#​18870](https://redirect.github.com/astral-sh/ruff/pull/18870 ))
##### Other changes
- Disallow newlines in format specifiers of single quoted f- or
t-strings
([#​18708](https://redirect.github.com/astral-sh/ruff/pull/18708 ))
- \[`flake8-logging`] Add fix safety section to `LOG002`
([#​18840](https://redirect.github.com/astral-sh/ruff/pull/18840 ))
- \[`pyupgrade`] Add fix safety section to `UP010`
([#​18838](https://redirect.github.com/astral-sh/ruff/pull/18838 ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/astral-sh/ruff ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC42Mi4xIiwidXBkYXRlZEluVmVyIjoiNDAuNjIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiaW50ZXJuYWwiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-30 13:12:53 +05:30
Dylan
32c54189cb
Bump 0.12.1 ( #18969 )
2025-06-26 15:20:31 -05:00
renovate[bot]
55a2ff91c7
Update dependency ruff to v0.12.0 ( #18790 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-19 09:32:47 +00:00
Brent Westbrook
87f0feb21a
Bump 0.12.0 ( #18724 )
...
- [x] Updated changelog
- [x] Updated breaking changes
2025-06-17 11:05:59 -04:00
renovate[bot]
6cefbb6b38
Update dependency ruff to v0.11.13 ( #18580 )
2025-06-09 02:23:11 +01:00
shimies
8d24760643
Fix doc for Neovim setting examples ( #18491 )
...
## Summary
This PR fixes an error in the example Neovim configuration on [this
documentation
page](https://docs.astral.sh/ruff/editors/settings/#configuration ).
The `configuration` block should be nested under `settings`, consistent
with other properties and as outlined
[here](https://docs.astral.sh/ruff/editors/setup/#neovim ).
I encountered this issue when copying the example to configure ruff
integration in my neovim - the config didn’t work until I corrected the
nesting.
## Test Plan
- [x] Confirmed that the corrected configuration works in a real Neovim
+ Ruff setup
- [x] Verified that the updated configuration renders correctly in
MkDocs
<img width="382" alt="image"
src="https://github.com/user-attachments/assets/0722fb35-8ffa-4b10-90ba-c6e8417e40bf "
/>
2025-06-06 15:19:16 +05:30
Dylan
5faf72a4d9
Bump 0.11.13 ( #18484 )
CI / Determine changes (push) Waiting to run
CI / cargo fmt (push) Waiting to run
CI / cargo clippy (push) Blocked by required conditions
CI / cargo test (linux) (push) Blocked by required conditions
CI / cargo test (linux, release) (push) Blocked by required conditions
CI / cargo test (windows) (push) Blocked by required conditions
CI / cargo test (wasm) (push) Blocked by required conditions
CI / cargo build (release) (push) Waiting to run
CI / cargo build (msrv) (push) Blocked by required conditions
CI / cargo fuzz build (push) Blocked by required conditions
CI / fuzz parser (push) Blocked by required conditions
CI / test scripts (push) Blocked by required conditions
CI / ecosystem (push) Blocked by required conditions
CI / Fuzz for new ty panics (push) Blocked by required conditions
CI / cargo shear (push) Blocked by required conditions
CI / python package (push) Waiting to run
CI / pre-commit (push) Waiting to run
CI / mkdocs (push) Waiting to run
CI / formatter instabilities and black similarity (push) Blocked by required conditions
CI / test ruff-lsp (push) Blocked by required conditions
CI / check playground (push) Blocked by required conditions
CI / benchmarks (push) Blocked by required conditions
[ty Playground] Release / publish (push) Waiting to run
2025-06-05 15:18:38 -05:00
otakutyrant
d1cb8e2142
Update editor setup docs about Neovim and Vim ( #18324 )
...
## Summary
I struggled to make ruff_organize_imports work and then I found out I
missed the key note about conform.nvim before because it was put in the
Vim section wrongly! So I refined them both.
---------
Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com>
2025-06-03 07:40:22 +00:00
renovate[bot]
643c845a47
Update dependency mdformat-mkdocs to v4.3.0 ( #18421 )
2025-06-02 07:38:36 +02:00
renovate[bot]
c4015edf48
Update dependency ruff to v0.11.12 ( #18417 )
2025-06-02 07:37:56 +02:00
Brent Westbrook
aee3af0f7a
Bump 0.11.12 ( #18369 )
2025-05-29 09:17:12 -04:00
renovate[bot]
cc59ff8aad
Update dependency ruff to v0.11.11 ( #18301 )
2025-05-26 07:41:54 +02:00
Dylan
6c0a59ea78
Fix insider docs requirement syntax ( #18265 )
...
CI / Determine changes (push) Waiting to run
CI / cargo fmt (push) Waiting to run
CI / cargo clippy (push) Blocked by required conditions
CI / cargo test (linux) (push) Blocked by required conditions
CI / cargo test (linux, release) (push) Blocked by required conditions
CI / cargo test (windows) (push) Blocked by required conditions
CI / cargo test (wasm) (push) Blocked by required conditions
CI / cargo build (release) (push) Waiting to run
CI / cargo build (msrv) (push) Blocked by required conditions
CI / cargo fuzz build (push) Blocked by required conditions
CI / fuzz parser (push) Blocked by required conditions
CI / test scripts (push) Blocked by required conditions
CI / ecosystem (push) Blocked by required conditions
CI / Fuzz for new ty panics (push) Blocked by required conditions
CI / cargo shear (push) Blocked by required conditions
CI / python package (push) Waiting to run
CI / pre-commit (push) Waiting to run
CI / mkdocs (push) Waiting to run
CI / formatter instabilities and black similarity (push) Blocked by required conditions
CI / test ruff-lsp (push) Blocked by required conditions
CI / check playground (push) Blocked by required conditions
CI / benchmarks (push) Blocked by required conditions
[ty Playground] Release / publish (push) Waiting to run
Attempting to fix the `mkdocs` workflow (maybe `uv` is more forgiving
than `pip` for the syntax in `requirements.txt`?)
2025-05-22 16:21:51 -05:00
Dylan
0397682f1f
Bump 0.11.11 ( #18259 )
2025-05-22 13:09:44 -05:00
Micha Reiser
f9ca6eb63e
Fix rendering of admonition in docs ( #18163 )
2025-05-20 08:22:06 +02:00
renovate[bot]
ab96adbcd1
Update dependency ruff to v0.11.10 ( #18171 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-19 08:29:03 +02:00
Brent Westbrook
b35bf8ae07
Bump 0.11.10 ( #18120 )
2025-05-15 09:54:08 -04:00
Simon Sawert
33e14c5963
Update Neovim setup docs ( #18108 )
...
CI / cargo clippy (push) Blocked by required conditions
CI / Determine changes (push) Waiting to run
CI / cargo fmt (push) Waiting to run
CI / cargo test (linux) (push) Blocked by required conditions
CI / cargo test (linux, release) (push) Blocked by required conditions
CI / cargo test (windows) (push) Blocked by required conditions
CI / cargo test (wasm) (push) Blocked by required conditions
CI / cargo build (release) (push) Waiting to run
CI / cargo build (msrv) (push) Blocked by required conditions
CI / cargo fuzz build (push) Blocked by required conditions
CI / fuzz parser (push) Blocked by required conditions
CI / test scripts (push) Blocked by required conditions
CI / mkdocs (push) Waiting to run
CI / ecosystem (push) Blocked by required conditions
CI / Fuzz for new ty panics (push) Blocked by required conditions
CI / cargo shear (push) Blocked by required conditions
CI / python package (push) Waiting to run
CI / pre-commit (push) Waiting to run
CI / formatter instabilities and black similarity (push) Blocked by required conditions
CI / test ruff-lsp (push) Blocked by required conditions
CI / check playground (push) Blocked by required conditions
CI / benchmarks (push) Blocked by required conditions
[ty Playground] Release / publish (push) Waiting to run
## Summary
Nvim 0.11+ uses the builtin `vim.lsp.enable` and `vim.lsp.config` to
enable and configure LSP clients. This adds the new non legacy way of
configuring Nvim with `nvim-lspconfig` according to the upstream
documentation.
Update documentation for Nvim LSP configuration according to
`nvim-lspconfig` and Nvim 0.11+
## Test Plan
Tested locally on macOS with Nvim 0.11.1 and `nvim-lspconfig`
master/[ac1dfbe](ac1dfbe3b6
).
2025-05-14 20:54:24 +00:00
Luke
1eab59e681
Remove double whitespace ( #18090 )
CI / cargo clippy (push) Blocked by required conditions
CI / Determine changes (push) Waiting to run
CI / cargo fmt (push) Waiting to run
CI / cargo test (linux) (push) Blocked by required conditions
CI / cargo test (linux, release) (push) Blocked by required conditions
CI / cargo test (windows) (push) Blocked by required conditions
CI / cargo test (wasm) (push) Blocked by required conditions
CI / cargo build (release) (push) Waiting to run
CI / cargo build (msrv) (push) Blocked by required conditions
CI / cargo fuzz build (push) Blocked by required conditions
CI / fuzz parser (push) Blocked by required conditions
CI / test scripts (push) Blocked by required conditions
CI / mkdocs (push) Waiting to run
CI / ecosystem (push) Blocked by required conditions
CI / Fuzz for new ty panics (push) Blocked by required conditions
CI / cargo shear (push) Blocked by required conditions
CI / python package (push) Waiting to run
CI / pre-commit (push) Waiting to run
CI / formatter instabilities and black similarity (push) Blocked by required conditions
CI / test ruff-lsp (push) Blocked by required conditions
CI / check playground (push) Blocked by required conditions
CI / benchmarks (push) Blocked by required conditions
[ty Playground] Release / publish (push) Waiting to run
2025-05-14 11:20:19 +02:00
renovate[bot]
99555b775c
Update dependency ruff to v0.11.9 ( #18024 )
...
CI / Determine changes (push) Waiting to run
CI / cargo fmt (push) Waiting to run
CI / cargo clippy (push) Blocked by required conditions
CI / cargo test (linux) (push) Blocked by required conditions
CI / cargo test (linux, release) (push) Blocked by required conditions
CI / cargo test (windows) (push) Blocked by required conditions
CI / cargo test (wasm) (push) Blocked by required conditions
CI / cargo build (release) (push) Waiting to run
CI / cargo build (msrv) (push) Blocked by required conditions
CI / cargo fuzz build (push) Blocked by required conditions
CI / fuzz parser (push) Blocked by required conditions
CI / test scripts (push) Blocked by required conditions
CI / ecosystem (push) Blocked by required conditions
CI / Fuzz for new ty panics (push) Blocked by required conditions
CI / cargo shear (push) Blocked by required conditions
CI / python package (push) Waiting to run
CI / pre-commit (push) Waiting to run
CI / mkdocs (push) Waiting to run
CI / formatter instabilities and black similarity (push) Blocked by required conditions
CI / test ruff-lsp (push) Blocked by required conditions
CI / check playground (push) Blocked by required conditions
CI / benchmarks (push) Blocked by required conditions
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-11 22:03:55 -04:00
Dylan
2370297cde
Bump 0.11.9 ( #17986 )
2025-05-09 10:43:27 -05:00
Dylan
965a4dd731
[isort
] Check full module path against project root(s) when categorizing first-party ( #16565 )
...
When attempting to determine whether `import foo.bar.baz` is a known
first-party import relative to [user-provided source
paths](https://docs.astral.sh/ruff/settings/#src ), when `preview` is
enabled we now check that `SRC/foo/bar/baz` is a directory or
`SRC/foo/bar/baz.py` or `SRC/foo/bar/baz.pyi` exist.
Previously, we just checked the analogous thing for `SRC/foo`, but this
can be misleading in situations with disjoint namespace packages that
share a common base name (e.g. we may be working inside the namespace
package `foo.buzz` and importing `foo.bar` from elsewhere).
Supersedes #12987
Closes #12984
2025-05-05 11:40:01 -05:00
renovate[bot]
3b15af6d4f
Update dependency ruff to v0.11.8 ( #17839 )
2025-05-05 07:29:36 +02:00
Brent Westbrook
75effb8ed7
Bump 0.11.8 ( #17766 )
CI / Determine changes (push) Waiting to run
CI / cargo fmt (push) Waiting to run
CI / cargo clippy (push) Blocked by required conditions
CI / cargo test (linux) (push) Blocked by required conditions
CI / cargo test (linux, release) (push) Blocked by required conditions
CI / cargo test (windows) (push) Blocked by required conditions
CI / cargo test (wasm) (push) Blocked by required conditions
CI / cargo build (release) (push) Waiting to run
CI / cargo build (msrv) (push) Blocked by required conditions
CI / cargo fuzz build (push) Blocked by required conditions
CI / fuzz parser (push) Blocked by required conditions
CI / test scripts (push) Blocked by required conditions
CI / ecosystem (push) Blocked by required conditions
CI / Fuzz for new red-knot panics (push) Blocked by required conditions
CI / cargo shear (push) Blocked by required conditions
CI / python package (push) Waiting to run
CI / pre-commit (push) Waiting to run
CI / mkdocs (push) Waiting to run
CI / formatter instabilities and black similarity (push) Blocked by required conditions
CI / test ruff-lsp (push) Blocked by required conditions
CI / check playground (push) Blocked by required conditions
CI / benchmarks (push) Blocked by required conditions
[Knot Playground] Release / publish (push) Waiting to run
2025-05-01 10:19:58 -04:00
Dylan
ae7691b026
Add Python 3.14 to configuration options ( #17647 )
...
A small PR that just updates the various settings/configurations to
allow Python 3.14. At the moment selecting that target version will
have no impact compared to Python 3.13 - except that a warning
is emitted if the user does so with `preview` disabled.
2025-04-28 16:29:00 -05:00
renovate[bot]
b09f00a4ef
Update dependency ruff to v0.11.7 ( #17668 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-28 08:09:50 +02:00
Dylan
f7b48510b5
Bump 0.11.7 ( #17613 )
CI / cargo clippy (push) Blocked by required conditions
CI / cargo build (msrv) (push) Blocked by required conditions
CI / Determine changes (push) Waiting to run
CI / cargo fmt (push) Waiting to run
CI / cargo test (linux) (push) Blocked by required conditions
CI / cargo test (linux, release) (push) Blocked by required conditions
CI / cargo test (windows) (push) Blocked by required conditions
CI / cargo test (wasm) (push) Blocked by required conditions
CI / cargo build (release) (push) Waiting to run
CI / cargo fuzz build (push) Blocked by required conditions
CI / fuzz parser (push) Blocked by required conditions
CI / test scripts (push) Blocked by required conditions
CI / ecosystem (push) Blocked by required conditions
CI / cargo shear (push) Blocked by required conditions
CI / python package (push) Waiting to run
CI / pre-commit (push) Waiting to run
CI / mkdocs (push) Waiting to run
CI / formatter instabilities and black similarity (push) Blocked by required conditions
CI / test ruff-lsp (push) Blocked by required conditions
CI / check playground (push) Blocked by required conditions
CI / benchmarks (push) Blocked by required conditions
[Knot Playground] Release / publish (push) Waiting to run
2025-04-24 13:06:38 -05:00
renovate[bot]
c077b109ce
Update dependency ruff to v0.11.6 ( #17516 )
CI / Determine changes (push) Waiting to run
CI / cargo fmt (push) Waiting to run
CI / cargo clippy (push) Blocked by required conditions
CI / cargo test (linux) (push) Blocked by required conditions
CI / cargo test (linux, release) (push) Blocked by required conditions
CI / cargo test (windows) (push) Blocked by required conditions
CI / cargo test (wasm) (push) Blocked by required conditions
CI / cargo build (release) (push) Waiting to run
CI / cargo build (msrv) (push) Blocked by required conditions
CI / cargo fuzz build (push) Blocked by required conditions
CI / fuzz parser (push) Blocked by required conditions
CI / test scripts (push) Blocked by required conditions
CI / ecosystem (push) Blocked by required conditions
CI / cargo shear (push) Blocked by required conditions
CI / python package (push) Waiting to run
CI / pre-commit (push) Waiting to run
CI / mkdocs (push) Waiting to run
CI / formatter instabilities and black similarity (push) Blocked by required conditions
CI / test ruff-lsp (push) Blocked by required conditions
CI / check playground (push) Blocked by required conditions
CI / benchmarks (push) Blocked by required conditions
2025-04-21 09:49:22 +01:00
Brent Westbrook
fcd50a0496
Bump 0.11.6 ( #17449 )
2025-04-17 09:20:29 -04:00
renovate[bot]
78dabc332d
Update Rust crate clap to v4.5.36 ( #17381 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <alex.waygood@gmail.com>
2025-04-15 16:27:36 +00:00
Dylan
7186d5e9ad
Bump 0.11.5 ( #17337 )
2025-04-10 11:57:44 -05:00
renovate[bot]
27ecf350d8
Update Rust crate clap to v4.5.35 ( #17273 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [clap](https://redirect.github.com/clap-rs/clap ) |
workspace.dependencies | patch | `4.5.34` -> `4.5.35` |
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
<details>
<summary>clap-rs/clap (clap)</summary>
###
[`v4.5.35`](https://redirect.github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4535---2025-04-01 )
[Compare
Source](https://redirect.github.com/clap-rs/clap/compare/v4.5.34...v4.5.35 )
##### Fixes
- *(help)* Align positionals and flags when put in the same
`help_heading`
- *(help)* Don't leave space for shorts if there are none
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/astral-sh/ruff ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMjcuMyIsInVwZGF0ZWRJblZlciI6IjM5LjIyNy4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJpbnRlcm5hbCJdfQ==-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Micha Reiser <micha@reiser.io>
2025-04-07 14:25:05 +00:00
Bruno Alla
708b84fb87
[docs] fix formatting of "See Style Guide" link ( #17272 )
...
<!--
Thank you for contributing to Ruff! To help us out with reviewing,
please consider the following:
- Does this pull request include a summary of the change? (See below.)
- Does this pull request include a descriptive title?
- Does this pull request include references to any relevant issues?
-->
## Summary
Minor formatting tweak in the docs. Looks like the link is meant to be
italic (others "See XXXX" are), but the opening underscore isn't closed
so it's displayed in the rendered version:
https://docs.astral.sh/ruff/formatter/#philosophy

## Test Plan
<!-- How was it tested? -->
2025-04-07 12:43:26 +00:00
Brent Westbrook
95d6ed40cc
Bump 0.11.4 ( #17212 )
2025-04-04 14:09:10 -04:00
Brent Westbrook
755ece0c36
Bump 0.11.3 ( #17173 )
2025-04-03 09:05:40 -04:00
Brent Westbrook
4773878ee7
Bump 0.11.2 ( #16896 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2025-03-21 09:17:07 -04:00
Dylan
c1971fdde2
Bump 0.11.1 ( #16871 )
2025-03-20 09:50:46 -05:00
Josh Cannon
861931795c
Add --exit-non-zero-on-format
( #16009 )
...
## Summary
Fixes #8191 by introducing `--exit-non-zero-on-format` to `ruff format`
which pretty much does what it says on the tin.
## Test Plan
Added a new test!
---------
Co-authored-by: Brent Westbrook <brentrwestbrook@gmail.com>
2025-03-19 10:55:05 -04:00