Restructure pyproject.toml
Committed f7b7c7
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
python-version: ${{ matrix.python-version }}
- name: Remove development dependencies
- run: sed -i '/\[tool.poetry.group.dev.dependencies\]/,/\[/d' pyproject.toml
+ run: sed -i '/\[tool.poetry.group.dev.dependencies\]/,$d' pyproject.toml
- name: Install Poetry
uses: snok/install-poetry@v1
--- a/pyproject.toml
+++ b/pyproject.toml
+[build-system]
+requires = ["poetry-core>=1.0.0"]
+build-backend = "poetry.core.masonry.api"
+
[tool.poetry]
name = "gmpg"
version = "0.1.22"
authors = ["Angelo Gladding <angelo@ragt.ag>"]
license = "BSD-2-Clause"
+[tool.pyright]
+reportGeneralTypeIssues = false
+reportOptionalMemberAccess = false
+
[tool.poetry.scripts]
gmpg = "gmpg.__main__:main"
+[[tool.poetry.source]]
+name = "main"
+url = "https://ragt.ag/code/pypi"
+
[tool.poetry.dependencies]
python = ">=3.9,<3.11"
black = "^23.7.0"
[tool.poetry.group.dev.dependencies]
txtint = {path="../txtint", develop=true}
-
-[[tool.poetry.source]]
-name = "main"
-url = "https://ragt.ag/code/pypi"
-
-[tool.pyright]
-reportGeneralTypeIssues = false
-reportOptionalMemberAccess = false
-
-[build-system]
-requires = ["poetry-core>=1.0.0"]
-build-backend = "poetry.core.masonry.api"