my eye

Update pyproject and workflow

Committed 843086

rename from .github/workflows/tests.yml
rename to .github/workflows/analyze.yml

-name: Run Tests and Analysis
-
+name: analyze
 on:
   push:
     branches:
   pull_request:
     branches:
       - main
-
 jobs:
-  build-linux:
+  analyze:
     strategy:
       matrix:
         python-version: ["3.10"]
         run: |
           sudo apt-get update
           sudo apt-get install -y graphviz
-
       - uses: actions/checkout@v3
         with:
           python-version: ${{ matrix.python-version }}
-
       - name: Install Python
         uses: actions/setup-python@v4
         with:
           python-version: ${{ matrix.python-version }}
-
       - name: Remove development dependencies
         run: sed -i '/\[tool.poetry.group.dev.dependencies\]/,/\[/d' pyproject.toml
-
       - name: Install Poetry
         uses: snok/install-poetry@v1
         with:
           version: 1.2.2
           virtualenvs-in-project: true
-
       - name: Install dependencies
         run: poetry install --no-interaction --no-root
-
       - name: Install library
         run: poetry install --no-interaction
-
       - name: Install development tools
         run: poetry add gmpg
-
       - uses: psf/black@stable
         with:
           options: "--check --verbose"
           src: "."
           version: "23.7"
-
       - uses: isort/isort-action@v1
         with:
           configuration: "--profile black"
-
       - run: echo "$(poetry env info --path)/bin" >> $GITHUB_PATH
       - uses: jakebailey/pyright-action@v1
-
       - name: Run tests
         run: poetry run gmpg test
-
       - name: Run analysis
         run: poetry run gmpg analyze
-
       - name: Generate dependency graph
         run: poetry run gmpg graph
-
       - uses: actions/upload-artifact@v3
         with:
           name: analysis

--- a/pyproject.toml
+++ b/pyproject.toml

+[build-system]
+requires = ["poetry-core>=1.0.0"]
+build-backend = "poetry.core.masonry.api"
+
 [tool.poetry]
 name = "webint-posts"
 version = "0.0.12"
 description = "manage posts on your website"
-keywords = ["Micropub"]
+keywords = ["micropub"]
+homepage = "https://ragt.ag/code/projects/webint-posts"
+repository = "https://ragt.ag/code/projects/webint-posts.git"
+documentation = "https://ragt.ag/code/projects/webint-posts/api"
 authors = ["Angelo Gladding <angelo@ragt.ag>"]
 license = "AGPL-3.0-or-later"
 packages = [{include="webint_posts"}]
 
+[tool.pyright]
+reportGeneralTypeIssues = false
+reportOptionalMemberAccess = false
+
 [tool.poetry.plugins."webapps"]
 posts = "webint_posts:app"
 
+[[tool.poetry.source]]
+name = "main"
+url = "https://ragt.ag/code/pypi"
+
 [tool.poetry.dependencies]
 python = ">=3.10,<3.11"
 webint = ">=0.0"
 micropub = ">=0.0"
-microformats = "^0.3.5"
+microformats = ">=0.3.5"
 webint-media = "^0.0.54"
 webint-search = "^0.0.9"
 
 webint-search = {path="../webint-search", develop=true}
 micropub = {path="../python-micropub", develop=true}
 microformats = {path="../python-microformats", 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"