mirror of
https://github.com/okhsunrog/vpnhide.git
synced 2026-07-24 08:23:44 +00:00
Routine dependency refresh after auditing every manifest against the upstream registries — the app/Rust runtime deps were already on their latest stable, so this only touches dev tooling and the CI image. - PMD CPD toolVersion 7.8.0 -> 7.25.0 (cpdCheck still passes clean) - ruff 0.15.18 -> 0.15.20 (pyproject required-version + CI RUFF_VERSION in sync) - CI image rustc 1.95.0 -> 1.96.0 - CI image NDK r28b -> r28c, matching the Gradle ndkVersion 28.2.13676358 that was already pinned (removes a CI/build NDK mismatch) - actions/cache v5 -> v6
22 lines
810 B
TOML
22 lines
810 B
TOML
# Ruff config — applies to every .py in the repo.
|
|
# All our scripts are stdlib-only by policy (see scripts/build_lib.py
|
|
# header), so ruff is a dev/CI tool here, never a runtime dependency.
|
|
|
|
[tool.ruff]
|
|
required-version = "==0.15.20"
|
|
target-version = "py312" # CI image (Ubuntu 24.04) ships Python 3.12
|
|
line-length = 100
|
|
extend-exclude = [
|
|
# third-party / vendored — not our code, don't lint
|
|
"zygisk/third_party",
|
|
# cargo build outputs that may contain stray .py files
|
|
"**/target",
|
|
# local-only worktrees / agent state, untracked
|
|
".claude",
|
|
]
|
|
|
|
[tool.ruff.lint]
|
|
# Conservative rule set: pycodestyle (E/W) + pyflakes (F) + isort (I)
|
|
# + bugbear foot-guns (B) + pyupgrade (UP) + simplifications (SIM).
|
|
# No pylint-style noise, no mypy.
|
|
select = ["E", "F", "W", "I", "B", "UP", "SIM"]
|