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.1.11 (main) #101

Closed renovate[bot] closed 6 months ago

renovate[bot] commented 6 months ago

Mend Renovate

This PR contains the following updates:

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

Release Notes

astral-sh/ruff (ruff) ### [`v0.1.11`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#0111) [Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.1.10...v0.1.11) ##### Preview features - \[`pylint`] Implement `super-without-brackets` (`W0245`) ([#​9257](https://togithub.com/astral-sh/ruff/pull/9257)) ##### Bug fixes - Check path string properly in `python -m ruff` invocations ([#​9367](https://togithub.com/astral-sh/ruff/pull/9367)) ##### Documentation - Tweak `relative-imports` message ([#​9365](https://togithub.com/astral-sh/ruff/pull/9365)) - Add fix safety note for `yield-in-for-loop` ([#​9364](https://togithub.com/astral-sh/ruff/pull/9364)) ### [`v0.1.10`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#0110) [Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.1.9...v0.1.10) ##### Preview features - Improve `dummy_implementations` preview style formatting ([#​9240](https://togithub.com/astral-sh/ruff/pull/9240)) - Normalise Hex and unicode escape sequences in strings ([#​9280](https://togithub.com/astral-sh/ruff/pull/9280)) - Parenthesize long type annotations in annotated assignments ([#​9210](https://togithub.com/astral-sh/ruff/pull/9210)) - Parenthesize multi-context managers in `with` statements ([#​9222](https://togithub.com/astral-sh/ruff/pull/9222)) - \[`flake8-pyi`] Implement `generator-return-from-iter-method` (`PYI058`) ([#​9313](https://togithub.com/astral-sh/ruff/pull/9313)) - \[`pylint`] Implement `empty-comment` (`PLR2044`) ([#​9174](https://togithub.com/astral-sh/ruff/pull/9174)) - \[`refurb`] Implement `bit-count` (`FURB161`) ([#​9265](https://togithub.com/astral-sh/ruff/pull/9265)) - \[`ruff`] Add `never-union` rule to detect redundant `typing.NoReturn` and `typing.Never` ([#​9217](https://togithub.com/astral-sh/ruff/pull/9217)) ##### CLI - Add paths to TOML parse errors ([#​9358](https://togithub.com/astral-sh/ruff/pull/9358)) - Add row and column numbers to formatter parse errors ([#​9321](https://togithub.com/astral-sh/ruff/pull/9321)) - Improve responsiveness when invoked via Python ([#​9315](https://togithub.com/astral-sh/ruff/pull/9315)) - Short rule messages should not end with a period ([#​9345](https://togithub.com/astral-sh/ruff/pull/9345)) ##### Configuration - Respect runtime-required decorators on functions ([#​9317](https://togithub.com/astral-sh/ruff/pull/9317)) ##### Bug fixes - Avoid `asyncio-dangling-task` for nonlocal and global bindings ([#​9263](https://togithub.com/astral-sh/ruff/pull/9263)) - Escape trailing placeholders in rule documentation ([#​9301](https://togithub.com/astral-sh/ruff/pull/9301)) - Fix continuation detection following multi-line strings ([#​9332](https://togithub.com/astral-sh/ruff/pull/9332)) - Fix scoping for generators in named expressions in classes ([#​9248](https://togithub.com/astral-sh/ruff/pull/9248)) - Port from obsolete wsl crate to is-wsl ([#​9356](https://togithub.com/astral-sh/ruff/pull/9356)) - Remove special pre-visit for module docstrings ([#​9261](https://togithub.com/astral-sh/ruff/pull/9261)) - Respect `__str__` definitions from super classes ([#​9338](https://togithub.com/astral-sh/ruff/pull/9338)) - Respect `unused-noqa` via `per-file-ignores` ([#​9300](https://togithub.com/astral-sh/ruff/pull/9300)) - Respect attribute chains when resolving builtin call paths ([#​9309](https://togithub.com/astral-sh/ruff/pull/9309)) - Treat all `typing_extensions` members as typing aliases ([#​9335](https://togithub.com/astral-sh/ruff/pull/9335)) - Use `Display` for formatter parse errors ([#​9316](https://togithub.com/astral-sh/ruff/pull/9316)) - Wrap subscripted dicts in parens for f-string conversion ([#​9238](https://togithub.com/astral-sh/ruff/pull/9238)) - \[`flake8-annotations`] Avoid adding return types to stub methods ([#​9277](https://togithub.com/astral-sh/ruff/pull/9277)) - \[`flake8-annotations`] Respect mixed `return` and `raise` cases in return-type analysis ([#​9310](https://togithub.com/astral-sh/ruff/pull/9310)) - \[`flake8-bandit`] Don't report violations when `SafeLoader` is imported from `yaml.loader` (`S506`) ([#​9299](https://togithub.com/astral-sh/ruff/pull/9299)) - \[`pylint`] Avoid panic when comment is preceded by Unicode ([#​9331](https://togithub.com/astral-sh/ruff/pull/9331)) - \[`pylint`] Change `PLR0917` error message to match other `PLR09XX` messages ([#​9308](https://togithub.com/astral-sh/ruff/pull/9308)) - \[`refurb`] Avoid false positives for `math-constant` (`FURB152`) ([#​9290](https://togithub.com/astral-sh/ruff/pull/9290)) ##### Documentation - Expand target name for better rule documentation ([#​9302](https://togithub.com/astral-sh/ruff/pull/9302)) - Fix typos found by codespell ([#​9346](https://togithub.com/astral-sh/ruff/pull/9346)) - \[`perflint`] Document `PERF102` fix un-safety ([#​9351](https://togithub.com/astral-sh/ruff/pull/9351)) - \[`pyupgrade`] Document `UP007` fix un-safety ([#​9306](https://togithub.com/astral-sh/ruff/pull/9306))

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.