mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2025-12-19 23:28:45 +08:00
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.14.9 to 0.14.10. <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.10</h2> <h2>Release Notes</h2> <p>Released on 2025-12-18.</p> <h3>Preview features</h3> <ul> <li>[formatter] Fluent formatting of method chains (<a href="https://redirect.github.com/astral-sh/ruff/pull/21369">#21369</a>)</li> <li>[formatter] Keep lambda parameters on one line and parenthesize the body if it expands (<a href="https://redirect.github.com/astral-sh/ruff/pull/21385">#21385</a>)</li> <li>[<code>flake8-implicit-str-concat</code>] New rule to prevent implicit string concatenation in collections (<code>ISC004</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/21972">#21972</a>)</li> <li>[<code>flake8-use-pathlib</code>] Make fixes unsafe when types change in compound statements (<code>PTH104</code>, <code>PTH105</code>, <code>PTH109</code>, <code>PTH115</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/22009">#22009</a>)</li> <li>[<code>refurb</code>] Extend support for <code>Path.open</code> (<code>FURB101</code>, <code>FURB103</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/21080">#21080</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>[<code>pyupgrade</code>] Fix parsing named Unicode escape sequences (<code>UP032</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/21901">#21901</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>eradicate</code>] Ignore <code>ruff:disable</code> and <code>ruff:enable</code> comments in <code>ERA001</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/22038">#22038</a>)</li> <li>[<code>flake8-pytest-style</code>] Allow <code>match</code> and <code>check</code> keyword arguments without an expected exception type (<code>PT010</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/21964">#21964</a>)</li> <li>[syntax-errors] Annotated name cannot be global (<a href="https://redirect.github.com/astral-sh/ruff/pull/20868">#20868</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Add <code>uv</code> and <code>ty</code> to the Ruff README (<a href="https://redirect.github.com/astral-sh/ruff/pull/21996">#21996</a>)</li> <li>Document known lambda formatting deviations from Black (<a href="https://redirect.github.com/astral-sh/ruff/pull/21954">#21954</a>)</li> <li>Update <code>setup.md</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/22024">#22024</a>)</li> <li>[<code>flake8-bandit</code>] Fix broken link (<code>S704</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/22039">#22039</a>)</li> </ul> <h3>Other changes</h3> <ul> <li>Fix playground Share button showing "Copied!" before clipboard copy completes (<a href="https://redirect.github.com/astral-sh/ruff/pull/21942">#21942</a>)</li> </ul> <h3>Contributors</h3> <ul> <li><a href="https://github.com/dylwil3"><code>@dylwil3</code></a></li> <li><a href="https://github.com/charliecloudberry"><code>@charliecloudberry</code></a></li> <li><a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a></li> <li><a href="https://github.com/chirizxc"><code>@chirizxc</code></a></li> <li><a href="https://github.com/ntBre"><code>@ntBre</code></a></li> <li><a href="https://github.com/zanieb"><code>@zanieb</code></a></li> <li><a href="https://github.com/amyreese"><code>@amyreese</code></a></li> <li><a href="https://github.com/hauntsaninja"><code>@hauntsaninja</code></a></li> <li><a href="https://github.com/11happy"><code>@11happy</code></a></li> <li><a href="https://github.com/mahiro72"><code>@mahiro72</code></a></li> <li><a href="https://github.com/MichaReiser"><code>@MichaReiser</code></a></li> <li><a href="https://github.com/phongddo"><code>@phongddo</code></a></li> <li><a href="https://github.com/PeterJCLaw"><code>@PeterJCLaw</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.14.10</h2> <p>Released on 2025-12-18.</p> <h3>Preview features</h3> <ul> <li>[formatter] Fluent formatting of method chains (<a href="https://redirect.github.com/astral-sh/ruff/pull/21369">#21369</a>)</li> <li>[formatter] Keep lambda parameters on one line and parenthesize the body if it expands (<a href="https://redirect.github.com/astral-sh/ruff/pull/21385">#21385</a>)</li> <li>[<code>flake8-implicit-str-concat</code>] New rule to prevent implicit string concatenation in collections (<code>ISC004</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/21972">#21972</a>)</li> <li>[<code>flake8-use-pathlib</code>] Make fixes unsafe when types change in compound statements (<code>PTH104</code>, <code>PTH105</code>, <code>PTH109</code>, <code>PTH115</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/22009">#22009</a>)</li> <li>[<code>refurb</code>] Extend support for <code>Path.open</code> (<code>FURB101</code>, <code>FURB103</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/21080">#21080</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>[<code>pyupgrade</code>] Fix parsing named Unicode escape sequences (<code>UP032</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/21901">#21901</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>eradicate</code>] Ignore <code>ruff:disable</code> and <code>ruff:enable</code> comments in <code>ERA001</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/22038">#22038</a>)</li> <li>[<code>flake8-pytest-style</code>] Allow <code>match</code> and <code>check</code> keyword arguments without an expected exception type (<code>PT010</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/21964">#21964</a>)</li> <li>[syntax-errors] Annotated name cannot be global (<a href="https://redirect.github.com/astral-sh/ruff/pull/20868">#20868</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Add <code>uv</code> and <code>ty</code> to the Ruff README (<a href="https://redirect.github.com/astral-sh/ruff/pull/21996">#21996</a>)</li> <li>Document known lambda formatting deviations from Black (<a href="https://redirect.github.com/astral-sh/ruff/pull/21954">#21954</a>)</li> <li>Update <code>setup.md</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/22024">#22024</a>)</li> <li>[<code>flake8-bandit</code>] Fix broken link (<code>S704</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/22039">#22039</a>)</li> </ul> <h3>Other changes</h3> <ul> <li>Fix playground Share button showing "Copied!" before clipboard copy completes (<a href="https://redirect.github.com/astral-sh/ruff/pull/21942">#21942</a>)</li> </ul> <h3>Contributors</h3> <ul> <li><a href="https://github.com/dylwil3"><code>@dylwil3</code></a></li> <li><a href="https://github.com/charliecloudberry"><code>@charliecloudberry</code></a></li> <li><a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a></li> <li><a href="https://github.com/chirizxc"><code>@chirizxc</code></a></li> <li><a href="https://github.com/ntBre"><code>@ntBre</code></a></li> <li><a href="https://github.com/zanieb"><code>@zanieb</code></a></li> <li><a href="https://github.com/amyreese"><code>@amyreese</code></a></li> <li><a href="https://github.com/hauntsaninja"><code>@hauntsaninja</code></a></li> <li><a href="https://github.com/11happy"><code>@11happy</code></a></li> <li><a href="https://github.com/mahiro72"><code>@mahiro72</code></a></li> <li><a href="https://github.com/MichaReiser"><code>@MichaReiser</code></a></li> <li><a href="https://github.com/phongddo"><code>@phongddo</code></a></li> <li><a href="https://github.com/PeterJCLaw"><code>@PeterJCLaw</code></a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="45bbb4cbff"><code>45bbb4c</code></a> Bump 0.14.10 (<a href="https://redirect.github.com/astral-sh/ruff/issues/22058">#22058</a>)</li> <li><a href="42b972753a"><code>42b9727</code></a> [ty] Use datatest instead of dirtest (<a href="https://redirect.github.com/astral-sh/ruff/issues/21937">#21937</a>)</li> <li><a href="f7ec178400"><code>f7ec178</code></a> [ty] Gracefully handle client requests that can't be deserialized (<a href="https://redirect.github.com/astral-sh/ruff/issues/22051">#22051</a>)</li> <li><a href="c315164732"><code>c315164</code></a> [ty] Don't suggest keyword statements when only expressions are valid</li> <li><a href="bb1955e98c"><code>bb1955e</code></a> [ty] Use cursor context in a few more places...</li> <li><a href="070e08a043"><code>070e08a</code></a> [ty] Move <code>completion</code> function to the top</li> <li><a href="bab3924833"><code>bab3924</code></a> [ty] Refactor completion generation</li> <li><a href="10748b2fdb"><code>10748b2</code></a> [<code>flake8-pytest-style</code>] Allow <code>match</code> and <code>check</code> keyword arguments without a...</li> <li><a href="56539db520"><code>56539db</code></a> [ty] Fix some configuration panics in the LSP (<a href="https://redirect.github.com/astral-sh/ruff/issues/22040">#22040</a>)</li> <li><a href="8d32ad1cab"><code>8d32ad1</code></a> [ty] Add support for attribute docstrings (<a href="https://redirect.github.com/astral-sh/ruff/issues/22036">#22036</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/0.14.9...0.14.10">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.125.0",
|
|
"GitPython==3.1.45",
|
|
"humanize==4.13.0",
|
|
"pytimeparse2==1.7.1",
|
|
"qbittorrent-api==2025.11.1",
|
|
"requests==2.32.5",
|
|
"retrying==1.4.2",
|
|
"ruamel.yaml==0.18.17",
|
|
"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.10",
|
|
]
|
|
|
|
[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"
|