aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--pyproject.toml44
1 files changed, 44 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 96930e9c..5f9519c3 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -24,3 +24,47 @@ class = "poetry_plugin.plugin.Plugin"
[tool.poetry.plugins."poetry-plugin".scripts]
HydroRoll = "HydroRoll.__init__:main"
+
+[tool.poetry.dependencies]
+python = "^3.8"
+tomli = { version = "^2.0.0", python = "<3.11" }
+pydantic = "^1.10.0"
+loguru = "^0.6.0"
+typing-extensions = "^4.4.0"
+
+[tool.poetry.group.dev.dependencies]
+sophia-doc = "^0.1.0"
+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