Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependency ruff to v0.1.1 (#365)
[![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://docs.astral.sh/ruff) ([source](https://togithub.com/astral-sh/ruff), [changelog](https://togithub.com/astral-sh/ruff/releases)) | `==0.1.0` -> `==0.1.1` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/ruff/0.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/ruff/0.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/ruff/0.1.0/0.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/ruff/0.1.0/0.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>astral-sh/ruff (ruff)</summary> ### [`v0.1.1`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#011) [Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.1.0...v0.1.1) ##### Rule changes - Add unsafe fix for `escape-sequence-in-docstring` (`D301`) ([#​7970](https://togithub.com/astral-sh/ruff/pull/7970)) ##### Configuration - Respect `#(deprecated)` attribute in configuration options ([#​8035](https://togithub.com/astral-sh/ruff/pull/8035)) - Add `[format|lint].exclude` options ([#​8000](https://togithub.com/astral-sh/ruff/pull/8000)) - Respect `tab-size` setting in formatter ([#​8006](https://togithub.com/astral-sh/ruff/pull/8006)) - Add `lint.preview` ([#​8002](https://togithub.com/astral-sh/ruff/pull/8002)) ##### Preview features - \[`pylint`] Implement `literal-membership` (`PLR6201`) ([#​7973](https://togithub.com/astral-sh/ruff/pull/7973)) - \[`pylint`] Implement `too-many-boolean-expressions` (`PLR0916`) ([#​7975](https://togithub.com/astral-sh/ruff/pull/7975)) - \[`pylint`] Implement `misplaced-bare-raise` (`E0704`) ([#​7961](https://togithub.com/astral-sh/ruff/pull/7961)) - \[`pylint`] Implement `global-at-module-level` (`W0604`) ([#​8058](https://togithub.com/astral-sh/ruff/pull/8058)) - \[`pylint`] Implement `unspecified-encoding` (`PLW1514`) ([#​7939](https://togithub.com/astral-sh/ruff/pull/7939)) - Add fix for `triple-single-quotes` (`D300`) ([#​7967](https://togithub.com/astral-sh/ruff/pull/7967)) ##### Formatter - New code style badge for `ruff format` ([#​7878](https://togithub.com/astral-sh/ruff/pull/7878)) - Fix comments outside expression parentheses ([#​7873](https://togithub.com/astral-sh/ruff/pull/7873)) - Add `--target-version` to `ruff format` ([#​8055](https://togithub.com/astral-sh/ruff/pull/8055)) - Skip over parentheses when detecting `in` keyword ([#​8054](https://togithub.com/astral-sh/ruff/pull/8054)) - Add `--diff` option to `ruff format` ([#​7937](https://togithub.com/astral-sh/ruff/pull/7937)) - Insert newline after nested function or class statements ([#​7946](https://togithub.com/astral-sh/ruff/pull/7946)) - Use `pass` over ellipsis in non-function/class contexts ([#​8049](https://togithub.com/astral-sh/ruff/pull/8049)) ##### Bug fixes - Lazily evaluate all PEP 695 type alias values ([#​8033](https://togithub.com/astral-sh/ruff/pull/8033)) - Avoid failed assertion when showing fixes from stdin ([#​8029](https://togithub.com/astral-sh/ruff/pull/8029)) - Avoid flagging HTTP and HTTPS literals in urllib-open ([#​8046](https://togithub.com/astral-sh/ruff/pull/8046)) - Avoid flagging `bad-dunder-method-name` for `_` ([#​8015](https://togithub.com/astral-sh/ruff/pull/8015)) - Remove Python 2-only methods from `URLOpen` audit ([#​8047](https://togithub.com/astral-sh/ruff/pull/8047)) - Use set bracket replacement for `iteration-over-set` to preserve whitespace and comments ([#​8001](https://togithub.com/astral-sh/ruff/pull/8001)) ##### Documentation - Update tutorial to match revised Ruff defaults ([#​8066](https://togithub.com/astral-sh/ruff/pull/8066)) - Update rule `B005` docs ([#​8028](https://togithub.com/astral-sh/ruff/pull/8028)) - Update GitHub actions example in docs to use `--output-format` ([#​8014](https://togithub.com/astral-sh/ruff/pull/8014)) - Document `lint.preview` and `format.preview` ([#​8032](https://togithub.com/astral-sh/ruff/pull/8032)) - Clarify that new rules should be added to `RuleGroup::Preview`. ([#​7989](https://togithub.com/astral-sh/ruff/pull/7989)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/allenporter/flux-local). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xOS4yIiwidXBkYXRlZEluVmVyIjoiMzcuMTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
- Loading branch information