Skip to content

Commit 1ebb33d

Browse files
⬆️ Update dependency ruff to ^0.0.267 (#98)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [ruff](https://github.com/charliermarsh/ruff) ([changelog](https://github.com/charliermarsh/ruff/releases)) | `^0.0.265` -> `^0.0.267` | [![age](https://badges.renovateapi.com/packages/pypi/ruff/0.0.267/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/ruff/0.0.267/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/ruff/0.0.267/compatibility-slim/0.0.265)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/ruff/0.0.267/confidence-slim/0.0.265)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>charliermarsh/ruff</summary> ### [`v0.0.267`](https://github.com/charliermarsh/ruff/releases/tag/v0.0.267) [Compare Source](https://github.com/charliermarsh/ruff/compare/v0.0.266...v0.0.267) <!-- Release notes generated using configuration in .github/release.yml at main --> #### Summary Follow-up release to v0.0.266 to fix an issue with `python -m ruff`- and `import ruff`-based workflows. (No new rules or functionality.) #### What's Changed ##### Rules - Implement `RUF010` to detect explicit type conversions within f-strings by [@&#8203;LotemAm](https://github.com/LotemAm) in [https://github.com/charliermarsh/ruff/pull/4387](https://github.com/charliermarsh/ruff/pull/4387) ##### Other Changes - Workaround for maturin bug by [@&#8203;konstin](https://github.com/konstin) in [https://github.com/charliermarsh/ruff/pull/4399](https://github.com/charliermarsh/ruff/pull/4399) #### New Contributors - [@&#8203;OMEGARAZER](https://github.com/OMEGARAZER) made their first contribution in [https://github.com/charliermarsh/ruff/pull/3938](https://github.com/charliermarsh/ruff/pull/3938) - [@&#8203;LotemAm](https://github.com/LotemAm) made their first contribution in [https://github.com/charliermarsh/ruff/pull/4387](https://github.com/charliermarsh/ruff/pull/4387) **Full Changelog**: astral-sh/ruff@v0.0.266...v0.0.267 ### [`v0.0.266`](https://github.com/charliermarsh/ruff/releases/tag/v0.0.266) [Compare Source](https://github.com/charliermarsh/ruff/compare/v0.0.265...v0.0.266) <!-- Release notes generated using configuration in .github/release.yml at main --> #### What's Changed ##### Breaking Changes - Remove deprecated `update-check` setting by [@&#8203;charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/4313](https://github.com/charliermarsh/ruff/pull/4313) - JSON Emitter: Use one indexed column numbers for edits by [@&#8203;MichaReiser](https://github.com/MichaReiser) in [https://github.com/charliermarsh/ruff/pull/4007](https://github.com/charliermarsh/ruff/pull/4007) ##### Rules - \[`pygrep-hooks`] Implement pygrep-hook's Mock-mistake diagnostic by [@&#8203;charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/4366](https://github.com/charliermarsh/ruff/pull/4366) - \[`pylint`] Implement `nested-min-max` (`W3301`) by [@&#8203;mccullocht](https://github.com/mccullocht) in [https://github.com/charliermarsh/ruff/pull/4200](https://github.com/charliermarsh/ruff/pull/4200) - \[`flynt`] Implement Flynt static string join transform as FLY002 by [@&#8203;akx](https://github.com/akx) in [https://github.com/charliermarsh/ruff/pull/4196](https://github.com/charliermarsh/ruff/pull/4196) - \[`pylint`] Include positional- and keyword-only arguments in too-many-arguments by [@&#8203;charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/4329](https://github.com/charliermarsh/ruff/pull/4329) - \[`ruff`] Update confusable character mapping by [@&#8203;akx](https://github.com/akx) in [https://github.com/charliermarsh/ruff/pull/4274](https://github.com/charliermarsh/ruff/pull/4274) ##### Settings - Add .git-rewrite folder to default ignored folder paths by [@&#8203;jleclanche](https://github.com/jleclanche) in [https://github.com/charliermarsh/ruff/pull/4261](https://github.com/charliermarsh/ruff/pull/4261) - Feat: detect changes also in configuration files by [@&#8203;mikeleppane](https://github.com/mikeleppane) in [https://github.com/charliermarsh/ruff/pull/4169](https://github.com/charliermarsh/ruff/pull/4169) ##### Bug Fixes - Revert the B027 autofix logic by [@&#8203;aacunningham](https://github.com/aacunningham) in [https://github.com/charliermarsh/ruff/pull/4310](https://github.com/charliermarsh/ruff/pull/4310) - Consider Flask app logger as logger candidate by [@&#8203;dhruvmanila](https://github.com/dhruvmanila) in [https://github.com/charliermarsh/ruff/pull/4253](https://github.com/charliermarsh/ruff/pull/4253) - Enforce max-doc-length for multi-line docstrings by [@&#8203;charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/4347](https://github.com/charliermarsh/ruff/pull/4347) - Avoid re-using imports beyond current edit site by [@&#8203;charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/4378](https://github.com/charliermarsh/ruff/pull/4378) - Respect insertion location when importing symbols by [@&#8203;charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/4258](https://github.com/charliermarsh/ruff/pull/4258) - Fix jemalloc page size on aarch64 by [@&#8203;MichaReiser](https://github.com/MichaReiser) in [https://github.com/charliermarsh/ruff/pull/4247](https://github.com/charliermarsh/ruff/pull/4247) - Fix replace_whitespace() tabulation to space by [@&#8203;JonathanPlasse](https://github.com/JonathanPlasse) in [https://github.com/charliermarsh/ruff/pull/4226](https://github.com/charliermarsh/ruff/pull/4226) - Avoid fixing `PD002` in a lambda expression by [@&#8203;dhruvmanila](https://github.com/dhruvmanila) in [https://github.com/charliermarsh/ruff/pull/4286](https://github.com/charliermarsh/ruff/pull/4286) - Avoid `D403` if first char cannot be uppercased by [@&#8203;dhruvmanila](https://github.com/dhruvmanila) in [https://github.com/charliermarsh/ruff/pull/4283](https://github.com/charliermarsh/ruff/pull/4283) - Avoid panics for f-string rewrites at start-of-file by [@&#8203;charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/4291](https://github.com/charliermarsh/ruff/pull/4291) - Rewrite `not not a` as `bool(a)` in boolean contexts by [@&#8203;charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/4294](https://github.com/charliermarsh/ruff/pull/4294) - Include static and class methods in in abstract decorator list by [@&#8203;charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/4298](https://github.com/charliermarsh/ruff/pull/4298) - Specify exact command in incorrect parentheses suggestion by [@&#8203;charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/4300](https://github.com/charliermarsh/ruff/pull/4300) - Ignore `TRY301` exceptions without except handlers by [@&#8203;charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/4301](https://github.com/charliermarsh/ruff/pull/4301) - Preserve whitespace around `ListComp` brackets in `C419` by [@&#8203;dhruvmanila](https://github.com/dhruvmanila) in [https://github.com/charliermarsh/ruff/pull/4099](https://github.com/charliermarsh/ruff/pull/4099) - Tweak capitalization of B021 message by [@&#8203;charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/4350](https://github.com/charliermarsh/ruff/pull/4350) - Avoid debug panic with empty indent replacement by [@&#8203;charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/4364](https://github.com/charliermarsh/ruff/pull/4364) - Use target name in hardcoded-password diagnostics by [@&#8203;charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/4365](https://github.com/charliermarsh/ruff/pull/4365) - Avoid underflow in expected-special-method-signature by [@&#8203;charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/4377](https://github.com/charliermarsh/ruff/pull/4377) - Respect `__all__` imports when determining definition visibility by [@&#8203;charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/4357](https://github.com/charliermarsh/ruff/pull/4357) - Ignore some methods on list in `flake8-boolean-trap` by [@&#8203;charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/4385](https://github.com/charliermarsh/ruff/pull/4385) - Fix false positives in PD002 by [@&#8203;evanrittenhouse](https://github.com/evanrittenhouse) in [https://github.com/charliermarsh/ruff/pull/4337](https://github.com/charliermarsh/ruff/pull/4337) - Run autofix on initial watcher pass by [@&#8203;charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/4311](https://github.com/charliermarsh/ruff/pull/4311) - Avoid SIM105 autofixes that would remove comments by [@&#8203;charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/4330](https://github.com/charliermarsh/ruff/pull/4330) - Handle `.encode` calls on parenthesized expressions by [@&#8203;charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/4338](https://github.com/charliermarsh/ruff/pull/4338) - Truncate `SyntaxError`s before newline character by [@&#8203;MichaReiser](https://github.com/MichaReiser) in [https://github.com/charliermarsh/ruff/pull/4124](https://github.com/charliermarsh/ruff/pull/4124) - Use non-empty ranges for logical-lines diagnostics by [@&#8203;MichaReiser](https://github.com/MichaReiser) in [https://github.com/charliermarsh/ruff/pull/4133](https://github.com/charliermarsh/ruff/pull/4133) #### New Contributors - [@&#8203;jleclanche](https://github.com/jleclanche) made their first contribution in [https://github.com/charliermarsh/ruff/pull/4261](https://github.com/charliermarsh/ruff/pull/4261) - [@&#8203;aureliojargas](https://github.com/aureliojargas) made their first contribution in [https://github.com/charliermarsh/ruff/pull/4306](https://github.com/charliermarsh/ruff/pull/4306) - [@&#8203;intgr](https://github.com/intgr) made their first contribution in [https://github.com/charliermarsh/ruff/pull/4304](https://github.com/charliermarsh/ruff/pull/4304) - [@&#8203;mikeleppane](https://github.com/mikeleppane) made their first contribution in [https://github.com/charliermarsh/ruff/pull/4169](https://github.com/charliermarsh/ruff/pull/4169) - [@&#8203;dependabot](https://github.com/dependabot) made their first contribution in [https://github.com/charliermarsh/ruff/pull/4354](https://github.com/charliermarsh/ruff/pull/4354) **Full Changelog**: astral-sh/ruff@v0.0.265...v0.0.266 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, 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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/ixm-one/pytest-cmake-presets). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS43OS4xIiwidXBkYXRlZEluVmVyIjoiMzUuNzkuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Signed-off-by: Renovate Bot <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 539e2c8 commit 1ebb33d

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

poetry.lock

+19-19
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ optional = true
4242
pyright = "^1.1.285"
4343
black = "^23.0.0"
4444
isort = "^5.10.1"
45-
ruff = "^0.0.265"
45+
ruff = "^0.0.267"
4646
pytest-xdist = "^3.1.0"
4747
pytest-cov = "^4.0.0"
4848
ninja = "^1.11.1"

0 commit comments

Comments
 (0)