This commit is contained in:
2025-07-06 18:43:00 +08:00
parent 155e8b9664
commit bcaa1a268e
9 changed files with 390 additions and 401 deletions

View File

@ -8,11 +8,12 @@ build-backend = "setuptools.build_meta"
# dynamic = ["version"]
name = "arcaea-apk-assets"
description = "Your package description goes here."
version = "0.1.0a.dev1"
version = "0.1.0a0.dev2"
requires-python = ">=3.9"
authors = [{ name = "283375", email = "log_283375@163.com" }]
readme = "README.md"
license = "GPL-3.0-or-later"
dependencies = ["typeguard~=4.4"]
[project.urls]
Homepage = "https://github.com/283375/arcaea-apk-assets"
@ -20,7 +21,15 @@ Issues = "https://github.com/283375/arcaea-apk-assets/issues"
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"D",
"E501", # line-too-long
ignore = ["D"]
[tool.ruff.lint.extend-per-file-ignores]
"tests/**/*.py" = [
# Disable certain rules for tests
# https://github.com/astral-sh/ruff/issues/4368#issuecomment-2245567481
"S101", # asserts are allowed in tests
"S311", # Standard pseudo-random generators are not suitable for cryptographic purposes
"ARG", # Unused function args: fixtures nevertheless are functionally relevant
"FBT", # Don't care about booleans as positional arguments in tests, e.g. via @pytest.mark.parametrize()
"PLR2004", # Magic value used in comparison
]