mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2025-11-06 14:36:17 +08:00
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.12.10 to 0.12.11. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/releases">ruff's releases</a>.</em></p> <blockquote> <h2>0.12.11</h2> <h2>Release Notes</h2> <h3>Preview features</h3> <ul> <li>[<code>airflow</code>] Extend <code>AIR311</code> and <code>AIR312</code> rules (<a href="https://redirect.github.com/astral-sh/ruff/pull/20082">#20082</a>)</li> <li>[<code>airflow</code>] Replace wrong path <code>airflow.io.storage</code> with <code>airflow.io.store</code> (<code>AIR311</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/20081">#20081</a>)</li> <li>[<code>flake8-async</code>] Implement <code>blocking-http-call-httpx-in-async-function</code> (<code>ASYNC212</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/20091">#20091</a>)</li> <li>[<code>flake8-logging-format</code>] Add auto-fix for f-string logging calls (<code>G004</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/19303">#19303</a>)</li> <li>[<code>flake8-use-pathlib</code>] Add autofix for <code>PTH211</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/20009">#20009</a>)</li> <li>[<code>flake8-use-pathlib</code>] Make <code>PTH100</code> fix unsafe because it can change behavior (<a href="https://redirect.github.com/astral-sh/ruff/pull/20100">#20100</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>[<code>pyflakes</code>, <code>pylint</code>] Fix false positives caused by <code>__class__</code> cell handling (<code>F841</code>, <code>PLE0117</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/20048">#20048</a>)</li> <li>[<code>pyflakes</code>] Fix <code>allowed-unused-imports</code> matching for top-level modules (<code>F401</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/20115">#20115</a>)</li> <li>[<code>ruff</code>] Fix false positive for t-strings in <code>default-factory-kwarg</code> (<code>RUF026</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/20032">#20032</a>)</li> <li>[<code>ruff</code>] Preserve relative whitespace in multi-line expressions (<code>RUF033</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/19647">#19647</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>ruff</code>] Handle empty t-strings in <code>unnecessary-empty-iterable-within-deque-call</code> (<code>RUF037</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/20045">#20045</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Fix incorrect <code>D413</code> links in docstrings convention FAQ (<a href="https://redirect.github.com/astral-sh/ruff/pull/20089">#20089</a>)</li> <li>[<code>flake8-use-pathlib</code>] Update links to the table showing the correspondence between <code>os</code> and <code>pathlib</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/20103">#20103</a>)</li> </ul> <h2>Contributors</h2> <ul> <li><a href="https://github.com/AlexWaygood"><code>@AlexWaygood</code></a></li> <li><a href="https://github.com/Avasam"><code>@Avasam</code></a></li> <li><a href="https://github.com/BurntSushi"><code>@BurntSushi</code></a></li> <li><a href="https://github.com/Gankra"><code>@Gankra</code></a></li> <li><a href="https://github.com/Glyphack"><code>@Glyphack</code></a></li> <li><a href="https://github.com/JelleZijlstra"><code>@JelleZijlstra</code></a></li> <li><a href="https://github.com/Lee-W"><code>@Lee-W</code></a></li> <li><a href="https://github.com/MatthewMckee4"><code>@MatthewMckee4</code></a></li> <li><a href="https://github.com/MichaReiser"><code>@MichaReiser</code></a></li> <li><a href="https://github.com/PrettyWood"><code>@PrettyWood</code></a></li> <li><a href="https://github.com/Renkai"><code>@Renkai</code></a></li> <li><a href="https://github.com/TaKO8Ki"><code>@TaKO8Ki</code></a></li> <li><a href="https://github.com/amyreese"><code>@amyreese</code></a></li> <li><a href="https://github.com/carljm"><code>@carljm</code></a></li> <li><a href="https://github.com/chirizxc"><code>@chirizxc</code></a></li> <li><a href="https://github.com/danparizher"><code>@danparizher</code></a></li> <li><a href="https://github.com/dhruvmanila"><code>@dhruvmanila</code></a></li> <li><a href="https://github.com/dylwil3"><code>@dylwil3</code></a></li> <li><a href="https://github.com/github-actions"><code>@github-actions</code></a></li> <li><a href="https://github.com/hamirmahal"><code>@hamirmahal</code></a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md">ruff's changelog</a>.</em></p> <blockquote> <h2>0.12.11</h2> <h3>Preview features</h3> <ul> <li>[<code>airflow</code>] Extend <code>AIR311</code> and <code>AIR312</code> rules (<a href="https://redirect.github.com/astral-sh/ruff/pull/20082">#20082</a>)</li> <li>[<code>airflow</code>] Replace wrong path <code>airflow.io.storage</code> with <code>airflow.io.store</code> (<code>AIR311</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/20081">#20081</a>)</li> <li>[<code>flake8-async</code>] Implement <code>blocking-http-call-httpx-in-async-function</code> (<code>ASYNC212</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/20091">#20091</a>)</li> <li>[<code>flake8-logging-format</code>] Add auto-fix for f-string logging calls (<code>G004</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/19303">#19303</a>)</li> <li>[<code>flake8-use-pathlib</code>] Add autofix for <code>PTH211</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/20009">#20009</a>)</li> <li>[<code>flake8-use-pathlib</code>] Make <code>PTH100</code> fix unsafe because it can change behavior (<a href="https://redirect.github.com/astral-sh/ruff/pull/20100">#20100</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>[<code>pyflakes</code>, <code>pylint</code>] Fix false positives caused by <code>__class__</code> cell handling (<code>F841</code>, <code>PLE0117</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/20048">#20048</a>)</li> <li>[<code>pyflakes</code>] Fix <code>allowed-unused-imports</code> matching for top-level modules (<code>F401</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/20115">#20115</a>)</li> <li>[<code>ruff</code>] Fix false positive for t-strings in <code>default-factory-kwarg</code> (<code>RUF026</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/20032">#20032</a>)</li> <li>[<code>ruff</code>] Preserve relative whitespace in multi-line expressions (<code>RUF033</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/19647">#19647</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>ruff</code>] Handle empty t-strings in <code>unnecessary-empty-iterable-within-deque-call</code> (<code>RUF037</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/20045">#20045</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Fix incorrect <code>D413</code> links in docstrings convention FAQ (<a href="https://redirect.github.com/astral-sh/ruff/pull/20089">#20089</a>)</li> <li>[<code>flake8-use-pathlib</code>] Update links to the table showing the correspondence between <code>os</code> and <code>pathlib</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/20103">#20103</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="c2bc15bc15"><code>c2bc15b</code></a> Bump 0.12.11 (<a href="https://redirect.github.com/astral-sh/ruff/issues/20136">#20136</a>)</li> <li><a href="e586f6dcc4"><code>e586f6d</code></a> [ty] Benchmarks for problematic implicit instance attributes cases (<a href="https://redirect.github.com/astral-sh/ruff/issues/20133">#20133</a>)</li> <li><a href="76a6b7e3e2"><code>76a6b7e</code></a> [<code>pyflakes</code>] Fix <code>allowed-unused-imports</code> matching for top-level modules (`F4...</li> <li><a href="1ce65714c0"><code>1ce6571</code></a> Move GitLab output rendering to <code>ruff_db</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/20117">#20117</a>)</li> <li><a href="d9aaacd01f"><code>d9aaacd</code></a> [ty] Evaluate reachability of non-definitely-bound to Ambiguous (<a href="https://redirect.github.com/astral-sh/ruff/issues/19579">#19579</a>)</li> <li><a href="18eaa659c1"><code>18eaa65</code></a> [ty] Introduce a representation for the top/bottom materialization of an inva...</li> <li><a href="af259faed5"><code>af259fa</code></a> [<code>flake8-async</code>] Implement <code>blocking-http-call-httpx</code> (<code>ASYNC212</code>) (<a href="https://redirect.github.com/astral-sh/ruff/issues/20091">#20091</a>)</li> <li><a href="d75ef3823c"><code>d75ef38</code></a> [ty] print diagnostics with fully qualified name to disambiguate some cases (...</li> <li><a href="89ca493fd9"><code>89ca493</code></a> [<code>ruff</code>] Preserve relative whitespace in multi-line expressions (<code>RUF033</code>) (#...</li> <li><a href="4b80f5fa4f"><code>4b80f5f</code></a> [ty] Optimize TDD atom ordering (<a href="https://redirect.github.com/astral-sh/ruff/issues/20098">#20098</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/0.12.10...0.12.11">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
68 lines
1.6 KiB
TOML
68 lines
1.6 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=42", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
# Keep using setup.py for version handling
|
|
# Dependencies are specified here for uv to use
|
|
|
|
[project]
|
|
name = "qbit_manage"
|
|
# Version is dynamically determined from setup.py
|
|
dynamic = ["version"]
|
|
description = "This tool will help manage tedious tasks in qBittorrent and automate them. Tag, categorize, remove Orphaned data, remove unregistered torrents and much much more."
|
|
readme = "README.md"
|
|
requires-python = ">=3.9"
|
|
license = "MIT"
|
|
authors = [
|
|
{name = "bobokun"},
|
|
]
|
|
dependencies = [
|
|
"bencodepy==0.9.5",
|
|
"croniter==6.0.0",
|
|
"fastapi==0.116.1",
|
|
"GitPython==3.1.45",
|
|
"humanize==4.13.0",
|
|
"pytimeparse2==1.7.1",
|
|
"qbittorrent-api==2025.7.0",
|
|
"requests==2.32.5",
|
|
"retrying==1.4.2",
|
|
"ruamel.yaml==0.18.15",
|
|
"uvicorn==0.35.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
qbit-manage = "qbit_manage:main"
|
|
|
|
[project.urls]
|
|
Homepage = "https://github.com/StuffAnThings"
|
|
Repository = "https://github.com/StuffAnThings/qbit_manage"
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pre-commit==4.3.0",
|
|
"ruff==0.12.11",
|
|
]
|
|
|
|
[tool.ruff]
|
|
line-length = 130
|
|
|
|
[tool.ruff.lint]
|
|
select = [
|
|
"I", # isort - import order
|
|
"UP", # pyupgrade
|
|
"T10", # debugger
|
|
"E", # pycodestyle errors
|
|
"W", # pycodestyle warnings
|
|
"F", # pyflakes
|
|
]
|
|
|
|
ignore = [
|
|
"E722", # E722 Do not use bare except, specify exception instead
|
|
"E402", # E402 module level import not at top of file
|
|
]
|
|
|
|
[tool.ruff.lint.isort]
|
|
force-single-line = true
|
|
|
|
[tool.ruff.format]
|
|
line-ending = "auto"
|