gradlew-fdroid/pyproject.toml
2025-11-16 16:25:23 +08:00

54 lines
1.4 KiB
TOML

[project]
name = "gradlew-fdroid"
version = "0.0.1"
description = "A reimplementation of gradlew script"
readme = "README.md"
requires-python = ">= 3.9"
license = "AGPL-3.0-only"
license-files = ["LICENCSE"]
classifiers = [
"License :: OSI Approved :: GNU Affero General Public License v3",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dependencies = [
"requests",
]
[project.urls]
Homepage = "https://gitlab.com/fdroid/gradlew-fdroid"
Issues = "https://gitlab.com/fdroid/gradlew-fdroid/-/issues"
[project.scripts]
gradle = "gradlew:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.basedpyright]
pythonVersion = "3.9"
reportUnusedCallResult = false
reportAny = false
[tool.black]
target-version = ["py39"]
[tool.hatch.build]
include = ["gradlew.py"]
[tool.ruff]
target-version = "py39"
[tool.ruff.lint]
select = ["F", "E", "W", "I", "D", "S", "PL"]
# PLR2004: Magic value used in comparison, consider replacing {value} with a constant variable
# S603: subprocess call: check for execution of untrusted input
ignore = ["PLR2004", "S603"]