From aa5486fc1ec6800efd1be52caf6961a1bfc9f5aa Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Wed, 8 Nov 2023 23:04:56 +0100 Subject: [PATCH] MAINT: update pip constraints and pre-commit (#199) * DX: switch to faster `black` pre-commit hook * MAINT: apply new `black` formatting --------- Co-authored-by: GitHub Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .constraints/py3.10.txt | 101 ++++++++++++++-------------- .constraints/py3.11.txt | 101 ++++++++++++++-------------- .constraints/py3.7.txt | 32 ++++----- .constraints/py3.8.txt | 95 +++++++++++++------------- .constraints/py3.9.txt | 103 ++++++++++++++--------------- .cspell.json | 1 + .pre-commit-config.yaml | 16 ++--- docs/conf.py | 11 ++- src/pwa_pages/project_inventory.py | 1 - src/pwa_pages/repo/__init__.py | 1 + 10 files changed, 226 insertions(+), 236 deletions(-) diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index e011914d..5dab7544 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -11,26 +11,25 @@ anyio==4.0.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 -asttokens==2.4.0 +asttokens==2.4.1 async-lru==2.0.4 attrs==23.1.0 -babel==2.13.0 -backcall==0.2.0 +babel==2.13.1 beautifulsoup4==4.12.2 -black==23.9.1 +black==23.11.0 bleach==6.1.0 -cachetools==5.3.1 +cachetools==5.3.2 certifi==2023.7.22 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 -charset-normalizer==3.3.0 +charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 -comm==0.1.4 -contourpy==1.1.1 +comm==0.2.0 +contourpy==1.2.0 coverage==7.3.2 -cryptography==41.0.4 +cryptography==41.0.5 cycler==0.12.1 dataproperty==1.0.1 debugpy==1.8.0 @@ -38,72 +37,71 @@ decorator==5.1.1 defusedxml==0.7.1 deprecated==1.2.14 distlib==0.3.7 -docstring-to-markdown==0.12 +docstring-to-markdown==0.13 docutils==0.17.1 dominate==2.8.0 exceptiongroup==1.1.3 execnet==2.0.2 -executing==2.0.0 +executing==2.0.1 fastjsonschema==2.18.1 feynman==2.1.0 -filelock==3.12.4 -fonttools==4.43.1 +filelock==3.13.1 +fonttools==4.44.0 fqdn==1.5.1 -greenlet==3.0.0 -identify==2.5.30 +greenlet==3.0.1 +identify==2.5.31 idna==3.4 imagesize==1.4.1 importlib-metadata==6.8.0 iniconfig==2.0.0 -ipykernel==6.25.2 -ipython==8.16.1 -ipython-genutils==0.2.0 +ipykernel==6.26.0 +ipython==8.17.2 ipywidgets==8.1.1 isoduration==20.11.0 jedi==0.19.1 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 -jsonschema==4.19.1 +jsonschema==4.19.2 jsonschema-specifications==2023.7.1 jupyter==1.0.0 jupyter-cache==0.6.1 -jupyter-client==8.3.1 +jupyter-client==8.6.0 jupyter-console==6.6.3 -jupyter-core==5.3.2 -jupyter-events==0.7.0 +jupyter-core==5.5.0 +jupyter-events==0.9.0 jupyter-lsp==2.2.0 -jupyter-server==2.7.3 +jupyter-server==2.10.0 jupyter-server-terminals==0.4.4 -jupyterlab==4.0.6 +jupyterlab==4.0.8 jupyterlab-code-formatter==2.2.1 jupyterlab-lsp==5.0.0 -jupyterlab-myst==2.0.2 +jupyterlab-myst==2.1.0 jupyterlab-pygments==0.2.2 -jupyterlab-server==2.25.0 +jupyterlab-server==2.25.1 jupyterlab-widgets==3.0.9 kiwisolver==1.4.5 latexcodec==2.0.1 livereload==2.6.3 markdown-it-py==2.2.0 markupsafe==2.1.3 -matplotlib==3.8.0 +matplotlib==3.8.1 matplotlib-inline==0.1.6 mbstrdecoder==1.1.3 mdit-py-plugins==0.3.5 mdurl==0.1.2 mistune==3.0.2 mpmath==1.3.0 -mypy==1.5.1 +mypy==1.6.1 mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 nbclient==0.7.4 -nbconvert==7.9.2 +nbconvert==7.11.0 nbformat==5.9.2 nest-asyncio==1.5.8 nodeenv==1.8.0 -notebook==7.0.4 +notebook==7.0.6 notebook-shim==0.2.3 numpy==1.23.5 overrides==7.4.0 @@ -113,14 +111,13 @@ parso==0.8.3 pathspec==0.11.2 pathvalidate==3.2.0 pexpect==4.8.0 -pickleshare==0.7.5 -pillow==10.0.1 +pillow==10.1.0 platformdirs==3.11.0 pluggy==1.3.0 -pre-commit==3.4.0 -prometheus-client==0.17.1 +pre-commit==3.5.0 +prometheus-client==0.18.0 prompt-toolkit==3.0.39 -psutil==5.9.5 +psutil==5.9.6 ptyprocess==0.7.0 pure-eval==0.2.2 pybtex==0.24.0 @@ -128,7 +125,7 @@ pybtex-docutils==1.0.3 pycparser==2.21 pydantic==2.4.2 pydantic-core==2.10.1 -pydata-sphinx-theme==0.14.1 +pydata-sphinx-theme==0.14.3 pygithub==2.1.1 pygments==2.16.1 pyjwt==2.8.0 @@ -136,28 +133,28 @@ pynacl==1.5.0 pyparsing==3.1.1 pyproject-api==1.6.1 pytablewriter==1.2.0 -pytest==7.4.2 +pytest==7.4.3 pytest-cov==4.1.0 pytest-xdist==3.3.1 python-dateutil==2.8.2 -python-gitlab==3.15.0 +python-gitlab==4.1.1 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-server==1.8.2 -pytoolconfig==1.2.5 +python-lsp-server==1.9.0 +pytoolconfig==1.2.6 pytz==2023.3.post1 pyyaml==6.0.1 pyzmq==25.1.1 -qtconsole==5.4.4 -qtpy==2.4.0 +qtconsole==5.5.0 +qtpy==2.4.1 referencing==0.30.2 requests==2.31.0 requests-toolbelt==1.0.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rope==1.10.0 -rpds-py==0.10.4 -ruff==0.0.292 +rope==1.11.0 +rpds-py==0.12.0 +ruff==0.1.4 send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -171,7 +168,7 @@ sphinx-comments==0.0.3 sphinx-copybutton==0.5.2 sphinx-design==0.5.0 sphinx-hep-pdgref==0.2.0 -sphinx-thebe==0.2.1 +sphinx-thebe==0.3.0 sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.7 sphinxcontrib-bibtex==2.6.1 @@ -180,7 +177,7 @@ sphinxcontrib-htmlhelp==2.0.4 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.6 sphinxcontrib-serializinghtml==1.1.9 -sqlalchemy==2.0.21 +sqlalchemy==2.0.23 stack-data==0.6.3 sympy==1.12 tabledata==1.3.3 @@ -191,7 +188,7 @@ tinycss2==1.2.1 tomli==2.0.1 tornado==6.3.3 tox==4.11.3 -traitlets==5.11.2 +traitlets==5.13.0 typepy==1.3.2 types-docutils==0.20.0.3 types-pkg-resources==0.1.3 @@ -201,13 +198,13 @@ types-setuptools==68.2.0.0 typing-extensions==4.8.0 ujson==5.8.0 uri-template==1.3.0 -urllib3==2.0.6 -virtualenv==20.24.5 -wcwidth==0.2.8 +urllib3==2.0.7 +virtualenv==20.24.6 +wcwidth==0.2.9 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.4 -wheel==0.41.2 +wheel==0.41.3 widgetsnbextension==4.0.9 wrapt==1.15.0 zipp==3.17.0 diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt index a964dfa5..4270f330 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -11,26 +11,25 @@ anyio==4.0.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 -asttokens==2.4.0 +asttokens==2.4.1 async-lru==2.0.4 attrs==23.1.0 -babel==2.13.0 -backcall==0.2.0 +babel==2.13.1 beautifulsoup4==4.12.2 -black==23.9.1 +black==23.11.0 bleach==6.1.0 -cachetools==5.3.1 +cachetools==5.3.2 certifi==2023.7.22 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 -charset-normalizer==3.3.0 +charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 -comm==0.1.4 -contourpy==1.1.1 +comm==0.2.0 +contourpy==1.2.0 coverage==7.3.2 -cryptography==41.0.4 +cryptography==41.0.5 cycler==0.12.1 dataproperty==1.0.1 debugpy==1.8.0 @@ -38,71 +37,70 @@ decorator==5.1.1 defusedxml==0.7.1 deprecated==1.2.14 distlib==0.3.7 -docstring-to-markdown==0.12 +docstring-to-markdown==0.13 docutils==0.17.1 dominate==2.8.0 execnet==2.0.2 -executing==2.0.0 +executing==2.0.1 fastjsonschema==2.18.1 feynman==2.1.0 -filelock==3.12.4 -fonttools==4.43.1 +filelock==3.13.1 +fonttools==4.44.0 fqdn==1.5.1 -greenlet==3.0.0 -identify==2.5.30 +greenlet==3.0.1 +identify==2.5.31 idna==3.4 imagesize==1.4.1 importlib-metadata==6.8.0 iniconfig==2.0.0 -ipykernel==6.25.2 -ipython==8.16.1 -ipython-genutils==0.2.0 +ipykernel==6.26.0 +ipython==8.17.2 ipywidgets==8.1.1 isoduration==20.11.0 jedi==0.19.1 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 -jsonschema==4.19.1 +jsonschema==4.19.2 jsonschema-specifications==2023.7.1 jupyter==1.0.0 jupyter-cache==0.6.1 -jupyter-client==8.3.1 +jupyter-client==8.6.0 jupyter-console==6.6.3 -jupyter-core==5.3.2 -jupyter-events==0.7.0 +jupyter-core==5.5.0 +jupyter-events==0.9.0 jupyter-lsp==2.2.0 -jupyter-server==2.7.3 +jupyter-server==2.10.0 jupyter-server-terminals==0.4.4 -jupyterlab==4.0.6 +jupyterlab==4.0.8 jupyterlab-code-formatter==2.2.1 jupyterlab-lsp==5.0.0 -jupyterlab-myst==2.0.2 +jupyterlab-myst==2.1.0 jupyterlab-pygments==0.2.2 -jupyterlab-server==2.25.0 +jupyterlab-server==2.25.1 jupyterlab-widgets==3.0.9 kiwisolver==1.4.5 latexcodec==2.0.1 livereload==2.6.3 markdown-it-py==2.2.0 markupsafe==2.1.3 -matplotlib==3.8.0 +matplotlib==3.8.1 matplotlib-inline==0.1.6 mbstrdecoder==1.1.3 mdit-py-plugins==0.3.5 mdurl==0.1.2 mistune==3.0.2 mpmath==1.3.0 -mypy==1.5.1 +mypy==1.6.1 mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 nbclient==0.7.4 -nbconvert==7.9.2 +nbconvert==7.11.0 nbformat==5.9.2 nest-asyncio==1.5.8 nodeenv==1.8.0 -notebook==7.0.4 +notebook==7.0.6 notebook-shim==0.2.3 numpy==1.23.5 overrides==7.4.0 @@ -112,14 +110,13 @@ parso==0.8.3 pathspec==0.11.2 pathvalidate==3.2.0 pexpect==4.8.0 -pickleshare==0.7.5 -pillow==10.0.1 +pillow==10.1.0 platformdirs==3.11.0 pluggy==1.3.0 -pre-commit==3.4.0 -prometheus-client==0.17.1 +pre-commit==3.5.0 +prometheus-client==0.18.0 prompt-toolkit==3.0.39 -psutil==5.9.5 +psutil==5.9.6 ptyprocess==0.7.0 pure-eval==0.2.2 pybtex==0.24.0 @@ -127,7 +124,7 @@ pybtex-docutils==1.0.3 pycparser==2.21 pydantic==2.4.2 pydantic-core==2.10.1 -pydata-sphinx-theme==0.14.1 +pydata-sphinx-theme==0.14.3 pygithub==2.1.1 pygments==2.16.1 pyjwt==2.8.0 @@ -135,28 +132,28 @@ pynacl==1.5.0 pyparsing==3.1.1 pyproject-api==1.6.1 pytablewriter==1.2.0 -pytest==7.4.2 +pytest==7.4.3 pytest-cov==4.1.0 pytest-xdist==3.3.1 python-dateutil==2.8.2 -python-gitlab==3.15.0 +python-gitlab==4.1.1 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-server==1.8.2 -pytoolconfig==1.2.5 +python-lsp-server==1.9.0 +pytoolconfig==1.2.6 pytz==2023.3.post1 pyyaml==6.0.1 pyzmq==25.1.1 -qtconsole==5.4.4 -qtpy==2.4.0 +qtconsole==5.5.0 +qtpy==2.4.1 referencing==0.30.2 requests==2.31.0 requests-toolbelt==1.0.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rope==1.10.0 -rpds-py==0.10.4 -ruff==0.0.292 +rope==1.11.0 +rpds-py==0.12.0 +ruff==0.1.4 send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -170,7 +167,7 @@ sphinx-comments==0.0.3 sphinx-copybutton==0.5.2 sphinx-design==0.5.0 sphinx-hep-pdgref==0.2.0 -sphinx-thebe==0.2.1 +sphinx-thebe==0.3.0 sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.7 sphinxcontrib-bibtex==2.6.1 @@ -179,7 +176,7 @@ sphinxcontrib-htmlhelp==2.0.4 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.6 sphinxcontrib-serializinghtml==1.1.9 -sqlalchemy==2.0.21 +sqlalchemy==2.0.23 stack-data==0.6.3 sympy==1.12 tabledata==1.3.3 @@ -189,7 +186,7 @@ terminado==0.17.1 tinycss2==1.2.1 tornado==6.3.3 tox==4.11.3 -traitlets==5.11.2 +traitlets==5.13.0 typepy==1.3.2 types-docutils==0.20.0.3 types-pkg-resources==0.1.3 @@ -199,13 +196,13 @@ types-setuptools==68.2.0.0 typing-extensions==4.8.0 ujson==5.8.0 uri-template==1.3.0 -urllib3==2.0.6 -virtualenv==20.24.5 -wcwidth==0.2.8 +urllib3==2.0.7 +virtualenv==20.24.6 +wcwidth==0.2.9 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.4 -wheel==0.41.2 +wheel==0.41.3 widgetsnbextension==4.0.9 wrapt==1.15.0 zipp==3.17.0 diff --git a/.constraints/py3.7.txt b/.constraints/py3.7.txt index 880461a0..3c474ba8 100644 --- a/.constraints/py3.7.txt +++ b/.constraints/py3.7.txt @@ -14,23 +14,23 @@ argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.2.3 attrs==23.1.0 -babel==2.13.0 +babel==2.13.1 backcall==0.2.0 beautifulsoup4==4.12.2 black==23.3.0 bleach==6.0.0 cached-property==1.5.2 -cachetools==5.3.1 +cachetools==5.3.2 certifi==2023.7.22 cffi==1.15.1 cfgv==3.3.1 chardet==5.2.0 -charset-normalizer==3.3.0 +charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 comm==0.1.4 coverage==7.2.7 -cryptography==41.0.4 +cryptography==41.0.5 cycler==0.11.0 dataproperty==1.0.1 debugpy==1.7.0 @@ -38,7 +38,7 @@ decorator==5.1.1 defusedxml==0.7.1 deprecated==1.2.14 distlib==0.3.7 -docstring-to-markdown==0.12 +docstring-to-markdown==0.13 docutils==0.17.1 dominate==2.8.0 entrypoints==0.4 @@ -49,7 +49,7 @@ feynman==2.1.0 filelock==3.12.2 fonttools==4.38.0 fqdn==1.5.1 -greenlet==3.0.0 +greenlet==3.0.1 identify==2.5.24 idna==3.4 imagesize==1.4.1 @@ -123,7 +123,7 @@ pluggy==1.2.0 pre-commit==2.21.0 prometheus-client==0.17.1 prompt-toolkit==3.0.39 -psutil==5.9.5 +psutil==5.9.6 ptyprocess==0.7.0 pybtex==0.24.0 pybtex-docutils==1.0.3 @@ -139,7 +139,7 @@ pyparsing==3.1.1 pyproject-api==1.5.3 pyrsistent==0.19.3 pytablewriter==1.2.0 -pytest==7.4.2 +pytest==7.4.3 pytest-cov==4.1.0 pytest-xdist==3.3.1 python-dateutil==2.8.2 @@ -147,18 +147,18 @@ python-gitlab==3.15.0 python-json-logger==2.0.7 python-lsp-jsonrpc==1.0.0 python-lsp-server==1.7.4 -pytoolconfig==1.2.5 +pytoolconfig==1.2.6 pytz==2023.3.post1 pyyaml==6.0.1 pyzmq==24.0.1 qtconsole==5.4.4 -qtpy==2.4.0 +qtpy==2.4.1 requests==2.31.0 requests-toolbelt==1.0.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.9.0 -ruff==0.0.292 +ruff==0.1.4 send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -181,7 +181,7 @@ sphinxcontrib-htmlhelp==2.0.0 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 -sqlalchemy==1.4.49 +sqlalchemy==1.4.50 sympy==1.10.1 tabledata==1.3.3 tabulate==0.9.0 @@ -202,13 +202,13 @@ types-setuptools==68.2.0.0 typing-extensions==4.7.1 ujson==5.7.0 uri-template==1.3.0 -urllib3==2.0.6 -virtualenv==20.24.5 -wcwidth==0.2.8 +urllib3==2.0.7 +virtualenv==20.24.6 +wcwidth==0.2.9 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.1 -wheel==0.41.2 +wheel==0.41.3 widgetsnbextension==4.0.9 wrapt==1.15.0 y-py==0.5.9 diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index d3e9f9f6..ee679aa1 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -11,26 +11,26 @@ anyio==4.0.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 -asttokens==2.4.0 +asttokens==2.4.1 async-lru==2.0.4 attrs==23.1.0 -babel==2.13.0 +babel==2.13.1 backcall==0.2.0 beautifulsoup4==4.12.2 -black==23.9.1 +black==23.11.0 bleach==6.1.0 -cachetools==5.3.1 +cachetools==5.3.2 certifi==2023.7.22 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 -charset-normalizer==3.3.0 +charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 -comm==0.1.4 +comm==0.2.0 contourpy==1.1.1 coverage==7.3.2 -cryptography==41.0.4 +cryptography==41.0.5 cycler==0.12.1 dataproperty==1.0.1 debugpy==1.8.0 @@ -38,50 +38,49 @@ decorator==5.1.1 defusedxml==0.7.1 deprecated==1.2.14 distlib==0.3.7 -docstring-to-markdown==0.12 +docstring-to-markdown==0.13 docutils==0.17.1 dominate==2.8.0 exceptiongroup==1.1.3 execnet==2.0.2 -executing==2.0.0 +executing==2.0.1 fastjsonschema==2.18.1 feynman==2.1.0 -filelock==3.12.4 -fonttools==4.43.1 +filelock==3.13.1 +fonttools==4.44.0 fqdn==1.5.1 -greenlet==3.0.0 -identify==2.5.30 +greenlet==3.0.1 +identify==2.5.31 idna==3.4 imagesize==1.4.1 importlib-metadata==6.8.0 -importlib-resources==6.1.0 +importlib-resources==6.1.1 iniconfig==2.0.0 -ipykernel==6.25.2 +ipykernel==6.26.0 ipython==8.12.3 -ipython-genutils==0.2.0 ipywidgets==8.1.1 isoduration==20.11.0 jedi==0.19.1 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 -jsonschema==4.19.1 +jsonschema==4.19.2 jsonschema-specifications==2023.7.1 jupyter==1.0.0 jupyter-cache==0.6.1 -jupyter-client==8.3.1 +jupyter-client==8.6.0 jupyter-console==6.6.3 -jupyter-core==5.3.2 -jupyter-events==0.7.0 +jupyter-core==5.5.0 +jupyter-events==0.9.0 jupyter-lsp==2.2.0 -jupyter-server==2.7.3 +jupyter-server==2.10.0 jupyter-server-terminals==0.4.4 -jupyterlab==4.0.6 +jupyterlab==4.0.8 jupyterlab-code-formatter==2.2.1 jupyterlab-lsp==5.0.0 -jupyterlab-myst==2.0.2 +jupyterlab-myst==2.1.0 jupyterlab-pygments==0.2.2 -jupyterlab-server==2.25.0 +jupyterlab-server==2.25.1 jupyterlab-widgets==3.0.9 kiwisolver==1.4.5 latexcodec==2.0.1 @@ -95,16 +94,16 @@ mdit-py-plugins==0.3.5 mdurl==0.1.2 mistune==3.0.2 mpmath==1.3.0 -mypy==1.5.1 +mypy==1.6.1 mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 nbclient==0.7.4 -nbconvert==7.9.2 +nbconvert==7.11.0 nbformat==5.9.2 nest-asyncio==1.5.8 nodeenv==1.8.0 -notebook==7.0.4 +notebook==7.0.6 notebook-shim==0.2.3 numpy==1.23.5 overrides==7.4.0 @@ -115,14 +114,14 @@ pathspec==0.11.2 pathvalidate==3.2.0 pexpect==4.8.0 pickleshare==0.7.5 -pillow==10.0.1 +pillow==10.1.0 pkgutil-resolve-name==1.3.10 platformdirs==3.11.0 pluggy==1.3.0 -pre-commit==3.4.0 -prometheus-client==0.17.1 +pre-commit==3.5.0 +prometheus-client==0.18.0 prompt-toolkit==3.0.39 -psutil==5.9.5 +psutil==5.9.6 ptyprocess==0.7.0 pure-eval==0.2.2 pybtex==0.24.0 @@ -130,7 +129,7 @@ pybtex-docutils==1.0.3 pycparser==2.21 pydantic==2.4.2 pydantic-core==2.10.1 -pydata-sphinx-theme==0.14.1 +pydata-sphinx-theme==0.14.3 pygithub==2.1.1 pygments==2.16.1 pyjwt==2.8.0 @@ -138,28 +137,28 @@ pynacl==1.5.0 pyparsing==3.1.1 pyproject-api==1.6.1 pytablewriter==1.2.0 -pytest==7.4.2 +pytest==7.4.3 pytest-cov==4.1.0 pytest-xdist==3.3.1 python-dateutil==2.8.2 -python-gitlab==3.15.0 +python-gitlab==4.1.1 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-server==1.8.2 -pytoolconfig==1.2.5 +python-lsp-server==1.9.0 +pytoolconfig==1.2.6 pytz==2023.3.post1 pyyaml==6.0.1 pyzmq==25.1.1 -qtconsole==5.4.4 -qtpy==2.4.0 +qtconsole==5.5.0 +qtpy==2.4.1 referencing==0.30.2 requests==2.31.0 requests-toolbelt==1.0.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rope==1.10.0 -rpds-py==0.10.4 -ruff==0.0.292 +rope==1.11.0 +rpds-py==0.12.0 +ruff==0.1.4 send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -173,7 +172,7 @@ sphinx-comments==0.0.3 sphinx-copybutton==0.5.2 sphinx-design==0.5.0 sphinx-hep-pdgref==0.2.0 -sphinx-thebe==0.2.1 +sphinx-thebe==0.3.0 sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.4 sphinxcontrib-bibtex==2.6.1 @@ -182,7 +181,7 @@ sphinxcontrib-htmlhelp==2.0.1 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 -sqlalchemy==2.0.21 +sqlalchemy==2.0.23 stack-data==0.6.3 sympy==1.12 tabledata==1.3.3 @@ -193,7 +192,7 @@ tinycss2==1.2.1 tomli==2.0.1 tornado==6.3.3 tox==4.11.3 -traitlets==5.11.2 +traitlets==5.13.0 typepy==1.3.2 types-docutils==0.20.0.3 types-pkg-resources==0.1.3 @@ -203,13 +202,13 @@ types-setuptools==68.2.0.0 typing-extensions==4.8.0 ujson==5.8.0 uri-template==1.3.0 -urllib3==2.0.6 -virtualenv==20.24.5 -wcwidth==0.2.8 +urllib3==2.0.7 +virtualenv==20.24.6 +wcwidth==0.2.9 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.4 -wheel==0.41.2 +wheel==0.41.3 widgetsnbextension==4.0.9 wrapt==1.15.0 zipp==3.17.0 diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt index fefceca4..5cbd8132 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -11,26 +11,25 @@ anyio==4.0.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 -asttokens==2.4.0 +asttokens==2.4.1 async-lru==2.0.4 attrs==23.1.0 -babel==2.13.0 -backcall==0.2.0 +babel==2.13.1 beautifulsoup4==4.12.2 -black==23.9.1 +black==23.11.0 bleach==6.1.0 -cachetools==5.3.1 +cachetools==5.3.2 certifi==2023.7.22 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 -charset-normalizer==3.3.0 +charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 -comm==0.1.4 -contourpy==1.1.1 +comm==0.2.0 +contourpy==1.2.0 coverage==7.3.2 -cryptography==41.0.4 +cryptography==41.0.5 cycler==0.12.1 dataproperty==1.0.1 debugpy==1.8.0 @@ -38,73 +37,72 @@ decorator==5.1.1 defusedxml==0.7.1 deprecated==1.2.14 distlib==0.3.7 -docstring-to-markdown==0.12 +docstring-to-markdown==0.13 docutils==0.17.1 dominate==2.8.0 exceptiongroup==1.1.3 execnet==2.0.2 -executing==2.0.0 +executing==2.0.1 fastjsonschema==2.18.1 feynman==2.1.0 -filelock==3.12.4 -fonttools==4.43.1 +filelock==3.13.1 +fonttools==4.44.0 fqdn==1.5.1 -greenlet==3.0.0 -identify==2.5.30 +greenlet==3.0.1 +identify==2.5.31 idna==3.4 imagesize==1.4.1 importlib-metadata==6.8.0 -importlib-resources==6.1.0 +importlib-resources==6.1.1 iniconfig==2.0.0 -ipykernel==6.25.2 -ipython==8.16.1 -ipython-genutils==0.2.0 +ipykernel==6.26.0 +ipython==8.17.2 ipywidgets==8.1.1 isoduration==20.11.0 jedi==0.19.1 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 -jsonschema==4.19.1 +jsonschema==4.19.2 jsonschema-specifications==2023.7.1 jupyter==1.0.0 jupyter-cache==0.6.1 -jupyter-client==8.3.1 +jupyter-client==8.6.0 jupyter-console==6.6.3 -jupyter-core==5.3.2 -jupyter-events==0.7.0 +jupyter-core==5.5.0 +jupyter-events==0.9.0 jupyter-lsp==2.2.0 -jupyter-server==2.7.3 +jupyter-server==2.10.0 jupyter-server-terminals==0.4.4 -jupyterlab==4.0.6 +jupyterlab==4.0.8 jupyterlab-code-formatter==2.2.1 jupyterlab-lsp==5.0.0 -jupyterlab-myst==2.0.2 +jupyterlab-myst==2.1.0 jupyterlab-pygments==0.2.2 -jupyterlab-server==2.25.0 +jupyterlab-server==2.25.1 jupyterlab-widgets==3.0.9 kiwisolver==1.4.5 latexcodec==2.0.1 livereload==2.6.3 markdown-it-py==2.2.0 markupsafe==2.1.3 -matplotlib==3.8.0 +matplotlib==3.8.1 matplotlib-inline==0.1.6 mbstrdecoder==1.1.3 mdit-py-plugins==0.3.5 mdurl==0.1.2 mistune==3.0.2 mpmath==1.3.0 -mypy==1.5.1 +mypy==1.6.1 mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 nbclient==0.7.4 -nbconvert==7.9.2 +nbconvert==7.11.0 nbformat==5.9.2 nest-asyncio==1.5.8 nodeenv==1.8.0 -notebook==7.0.4 +notebook==7.0.6 notebook-shim==0.2.3 numpy==1.23.5 overrides==7.4.0 @@ -114,14 +112,13 @@ parso==0.8.3 pathspec==0.11.2 pathvalidate==3.2.0 pexpect==4.8.0 -pickleshare==0.7.5 -pillow==10.0.1 +pillow==10.1.0 platformdirs==3.11.0 pluggy==1.3.0 -pre-commit==3.4.0 -prometheus-client==0.17.1 +pre-commit==3.5.0 +prometheus-client==0.18.0 prompt-toolkit==3.0.39 -psutil==5.9.5 +psutil==5.9.6 ptyprocess==0.7.0 pure-eval==0.2.2 pybtex==0.24.0 @@ -129,7 +126,7 @@ pybtex-docutils==1.0.3 pycparser==2.21 pydantic==2.4.2 pydantic-core==2.10.1 -pydata-sphinx-theme==0.14.1 +pydata-sphinx-theme==0.14.3 pygithub==2.1.1 pygments==2.16.1 pyjwt==2.8.0 @@ -137,28 +134,28 @@ pynacl==1.5.0 pyparsing==3.1.1 pyproject-api==1.6.1 pytablewriter==1.2.0 -pytest==7.4.2 +pytest==7.4.3 pytest-cov==4.1.0 pytest-xdist==3.3.1 python-dateutil==2.8.2 -python-gitlab==3.15.0 +python-gitlab==4.1.1 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-server==1.8.2 -pytoolconfig==1.2.5 +python-lsp-server==1.9.0 +pytoolconfig==1.2.6 pytz==2023.3.post1 pyyaml==6.0.1 pyzmq==25.1.1 -qtconsole==5.4.4 -qtpy==2.4.0 +qtconsole==5.5.0 +qtpy==2.4.1 referencing==0.30.2 requests==2.31.0 requests-toolbelt==1.0.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rope==1.10.0 -rpds-py==0.10.4 -ruff==0.0.292 +rope==1.11.0 +rpds-py==0.12.0 +ruff==0.1.4 send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -172,7 +169,7 @@ sphinx-comments==0.0.3 sphinx-copybutton==0.5.2 sphinx-design==0.5.0 sphinx-hep-pdgref==0.2.0 -sphinx-thebe==0.2.1 +sphinx-thebe==0.3.0 sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.7 sphinxcontrib-bibtex==2.6.1 @@ -181,7 +178,7 @@ sphinxcontrib-htmlhelp==2.0.4 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.6 sphinxcontrib-serializinghtml==1.1.9 -sqlalchemy==2.0.21 +sqlalchemy==2.0.23 stack-data==0.6.3 sympy==1.12 tabledata==1.3.3 @@ -192,7 +189,7 @@ tinycss2==1.2.1 tomli==2.0.1 tornado==6.3.3 tox==4.11.3 -traitlets==5.11.2 +traitlets==5.13.0 typepy==1.3.2 types-docutils==0.20.0.3 types-pkg-resources==0.1.3 @@ -202,13 +199,13 @@ types-setuptools==68.2.0.0 typing-extensions==4.8.0 ujson==5.8.0 uri-template==1.3.0 -urllib3==2.0.6 -virtualenv==20.24.5 -wcwidth==0.2.8 +urllib3==2.0.7 +virtualenv==20.24.6 +wcwidth==0.2.9 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.4 -wheel==0.41.2 +wheel==0.41.3 widgetsnbextension==4.0.9 wrapt==1.15.0 zipp==3.17.0 diff --git a/.cspell.json b/.cspell.json index 29fb7820..be905654 100644 --- a/.cspell.json +++ b/.cspell.json @@ -136,6 +136,7 @@ "sdist", "seealso", "setuptools", + "subproject", "tensorwaves", "toctree", "treiman", diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 67089919..e558e114 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -39,7 +39,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/ComPWA/repo-maintenance - rev: 0.1.0 + rev: 0.1.1 hooks: - id: check-dev-files args: @@ -61,8 +61,8 @@ repos: args: - --fix - - repo: https://github.com/psf/black - rev: 23.9.1 + - repo: https://github.com/psf/black-pre-commit-mirror + rev: 23.11.0 hooks: - id: black - id: black-jupyter @@ -75,7 +75,7 @@ repos: - id: blacken-docs - repo: https://github.com/sirosen/check-jsonschema - rev: 0.27.0 + rev: 0.27.1 hooks: - id: check-jsonschema name: Check project inventory YAML files @@ -85,12 +85,12 @@ repos: args: ["--schemafile", "./docs/software/project-inventory-schema.json"] - repo: https://github.com/streetsidesoftware/cspell-cli - rev: v7.3.1 + rev: v8.0.0 hooks: - id: cspell - repo: https://github.com/editorconfig-checker/editorconfig-checker.python - rev: 2.7.2 + rev: 2.7.3 hooks: - id: editorconfig-checker name: editorconfig @@ -141,7 +141,7 @@ repos: - id: prettier - repo: https://github.com/ComPWA/mirrors-pyright - rev: v1.1.330 + rev: v1.1.334 hooks: - id: pyright @@ -153,7 +153,7 @@ repos: - --py37-plus - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.0.292 + rev: v0.1.4 hooks: - id: ruff args: diff --git a/docs/conf.py b/docs/conf.py index f67e1769..1ed486fa 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -4,6 +4,7 @@ documentation: https://www.sphinx-doc.org/en/master/usage/configuration.html """ + # pyright: reportMissingImports=false from __future__ import annotations @@ -130,12 +131,10 @@ def get_repository_name() -> str: "members": True, "undoc-members": True, "show-inheritance": True, - "special-members": ", ".join( - [ - "__call__", - "__eq__", - ] - ), + "special-members": ", ".join([ + "__call__", + "__eq__", + ]), } codeautolink_concat_default = True codeautolink_global_preface = """ diff --git a/src/pwa_pages/project_inventory.py b/src/pwa_pages/project_inventory.py index 8bfc3b6e..1a948f36 100644 --- a/src/pwa_pages/project_inventory.py +++ b/src/pwa_pages/project_inventory.py @@ -1,5 +1,4 @@ """Helper tools for writing tables.""" -# cspell:ignore subproject import argparse import json diff --git a/src/pwa_pages/repo/__init__.py b/src/pwa_pages/repo/__init__.py index b8c2ab63..7a5006e5 100644 --- a/src/pwa_pages/repo/__init__.py +++ b/src/pwa_pages/repo/__init__.py @@ -1,4 +1,5 @@ """Get information about a GitHub and GitLab repositories.""" + from __future__ import annotations from typing import TYPE_CHECKING