diff options
| author | 2023-04-28 02:47:22 +0800 | |
|---|---|---|
| committer | 2023-04-28 02:47:22 +0800 | |
| commit | ae00e353db59dc8d8e443a9edc67e18fed60ef69 (patch) | |
| tree | c37b7ec040baa22edade993093326c76e1f676b1 | |
| parent | 3fe9671636ec37a699afd67b90cc97181d2dbcfd (diff) | |
| download | HydroRoll-ae00e353db59dc8d8e443a9edc67e18fed60ef69.tar.gz HydroRoll-ae00e353db59dc8d8e443a9edc67e18fed60ef69.zip | |
| -rw-r--r-- | .github/workflows/release.yml | 18 | ||||
| -rw-r--r-- | pyproject.toml | 58 |
2 files changed, 62 insertions, 14 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8542a3b..64a015e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,4 +30,20 @@ jobs: PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
- run: poetry publish --build
- shell: bash
\ No newline at end of file + shell: bash
+
+ - run: poetry publish --build
+ shell: bash
+ working-directory: ./packages/iamai-adapter-apscheduler
+
+ - run: poetry publish --build
+ shell: bash
+ working-directory: ./packages/iamai-adapter-cqhttp
+
+ - run: poetry publish --build
+ shell: bash
+ working-directory: ./packages/iamai-adapter-dingtalk
+
+ - run: poetry publish --build
+ shell: bash
+ working-directory: ./packages/iamai-adapter-mirai
\ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index a778812..7bc4a37 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,36 +1,68 @@ [tool.poetry] name = "HydroRoll" version = "0.1.1" -description = "A new Dice" +description = "bot framework." +authors = ["简律纯 <admin@jyunko.cn>"] license = "MIT" -authors = ["HsiangNianian <admin@jyunko.cn>"] readme = "README.md" +homepage = "https://HydroRoll.retrofor.space/" repository = "https://github.com/retrofor/HydroRoll" +documentation = "https://HydroRoll.retrofor.space/" +keywords = ["bot", "qq", "qqbot", "mirai", "coolq"] +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Framework :: Robot Framework", + "Framework :: Robot Framework :: Library", + "Operating System :: OS Independent", + "Programming Language :: Python :: 3" +] [tool.poetry.dependencies] python = "^3.8" watchfiles = "^0.16.0" iamai = "^3.14" iamai-adapter-cqhttp = "^0.6" +iamai-adapter-apscheduler = "^0.6" -[tool.poetry.dev-dependencies] -black = "^22.6.0" -isort = "^5.10.0" -pre-commit = "^2.20.0" -pre-commit-hooks = "^4.2.0" - -[tool.pydantic-pycharm-plugin] -ignore-init-method-arguments = true +[tool.poetry.group.dev.dependencies] +watchfiles = "^0.18.0" +sophia-doc = "^0.1.0" +iamai-adapter-dingtalk = { path = "./packages/iamai-adapter-dingtalk", develop = true } +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"] +target-version = ["py38", "py39", "py310", "py311"] [tool.isort] profile = "black" length_sort = true skip_gitignore = true force_sort_within_sections = true +src_paths = ["HydroRoll", "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 = ["poetry-core>=1.0.0"] -build-backend = "poetry.core.masonry.api" +requires = ["poetry-core"] +build-backend = "poetry.core.masonry.api"
\ No newline at end of file |
