From 5ed80f626e65065d7664640c398492578163d23d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B4=9B=E6=B0=B4=E5=B1=85=E5=AE=A4?= Date: Tue, 9 May 2023 12:25:00 +0800 Subject: [PATCH] :wrench: Add `pyproject.toml` package metadata --- pyproject.toml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..1d0ce75 --- /dev/null +++ b/pyproject.toml @@ -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'] \ No newline at end of file