36 lines
1.2 KiB
TOML
36 lines
1.2 KiB
TOML
# https://packaging.python.org/en/latest/guides/writing-pyproject-toml/
|
|
|
|
[build-system]
|
|
requires = ["setuptools>=80"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
# dynamic = ["version"]
|
|
name = "arcaea-apk-assets"
|
|
description = "Your package description goes here."
|
|
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"
|
|
Issues = "https://github.com/283375/arcaea-apk-assets/issues"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["ALL"]
|
|
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
|
|
]
|