kitUIN / PicImageSearch

整合图片识别 API,用于以图搜源 / Aggregator for Reverse Image Search API
https://pic-image-search.kituin.fun/
MIT License
385 stars 46 forks source link

chore(deps): update dependency ruff to ^0.2.1 (main) #108

Closed renovate[bot] closed 4 months ago

renovate[bot] commented 4 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ruff (source, changelog) ^0.2.0 -> ^0.2.1 age adoption passing confidence

Release Notes

astral-sh/ruff (ruff) ### [`v0.2.1`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#021) [Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.2.0...v0.2.1) This release includes support for range formatting (i.e., the ability to format specific lines within a source file). ##### Preview features - \[`refurb`] Implement `missing-f-string-syntax` (`RUF027`) ([#​9728](https://togithub.com/astral-sh/ruff/pull/9728)) - Format module-level docstrings ([#​9725](https://togithub.com/astral-sh/ruff/pull/9725)) ##### Formatter - Add `--range` option to `ruff format` ([#​9733](https://togithub.com/astral-sh/ruff/pull/9733)) - Don't trim last empty line in docstrings ([#​9813](https://togithub.com/astral-sh/ruff/pull/9813)) ##### Bug fixes - Skip empty lines when determining base indentation ([#​9795](https://togithub.com/astral-sh/ruff/pull/9795)) - Drop `__get__` and `__set__` from `unnecessary-dunder-call` ([#​9791](https://togithub.com/astral-sh/ruff/pull/9791)) - Respect generic `Protocol` in ellipsis removal ([#​9841](https://togithub.com/astral-sh/ruff/pull/9841)) - Revert "Use publicly available Apple Silicon runners ([#​9726](https://togithub.com/astral-sh/ruff/issues/9726))" ([#​9834](https://togithub.com/astral-sh/ruff/pull/9834)) ##### Performance - Skip LibCST parsing for standard dedent adjustments ([#​9769](https://togithub.com/astral-sh/ruff/pull/9769)) - Remove CST-based fixer for `C408` ([#​9822](https://togithub.com/astral-sh/ruff/pull/9822)) - Add our own ignored-names abstractions ([#​9802](https://togithub.com/astral-sh/ruff/pull/9802)) - Remove CST-based fixers for `C400`, `C401`, `C410`, and `C418` ([#​9819](https://togithub.com/astral-sh/ruff/pull/9819)) - Use `AhoCorasick` to speed up quote match ([#​9773](https://togithub.com/astral-sh/ruff/pull/9773)) - Remove CST-based fixers for `C405` and `C409` ([#​9821](https://togithub.com/astral-sh/ruff/pull/9821)) - Add fast-path for comment detection ([#​9808](https://togithub.com/astral-sh/ruff/pull/9808)) - Invert order of checks in `zero-sleep-call` ([#​9766](https://togithub.com/astral-sh/ruff/pull/9766)) - Short-circuit typing matches based on imports ([#​9800](https://togithub.com/astral-sh/ruff/pull/9800)) - Run dunder method rule on methods directly ([#​9815](https://togithub.com/astral-sh/ruff/pull/9815)) - Track top-level module imports in the semantic model ([#​9775](https://togithub.com/astral-sh/ruff/pull/9775)) - Slight speed-up for lowercase and uppercase identifier checks ([#​9798](https://togithub.com/astral-sh/ruff/pull/9798)) - Remove LibCST-based fixer for `C403` ([#​9818](https://togithub.com/astral-sh/ruff/pull/9818)) ##### Documentation - Update `max-pos-args` example to `max-positional-args` ([#​9797](https://togithub.com/astral-sh/ruff/pull/9797)) - Fixed example code in `weak_cryptographic_key.rs` ([#​9774](https://togithub.com/astral-sh/ruff/pull/9774)) - Fix references to deprecated `ANN` rules in changelog ([#​9771](https://togithub.com/astral-sh/ruff/pull/9771)) - Fix default for `max-positional-args` ([#​9838](https://togithub.com/astral-sh/ruff/pull/9838))

Configuration

📅 Schedule: Branch creation - "every weekend" (UTC), 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.



This PR has been generated by Mend Renovate. View repository job log here.