aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/pyproject.toml
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2023-07-04 13:23:25 +0800
committerGitHub <noreply@github.com>2023-07-04 13:23:25 +0800
commit1aef3c8c56f1914d88aba4de18fbe564b93c3196 (patch)
treedbefc02ca943b33cc102791fb6201260359da74b /pyproject.toml
parent33e6a0b81080cbb484fc547cc0f59e41d206a5b8 (diff)
downloadinfini-1aef3c8c56f1914d88aba4de18fbe564b93c3196.tar.gz
infini-1aef3c8c56f1914d88aba4de18fbe564b93c3196.zip
Update pyproject.toml
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml61
1 files changed, 56 insertions, 5 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 374b58cb..358cc776 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,57 @@
+[tool.poetry]
+name = "HydroRollCore"
+version = "0.1.1"
+authors = ["简律纯 <i@jyunko.cn>"]
+description = "Core of HydroRoll."
+readme = "README.md"
+keywords = ["HydroRoll", "core"]
+homepage = "https://github.com/HydoRoll-Team/HydroRollCore"
+
+[tool.poetry.dependencies]
+python = ">=3.8"
+
+[tool.poetry.plugins."poetry-plugin"]
+class = "poetry_plugin.plugin.Plugin"
+
+[tool.poetry.scripts]
+HydroRollCore = "HydroRollCore.__init__:main"
+
+[tool.poetry.group.dev.dependencies]
+black = "^23.1.0"
+isort = "^5.12.0"
+pre-commit = "^3.1.0"
+pre-commit-hooks = "^4.4.0"
+
+[tool.black]
+target-version = ["py38", "py39", "py310", "py311"]
+
+[tool.isort]
+profile = "black"
+length_sort = true
+skip_gitignore = true
+force_sort_within_sections = true
+src_paths = ["HydroRollCore", "tests"]
+extra_standard_library = ["typing_extensions"]
+
+[tool.pyright]
+exclude = ["tests"]
+pythonVersion = "3.8"
+pythonPlatform = "All"
+typeCheckingMode = "strict"
+reportImportCycles = false
+reportIncompatibleMethodOverride = false
+reportMissingTypeArgument = false
+reportMissingTypeStubs = false
+reportUnknownArgumentType = false
+reportUnknownLambdaType = false
+reportUnknownMemberType = false
+reportUnknownParameterType = false
+reportUnknownVariableType = false
+reportUnnecessaryIsInstance = false
+
+[tool.pydantic-pycharm-plugin]
+ignore-init-method-arguments = true
+
[build-system]
-requires = [
- "setuptools>=42",
- "wheel"
-]
-build-backend = "setuptools.build_meta"
+requires = ["poetry-core>=1.0.0"]
+build-backend = "poetry.core.masonry.api"