🔧 Add pyproject.toml package metadata

This commit is contained in:
洛水居室 2023-05-09 12:25:00 +08:00 committed by GitHub
parent 4b09b328ee
commit 5ed80f626e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

33
pyproject.toml Normal file
View File

@ -0,0 +1,33 @@
[tool.poetry]
name = "SIMNet"
version = "0.1.0"
description = "Modern API wrapper for Genshin Impact & Honkai: Star Rail built on asyncio and pydantic."
authors = ["PaiGramTeam"]
license = "MIT license"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.9"
httpx = "^0.24.0"
pydantic = "^1.10.7"
[tool.poetry.extras]
test = ["pytest", "pytest-asyncio", "python-dotenv"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
asyncio_mode = "auto"
log_cli = true
log_cli_level = "INFO"
log_cli_format = "%(message)s"
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
[tool.black]
include = '\.pyi?$'
line-length = 120
target-version = ['py39']