toolbox/pyproject.toml

44 lines
870 B
TOML

[tool.pdm]
[project]
name = "wAIfu"
version = "0.1.0"
description = "Code for the /wAIfu/ Collective project."
authors = [
{name = "0x000011b", email = "0x000011b@waifu.club"},
]
requires-python = ">=3.10"
license = {text = "AGPL-3.0-only"}
dependencies = [
"ijson>=3.1.4",
"mashumaro>=3.2",
"regex>=2022.10.31",
"scikit-learn>=1.2.0",
"pandas>=1.5.2",
"pyarrow>=10.0.1",
]
[project.optional-dependencies]
dev = [
"yapf>=0.32.0",
"toml>=0.10.2",
"isort>=5.10.1",
"pylint>=2.15.8",
"mypy>=0.991",
]
debugging = [
"pdbpp>=0.10.3",
]
[tool.setuptools]
py-modules = ["waifu"]
[tool.pdm.scripts]
lint = {shell = "pylint --jobs 0 ./waifu/**/*.py"}
importcheck = "isort --check --diff waifu"
stylecheck = "yapf --parallel --diff --recursive waifu"
typecheck = "mypy --strict waifu"
[tool.yapf]
based_on_style = "google"