mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2025-12-10 22:09:06 +08:00
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.14.3 to 0.14.4. <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.14.4</h2> <h2>Release Notes</h2> <p>Released on 2025-11-06.</p> <h3>Preview features</h3> <ul> <li>[formatter] Allow newlines after function headers without docstrings (<a href="https://redirect.github.com/astral-sh/ruff/pull/21110">#21110</a>)</li> <li>[formatter] Avoid extra parentheses for long <code>match</code> patterns with <code>as</code> captures (<a href="https://redirect.github.com/astral-sh/ruff/pull/21176">#21176</a>)</li> <li>[<code>refurb</code>] Expand fix safety for keyword arguments and <code>Decimal</code>s (<code>FURB164</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/21259">#21259</a>)</li> <li>[<code>refurb</code>] Preserve argument ordering in autofix (<code>FURB103</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/20790">#20790</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>[server] Fix missing diagnostics for notebooks (<a href="https://redirect.github.com/astral-sh/ruff/pull/21156">#21156</a>)</li> <li>[<code>flake8-bugbear</code>] Ignore non-NFKC attribute names in <code>B009</code> and <code>B010</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/21131">#21131</a>)</li> <li>[<code>refurb</code>] Fix false negative for underscores before sign in <code>Decimal</code> constructor (<code>FURB157</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/21190">#21190</a>)</li> <li>[<code>ruff</code>] Fix false positives on starred arguments (<code>RUF057</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/21256">#21256</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>airflow</code>] extend deprecated argument <code>concurrency</code> in <code>airflow..DAG</code> (<code>AIR301</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/21220">#21220</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Improve <code>extend</code> docs (<a href="https://redirect.github.com/astral-sh/ruff/pull/21135">#21135</a>)</li> <li>[<code>flake8-comprehensions</code>] Fix typo in <code>C416</code> documentation (<a href="https://redirect.github.com/astral-sh/ruff/pull/21184">#21184</a>)</li> <li>Revise Ruff setup instructions for Zed editor (<a href="https://redirect.github.com/astral-sh/ruff/pull/20935">#20935</a>)</li> </ul> <h3>Other changes</h3> <ul> <li>Make <code>ruff analyze graph</code> work with jupyter notebooks (<a href="https://redirect.github.com/astral-sh/ruff/pull/21161">#21161</a>)</li> </ul> <h3>Contributors</h3> <ul> <li><a href="https://github.com/chirizxc"><code>@chirizxc</code></a></li> <li><a href="https://github.com/Lee-W"><code>@Lee-W</code></a></li> <li><a href="https://github.com/musicinmybrain"><code>@musicinmybrain</code></a></li> <li><a href="https://github.com/MichaReiser"><code>@MichaReiser</code></a></li> <li><a href="https://github.com/tjkuson"><code>@tjkuson</code></a></li> <li><a href="https://github.com/danparizher"><code>@danparizher</code></a></li> <li><a href="https://github.com/renovate"><code>@renovate</code></a></li> <li><a href="https://github.com/ntBre"><code>@ntBre</code></a></li> <li><a href="https://github.com/gauthsvenkat"><code>@gauthsvenkat</code></a></li> <li><a href="https://github.com/LoicRiegel"><code>@LoicRiegel</code></a></li> </ul> <h2>Install ruff 0.14.4</h2> <h3>Install prebuilt binaries via shell script</h3> <!-- 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.14.4</h2> <p>Released on 2025-11-06.</p> <h3>Preview features</h3> <ul> <li>[formatter] Allow newlines after function headers without docstrings (<a href="https://redirect.github.com/astral-sh/ruff/pull/21110">#21110</a>)</li> <li>[formatter] Avoid extra parentheses for long <code>match</code> patterns with <code>as</code> captures (<a href="https://redirect.github.com/astral-sh/ruff/pull/21176">#21176</a>)</li> <li>[<code>refurb</code>] Expand fix safety for keyword arguments and <code>Decimal</code>s (<code>FURB164</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/21259">#21259</a>)</li> <li>[<code>refurb</code>] Preserve argument ordering in autofix (<code>FURB103</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/20790">#20790</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>[server] Fix missing diagnostics for notebooks (<a href="https://redirect.github.com/astral-sh/ruff/pull/21156">#21156</a>)</li> <li>[<code>flake8-bugbear</code>] Ignore non-NFKC attribute names in <code>B009</code> and <code>B010</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/21131">#21131</a>)</li> <li>[<code>refurb</code>] Fix false negative for underscores before sign in <code>Decimal</code> constructor (<code>FURB157</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/21190">#21190</a>)</li> <li>[<code>ruff</code>] Fix false positives on starred arguments (<code>RUF057</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/21256">#21256</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>airflow</code>] extend deprecated argument <code>concurrency</code> in <code>airflow..DAG</code> (<code>AIR301</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/21220">#21220</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Improve <code>extend</code> docs (<a href="https://redirect.github.com/astral-sh/ruff/pull/21135">#21135</a>)</li> <li>[<code>flake8-comprehensions</code>] Fix typo in <code>C416</code> documentation (<a href="https://redirect.github.com/astral-sh/ruff/pull/21184">#21184</a>)</li> <li>Revise Ruff setup instructions for Zed editor (<a href="https://redirect.github.com/astral-sh/ruff/pull/20935">#20935</a>)</li> </ul> <h3>Other changes</h3> <ul> <li>Make <code>ruff analyze graph</code> work with jupyter notebooks (<a href="https://redirect.github.com/astral-sh/ruff/pull/21161">#21161</a>)</li> </ul> <h3>Contributors</h3> <ul> <li><a href="https://github.com/chirizxc"><code>@chirizxc</code></a></li> <li><a href="https://github.com/Lee-W"><code>@Lee-W</code></a></li> <li><a href="https://github.com/musicinmybrain"><code>@musicinmybrain</code></a></li> <li><a href="https://github.com/MichaReiser"><code>@MichaReiser</code></a></li> <li><a href="https://github.com/tjkuson"><code>@tjkuson</code></a></li> <li><a href="https://github.com/danparizher"><code>@danparizher</code></a></li> <li><a href="https://github.com/renovate"><code>@renovate</code></a></li> <li><a href="https://github.com/ntBre"><code>@ntBre</code></a></li> <li><a href="https://github.com/gauthsvenkat"><code>@gauthsvenkat</code></a></li> <li><a href="https://github.com/LoicRiegel"><code>@LoicRiegel</code></a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="c7ff9826d6"><code>c7ff982</code></a> Bump 0.14.4 (<a href="https://redirect.github.com/astral-sh/ruff/issues/21306">#21306</a>)</li> <li><a href="35640dd853"><code>35640dd</code></a> Fix main by using <code>infer_expression</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/21299">#21299</a>)</li> <li><a href="cb2e277482"><code>cb2e277</code></a> [ty] Understand legacy and PEP 695 <code>ParamSpec</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/21139">#21139</a>)</li> <li><a href="132d10fb6f"><code>132d10f</code></a> [ty] Discover site-packages from the environment that ty is installed in (<a href="https://redirect.github.com/astral-sh/ruff/issues/21">#21</a>...</li> <li><a href="f189aad6d2"><code>f189aad</code></a> [ty] Make special cases for <code>UnionType</code> slightly narrower (<a href="https://redirect.github.com/astral-sh/ruff/issues/21276">#21276</a>)</li> <li><a href="5517c9943a"><code>5517c99</code></a> Require ignore 0.4.24 in <code>Cargo.toml</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/21292">#21292</a>)</li> <li><a href="b5ff96595d"><code>b5ff965</code></a> [ty] Favour imported symbols over builtin symbols (<a href="https://redirect.github.com/astral-sh/ruff/issues/21285">#21285</a>)</li> <li><a href="c6573b16ac"><code>c6573b1</code></a> docs: revise Ruff setup instructions for Zed editor (<a href="https://redirect.github.com/astral-sh/ruff/issues/20935">#20935</a>)</li> <li><a href="76127e5fb5"><code>76127e5</code></a> [ty] Update salsa (<a href="https://redirect.github.com/astral-sh/ruff/issues/21281">#21281</a>)</li> <li><a href="cddc0fedc2"><code>cddc0fe</code></a> [syntax-error]: no binding for nonlocal PLE0117 as a semantic syntax error (...</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/0.14.3...0.14.4">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>
70 lines
1.6 KiB
TOML
70 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 = [
|
|
"argon2-cffi==25.1.0",
|
|
"bencodepy==0.9.5",
|
|
"croniter==6.0.0",
|
|
"fastapi==0.121.0",
|
|
"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.16",
|
|
"slowapi==0.1.9",
|
|
"uvicorn==0.38.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.14.4",
|
|
]
|
|
|
|
[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"
|