From 7b06b49ed10045ca5e4b8fd0097ebeb26e7ecc35 Mon Sep 17 00:00:00 2001 From: GitHub Date: Wed, 27 Sep 2023 13:23:38 +0000 Subject: [PATCH 01/27] MAINT: update pip constraints and pre-commit --- .constraints/py3.10.txt | 52 +++++++++++++++++++-------------------- .constraints/py3.11.txt | 52 +++++++++++++++++++-------------------- .constraints/py3.6.txt | 12 ++++----- .constraints/py3.7.txt | 20 +++++++-------- .constraints/py3.8.txt | 54 ++++++++++++++++++++--------------------- .constraints/py3.9.txt | 52 +++++++++++++++++++-------------------- .pre-commit-config.yaml | 10 ++++---- 7 files changed, 126 insertions(+), 126 deletions(-) diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index b488d22b..507fc206 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -17,7 +17,7 @@ attrs==23.1.0 babel==2.12.1 backcall==0.2.0 beautifulsoup4==4.12.2 -black==23.9.0 +black==23.9.1 bleach==6.0.0 cachetools==5.3.1 certifi==2023.7.22 @@ -29,7 +29,7 @@ click==8.1.7 colorama==0.4.6 comm==0.1.4 coverage==7.3.1 -debugpy==1.7.0 +debugpy==1.8.0 decorator==5.1.1 defusedxml==0.7.1 deprecated==1.2.14 @@ -41,13 +41,13 @@ exceptiongroup==1.1.3 execnet==2.0.2 executing==1.2.0 fastjsonschema==2.18.0 -filelock==3.12.3 +filelock==3.12.4 fqdn==1.5.1 gprof2dot==2022.7.29 graphviz==0.20.1 greenlet==2.0.2 hepunits==2.3.2 -identify==2.5.27 +identify==2.5.29 idna==3.4 imagesize==1.4.1 importlib-metadata==6.8.0 @@ -55,17 +55,17 @@ iniconfig==2.0.0 ipykernel==6.25.2 ipython==8.15.0 ipython-genutils==0.2.0 -ipywidgets==8.1.0 +ipywidgets==8.1.1 isoduration==20.11.0 jedi==0.19.0 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 -jsonschema==4.19.0 +jsonschema==4.19.1 jsonschema-specifications==2023.7.1 jupyter-cache==0.6.1 jupyter-client==7.4.9 -jupyter-core==5.3.1 +jupyter-core==5.3.2 jupyter-events==0.7.0 jupyter-lsp==2.2.0 jupyter-server==2.7.3 @@ -73,13 +73,13 @@ jupyter-server-fileid==0.9.0 jupyter-server-terminals==0.4.4 jupyter-server-ydoc==0.8.0 jupyter-ydoc==0.2.5 -jupyterlab==3.6.5 +jupyterlab==3.6.6 jupyterlab-code-formatter==2.2.1 -jupyterlab-lsp==4.2.0 +jupyterlab-lsp==4.3.0 jupyterlab-myst==2.0.2 ; python_version >= "3.7.0" jupyterlab-pygments==0.2.2 -jupyterlab-server==2.24.0 -jupyterlab-widgets==3.0.8 +jupyterlab-server==2.25.0 +jupyterlab-widgets==3.0.9 latexcodec==2.0.1 livereload==2.6.3 markdown-it-py==2.2.0 @@ -97,9 +97,9 @@ nbclient==0.6.8 nbconvert==7.8.0 nbformat==5.9.2 nbmake==1.4.3 -nest-asyncio==1.5.7 +nest-asyncio==1.5.8 nodeenv==1.8.0 -notebook==6.5.5 +notebook==6.5.6 notebook-shim==0.2.3 overrides==7.4.0 packaging==23.1 @@ -120,7 +120,7 @@ pure-eval==0.2.2 pybtex==0.24.0 pybtex-docutils==1.0.3 pycparser==2.21 -pydata-sphinx-theme==0.13.3 +pydata-sphinx-theme==0.14.1 pydot==1.4.2 pygments==2.16.1 pyparsing==3.1.1 @@ -132,7 +132,7 @@ pytest-xdist==3.3.1 python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 -python-lsp-jsonrpc==1.1.0 +python-lsp-jsonrpc==1.1.2 python-lsp-server==1.8.0 pytoolconfig==1.2.5 pyyaml==6.0.1 @@ -142,8 +142,8 @@ requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.9.0 -rpds-py==0.10.2 -ruff==0.0.287 ; python_version >= "3.7.0" +rpds-py==0.10.3 +ruff==0.0.291 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -167,7 +167,7 @@ sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.6 sphinxcontrib-serializinghtml==1.1.9 sphobjinv==2.3.1 -sqlalchemy==2.0.20 +sqlalchemy==2.0.21 stack-data==0.6.2 tabulate==0.9.0 terminado==0.17.1 @@ -176,28 +176,28 @@ tomli==2.0.1 tornado==6.3.3 tox==4.11.3 tqdm==4.66.1 -traitlets==5.9.0 +traitlets==5.10.1 types-docutils==0.20.0.3 types-pkg-resources==0.1.3 -types-pyyaml==6.0.12.11 -types-requests==2.31.0.2 +types-pyyaml==6.0.12.12 +types-requests==2.31.0.6 types-setuptools==68.2.0.0 types-urllib3==1.26.25.14 -typing-extensions==4.7.1 +typing-extensions==4.8.0 ujson==5.8.0 uri-template==1.3.0 -urllib3==2.0.4 +urllib3==2.0.5 virtualenv==20.24.5 wcwidth==0.2.6 webcolors==1.13 webencodings==0.5.1 -websocket-client==1.6.2 +websocket-client==1.6.3 wheel==0.41.2 -widgetsnbextension==4.0.8 +widgetsnbextension==4.0.9 wrapt==1.15.0 y-py==0.6.0 ypy-websocket==0.8.4 -zipp==3.16.2 +zipp==3.17.0 # The following packages are considered to be unsafe in a requirements file: # setuptools diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt index 22c28f50..5ecdf613 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -17,7 +17,7 @@ attrs==23.1.0 babel==2.12.1 backcall==0.2.0 beautifulsoup4==4.12.2 -black==23.9.0 +black==23.9.1 bleach==6.0.0 cachetools==5.3.1 certifi==2023.7.22 @@ -29,7 +29,7 @@ click==8.1.7 colorama==0.4.6 comm==0.1.4 coverage==7.3.1 -debugpy==1.7.0 +debugpy==1.8.0 decorator==5.1.1 defusedxml==0.7.1 deprecated==1.2.14 @@ -40,13 +40,13 @@ entrypoints==0.4 execnet==2.0.2 executing==1.2.0 fastjsonschema==2.18.0 -filelock==3.12.3 +filelock==3.12.4 fqdn==1.5.1 gprof2dot==2022.7.29 graphviz==0.20.1 greenlet==2.0.2 hepunits==2.3.2 -identify==2.5.27 +identify==2.5.29 idna==3.4 imagesize==1.4.1 importlib-metadata==6.8.0 @@ -54,17 +54,17 @@ iniconfig==2.0.0 ipykernel==6.25.2 ipython==8.15.0 ipython-genutils==0.2.0 -ipywidgets==8.1.0 +ipywidgets==8.1.1 isoduration==20.11.0 jedi==0.19.0 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 -jsonschema==4.19.0 +jsonschema==4.19.1 jsonschema-specifications==2023.7.1 jupyter-cache==0.6.1 jupyter-client==7.4.9 -jupyter-core==5.3.1 +jupyter-core==5.3.2 jupyter-events==0.7.0 jupyter-lsp==2.2.0 jupyter-server==2.7.3 @@ -72,13 +72,13 @@ jupyter-server-fileid==0.9.0 jupyter-server-terminals==0.4.4 jupyter-server-ydoc==0.8.0 jupyter-ydoc==0.2.5 -jupyterlab==3.6.5 +jupyterlab==3.6.6 jupyterlab-code-formatter==2.2.1 -jupyterlab-lsp==4.2.0 +jupyterlab-lsp==4.3.0 jupyterlab-myst==2.0.2 ; python_version >= "3.7.0" jupyterlab-pygments==0.2.2 -jupyterlab-server==2.24.0 -jupyterlab-widgets==3.0.8 +jupyterlab-server==2.25.0 +jupyterlab-widgets==3.0.9 latexcodec==2.0.1 livereload==2.6.3 markdown-it-py==2.2.0 @@ -96,9 +96,9 @@ nbclient==0.6.8 nbconvert==7.8.0 nbformat==5.9.2 nbmake==1.4.3 -nest-asyncio==1.5.7 +nest-asyncio==1.5.8 nodeenv==1.8.0 -notebook==6.5.5 +notebook==6.5.6 notebook-shim==0.2.3 overrides==7.4.0 packaging==23.1 @@ -119,7 +119,7 @@ pure-eval==0.2.2 pybtex==0.24.0 pybtex-docutils==1.0.3 pycparser==2.21 -pydata-sphinx-theme==0.13.3 +pydata-sphinx-theme==0.14.1 pydot==1.4.2 pygments==2.16.1 pyparsing==3.1.1 @@ -131,7 +131,7 @@ pytest-xdist==3.3.1 python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 -python-lsp-jsonrpc==1.1.0 +python-lsp-jsonrpc==1.1.2 python-lsp-server==1.8.0 pytoolconfig==1.2.5 pyyaml==6.0.1 @@ -141,8 +141,8 @@ requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.9.0 -rpds-py==0.10.2 -ruff==0.0.287 ; python_version >= "3.7.0" +rpds-py==0.10.3 +ruff==0.0.291 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -166,7 +166,7 @@ sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.6 sphinxcontrib-serializinghtml==1.1.9 sphobjinv==2.3.1 -sqlalchemy==2.0.20 +sqlalchemy==2.0.21 stack-data==0.6.2 tabulate==0.9.0 terminado==0.17.1 @@ -174,28 +174,28 @@ tinycss2==1.2.1 tornado==6.3.3 tox==4.11.3 tqdm==4.66.1 -traitlets==5.9.0 +traitlets==5.10.1 types-docutils==0.20.0.3 types-pkg-resources==0.1.3 -types-pyyaml==6.0.12.11 -types-requests==2.31.0.2 +types-pyyaml==6.0.12.12 +types-requests==2.31.0.6 types-setuptools==68.2.0.0 types-urllib3==1.26.25.14 -typing-extensions==4.7.1 +typing-extensions==4.8.0 ujson==5.8.0 uri-template==1.3.0 -urllib3==2.0.4 +urllib3==2.0.5 virtualenv==20.24.5 wcwidth==0.2.6 webcolors==1.13 webencodings==0.5.1 -websocket-client==1.6.2 +websocket-client==1.6.3 wheel==0.41.2 -widgetsnbextension==4.0.8 +widgetsnbextension==4.0.9 wrapt==1.15.0 y-py==0.6.0 ypy-websocket==0.8.4 -zipp==3.16.2 +zipp==3.17.0 # The following packages are considered to be unsafe in a requirements file: # setuptools diff --git a/.constraints/py3.6.txt b/.constraints/py3.6.txt index 47b38692..bd69759e 100644 --- a/.constraints/py3.6.txt +++ b/.constraints/py3.6.txt @@ -48,7 +48,7 @@ iniconfig==1.1.1 ipykernel==5.5.6 ipython==7.16.3 ipython-genutils==0.2.0 -ipywidgets==7.8.0 +ipywidgets==7.8.1 jedi==0.17.2 jinja2==3.0.3 json5==0.9.14 @@ -65,7 +65,7 @@ jupyterlab-code-formatter==1.6.1 jupyterlab-lsp==3.9.2 jupyterlab-pygments==0.1.2 jupyterlab-server==2.10.3 -jupyterlab-widgets==1.1.5 +jupyterlab-widgets==1.1.7 latexcodec==2.0.1 livereload==2.6.3 markdown-it-py==1.1.0 @@ -82,7 +82,7 @@ nbconvert==6.0.7 nbdime==3.2.1 nbformat==5.1.3 nbmake==1.2.1 -nest-asyncio==1.5.7 +nest-asyncio==1.5.8 nodeenv==1.6.0 notebook==6.4.10 packaging==21.3 @@ -157,8 +157,8 @@ traitlets==4.3.3 typed-ast==1.5.5 types-docutils==0.20.0.3 types-pkg-resources==0.1.3 -types-pyyaml==6.0.12.11 -types-requests==2.31.0.2 +types-pyyaml==6.0.12.12 +types-requests==2.31.0.5 types-setuptools==68.2.0.0 types-urllib3==1.26.25.14 typing-extensions==4.1.1 ; python_version < "3.10.0" @@ -169,7 +169,7 @@ wcwidth==0.2.6 webencodings==0.5.1 websocket-client==1.3.1 wheel==0.37.1 -widgetsnbextension==3.6.5 +widgetsnbextension==3.6.6 zipp==3.6.0 # The following packages are considered to be unsafe in a requirements file: diff --git a/.constraints/py3.7.txt b/.constraints/py3.7.txt index cfa4a63a..1f7642e4 100644 --- a/.constraints/py3.7.txt +++ b/.constraints/py3.7.txt @@ -55,7 +55,7 @@ iniconfig==2.0.0 ipykernel==6.16.2 ipython==7.34.0 ipython-genutils==0.2.0 -ipywidgets==8.1.0 +ipywidgets==8.1.1 isoduration==20.11.0 jedi==0.18.2 jinja2==3.1.2 @@ -71,13 +71,13 @@ jupyter-server==1.24.0 jupyter-server-fileid==0.9.0 jupyter-server-ydoc==0.8.0 jupyter-ydoc==0.2.4 -jupyterlab==3.6.5 +jupyterlab==3.6.6 jupyterlab-code-formatter==2.2.1 jupyterlab-lsp==3.10.2 jupyterlab-myst==1.2.0 ; python_version >= "3.7.0" jupyterlab-pygments==0.2.2 jupyterlab-server==2.24.0 -jupyterlab-widgets==3.0.8 +jupyterlab-widgets==3.0.9 latexcodec==2.0.1 livereload==2.6.3 markdown-it-py==2.2.0 @@ -95,9 +95,9 @@ nbclient==0.5.13 nbconvert==7.6.0 nbformat==5.8.0 nbmake==1.2.1 ; python_version == "3.7.*" -nest-asyncio==1.5.7 +nest-asyncio==1.5.8 nodeenv==1.8.0 -notebook==6.5.5 +notebook==6.5.6 notebook-shim==0.2.3 packaging==23.1 pandocfilters==1.5.0 @@ -141,7 +141,7 @@ requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.9.0 -ruff==0.0.287 ; python_version >= "3.7.0" +ruff==0.0.291 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -177,21 +177,21 @@ traitlets==5.9.0 typed-ast==1.5.5 types-docutils==0.20.0.3 types-pkg-resources==0.1.3 -types-pyyaml==6.0.12.11 -types-requests==2.31.0.2 +types-pyyaml==6.0.12.12 +types-requests==2.31.0.6 types-setuptools==68.2.0.0 types-urllib3==1.26.25.14 typing-extensions==4.7.1 ; python_version < "3.10.0" ujson==5.7.0 uri-template==1.3.0 -urllib3==2.0.4 +urllib3==2.0.5 virtualenv==20.24.5 wcwidth==0.2.6 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.1 wheel==0.41.2 -widgetsnbextension==4.0.8 +widgetsnbextension==4.0.9 wrapt==1.15.0 y-py==0.5.9 ypy-websocket==0.8.2 ; python_version == "3.7.*" diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index fd9857ac..e0f33d53 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -17,7 +17,7 @@ attrs==23.1.0 babel==2.12.1 backcall==0.2.0 beautifulsoup4==4.12.2 -black==23.9.0 +black==23.9.1 bleach==6.0.0 cachetools==5.3.1 certifi==2023.7.22 @@ -29,7 +29,7 @@ click==8.1.7 colorama==0.4.6 comm==0.1.4 coverage==7.3.1 -debugpy==1.7.0 +debugpy==1.8.0 decorator==5.1.1 defusedxml==0.7.1 deprecated==1.2.14 @@ -41,32 +41,32 @@ exceptiongroup==1.1.3 execnet==2.0.2 executing==1.2.0 fastjsonschema==2.18.0 -filelock==3.12.3 +filelock==3.12.4 fqdn==1.5.1 gprof2dot==2022.7.29 graphviz==0.20.1 greenlet==2.0.2 hepunits==2.3.2 -identify==2.5.27 +identify==2.5.29 idna==3.4 imagesize==1.4.1 importlib-metadata==6.8.0 -importlib-resources==6.0.1 +importlib-resources==6.1.0 iniconfig==2.0.0 ipykernel==6.25.2 ipython==8.12.2 ipython-genutils==0.2.0 -ipywidgets==8.1.0 +ipywidgets==8.1.1 isoduration==20.11.0 jedi==0.19.0 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 -jsonschema==4.19.0 +jsonschema==4.19.1 jsonschema-specifications==2023.7.1 jupyter-cache==0.6.1 jupyter-client==7.4.9 -jupyter-core==5.3.1 +jupyter-core==5.3.2 jupyter-events==0.7.0 jupyter-lsp==2.2.0 jupyter-server==2.7.3 @@ -74,13 +74,13 @@ jupyter-server-fileid==0.9.0 jupyter-server-terminals==0.4.4 jupyter-server-ydoc==0.8.0 jupyter-ydoc==0.2.5 -jupyterlab==3.6.5 +jupyterlab==3.6.6 jupyterlab-code-formatter==2.2.1 -jupyterlab-lsp==4.2.0 +jupyterlab-lsp==4.3.0 jupyterlab-myst==2.0.2 ; python_version >= "3.7.0" jupyterlab-pygments==0.2.2 -jupyterlab-server==2.24.0 -jupyterlab-widgets==3.0.8 +jupyterlab-server==2.25.0 +jupyterlab-widgets==3.0.9 latexcodec==2.0.1 livereload==2.6.3 markdown-it-py==2.2.0 @@ -98,9 +98,9 @@ nbclient==0.6.8 nbconvert==7.8.0 nbformat==5.9.2 nbmake==1.4.3 -nest-asyncio==1.5.7 +nest-asyncio==1.5.8 nodeenv==1.8.0 -notebook==6.5.5 +notebook==6.5.6 notebook-shim==0.2.3 overrides==7.4.0 packaging==23.1 @@ -122,7 +122,7 @@ pure-eval==0.2.2 pybtex==0.24.0 pybtex-docutils==1.0.3 pycparser==2.21 -pydata-sphinx-theme==0.13.3 +pydata-sphinx-theme==0.14.1 pydot==1.4.2 pygments==2.16.1 pyparsing==3.1.1 @@ -134,7 +134,7 @@ pytest-xdist==3.3.1 python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 -python-lsp-jsonrpc==1.1.0 +python-lsp-jsonrpc==1.1.2 python-lsp-server==1.8.0 pytoolconfig==1.2.5 pytz==2023.3.post1 @@ -145,8 +145,8 @@ requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.9.0 -rpds-py==0.10.2 -ruff==0.0.287 ; python_version >= "3.7.0" +rpds-py==0.10.3 +ruff==0.0.291 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -170,7 +170,7 @@ sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 sphobjinv==2.3.1 -sqlalchemy==2.0.20 +sqlalchemy==2.0.21 stack-data==0.6.2 tabulate==0.9.0 terminado==0.17.1 @@ -179,28 +179,28 @@ tomli==2.0.1 tornado==6.3.3 tox==4.11.3 tqdm==4.66.1 -traitlets==5.9.0 +traitlets==5.10.1 types-docutils==0.20.0.3 types-pkg-resources==0.1.3 -types-pyyaml==6.0.12.11 -types-requests==2.31.0.2 +types-pyyaml==6.0.12.12 +types-requests==2.31.0.6 types-setuptools==68.2.0.0 types-urllib3==1.26.25.14 -typing-extensions==4.7.1 ; python_version < "3.10.0" +typing-extensions==4.8.0 ; python_version < "3.10.0" ujson==5.8.0 uri-template==1.3.0 -urllib3==2.0.4 +urllib3==2.0.5 virtualenv==20.24.5 wcwidth==0.2.6 webcolors==1.13 webencodings==0.5.1 -websocket-client==1.6.2 +websocket-client==1.6.3 wheel==0.41.2 -widgetsnbextension==4.0.8 +widgetsnbextension==4.0.9 wrapt==1.15.0 y-py==0.6.0 ypy-websocket==0.8.4 -zipp==3.16.2 +zipp==3.17.0 # The following packages are considered to be unsafe in a requirements file: # setuptools diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt index 3b5bbdff..73dfcc11 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -17,7 +17,7 @@ attrs==23.1.0 babel==2.12.1 backcall==0.2.0 beautifulsoup4==4.12.2 -black==23.9.0 +black==23.9.1 bleach==6.0.0 cachetools==5.3.1 certifi==2023.7.22 @@ -29,7 +29,7 @@ click==8.1.7 colorama==0.4.6 comm==0.1.4 coverage==7.3.1 -debugpy==1.7.0 +debugpy==1.8.0 decorator==5.1.1 defusedxml==0.7.1 deprecated==1.2.14 @@ -41,13 +41,13 @@ exceptiongroup==1.1.3 execnet==2.0.2 executing==1.2.0 fastjsonschema==2.18.0 -filelock==3.12.3 +filelock==3.12.4 fqdn==1.5.1 gprof2dot==2022.7.29 graphviz==0.20.1 greenlet==2.0.2 hepunits==2.3.2 -identify==2.5.27 +identify==2.5.29 idna==3.4 imagesize==1.4.1 importlib-metadata==6.8.0 @@ -55,17 +55,17 @@ iniconfig==2.0.0 ipykernel==6.25.2 ipython==8.15.0 ipython-genutils==0.2.0 -ipywidgets==8.1.0 +ipywidgets==8.1.1 isoduration==20.11.0 jedi==0.19.0 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 -jsonschema==4.19.0 +jsonschema==4.19.1 jsonschema-specifications==2023.7.1 jupyter-cache==0.6.1 jupyter-client==7.4.9 -jupyter-core==5.3.1 +jupyter-core==5.3.2 jupyter-events==0.7.0 jupyter-lsp==2.2.0 jupyter-server==2.7.3 @@ -73,13 +73,13 @@ jupyter-server-fileid==0.9.0 jupyter-server-terminals==0.4.4 jupyter-server-ydoc==0.8.0 jupyter-ydoc==0.2.5 -jupyterlab==3.6.5 +jupyterlab==3.6.6 jupyterlab-code-formatter==2.2.1 -jupyterlab-lsp==4.2.0 +jupyterlab-lsp==4.3.0 jupyterlab-myst==2.0.2 ; python_version >= "3.7.0" jupyterlab-pygments==0.2.2 -jupyterlab-server==2.24.0 -jupyterlab-widgets==3.0.8 +jupyterlab-server==2.25.0 +jupyterlab-widgets==3.0.9 latexcodec==2.0.1 livereload==2.6.3 markdown-it-py==2.2.0 @@ -97,9 +97,9 @@ nbclient==0.6.8 nbconvert==7.8.0 nbformat==5.9.2 nbmake==1.4.3 -nest-asyncio==1.5.7 +nest-asyncio==1.5.8 nodeenv==1.8.0 -notebook==6.5.5 +notebook==6.5.6 notebook-shim==0.2.3 overrides==7.4.0 packaging==23.1 @@ -120,7 +120,7 @@ pure-eval==0.2.2 pybtex==0.24.0 pybtex-docutils==1.0.3 pycparser==2.21 -pydata-sphinx-theme==0.13.3 +pydata-sphinx-theme==0.14.1 pydot==1.4.2 pygments==2.16.1 pyparsing==3.1.1 @@ -132,7 +132,7 @@ pytest-xdist==3.3.1 python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 -python-lsp-jsonrpc==1.1.0 +python-lsp-jsonrpc==1.1.2 python-lsp-server==1.8.0 pytoolconfig==1.2.5 pyyaml==6.0.1 @@ -142,8 +142,8 @@ requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.9.0 -rpds-py==0.10.2 -ruff==0.0.287 ; python_version >= "3.7.0" +rpds-py==0.10.3 +ruff==0.0.291 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -167,7 +167,7 @@ sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.6 sphinxcontrib-serializinghtml==1.1.9 sphobjinv==2.3.1 -sqlalchemy==2.0.20 +sqlalchemy==2.0.21 stack-data==0.6.2 tabulate==0.9.0 terminado==0.17.1 @@ -176,28 +176,28 @@ tomli==2.0.1 tornado==6.3.3 tox==4.11.3 tqdm==4.66.1 -traitlets==5.9.0 +traitlets==5.10.1 types-docutils==0.20.0.3 types-pkg-resources==0.1.3 -types-pyyaml==6.0.12.11 -types-requests==2.31.0.2 +types-pyyaml==6.0.12.12 +types-requests==2.31.0.6 types-setuptools==68.2.0.0 types-urllib3==1.26.25.14 -typing-extensions==4.7.1 ; python_version < "3.10.0" +typing-extensions==4.8.0 ; python_version < "3.10.0" ujson==5.8.0 uri-template==1.3.0 -urllib3==2.0.4 +urllib3==2.0.5 virtualenv==20.24.5 wcwidth==0.2.6 webcolors==1.13 webencodings==0.5.1 -websocket-client==1.6.2 +websocket-client==1.6.3 wheel==0.41.2 -widgetsnbextension==4.0.8 +widgetsnbextension==4.0.9 wrapt==1.15.0 y-py==0.6.0 ypy-websocket==0.8.4 -zipp==3.16.2 +zipp==3.17.0 # The following packages are considered to be unsafe in a requirements file: # setuptools diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8b4863d6..7fa4ab2b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -67,7 +67,7 @@ repos: - --fix - repo: https://github.com/psf/black - rev: 23.9.0 + rev: 23.9.1 hooks: - id: black @@ -106,7 +106,7 @@ repos: )$ - repo: https://github.com/igorshubovych/markdownlint-cli - rev: v0.36.0 + rev: v0.37.0 hooks: - id: markdownlint @@ -150,19 +150,19 @@ repos: - id: prettier - repo: https://github.com/ComPWA/mirrors-pyright - rev: v1.1.326 + rev: v1.1.328 hooks: - id: pyright - repo: https://github.com/asottile/pyupgrade - rev: v3.10.1 + rev: v3.13.0 hooks: - id: pyupgrade args: - --py36-plus - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.0.287 + rev: v0.0.291 hooks: - id: ruff args: From 01088e1855b74c4d243040fed083eeb3814cd82a Mon Sep 17 00:00:00 2001 From: GitHub Date: Wed, 27 Sep 2023 13:43:42 +0000 Subject: [PATCH 02/27] MAINT: update pip constraints and pre-commit --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7fa4ab2b..c737aba6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -37,7 +37,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/ComPWA/repo-maintenance - rev: 0.0.197 + rev: 0.0.198 hooks: - id: check-dev-files args: From 1a538340b9c4bd7bde32d2ea0a77dd725b3529f3 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 27 Sep 2023 13:44:14 +0000 Subject: [PATCH 03/27] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .gitignore | 1 - .gitpod.yml | 1 - .pre-commit-config.yaml | 14 ++++++-------- .vscode/extensions.json | 2 +- docs/usage/particle.ipynb | 4 +--- pyproject.toml | 3 --- 6 files changed, 8 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index 156ef1c3..a055cc01 100644 --- a/.gitignore +++ b/.gitignore @@ -47,7 +47,6 @@ pyvenv*/ !.github/*.yml !.github/*/*.yml !.gitpod.yml -!.markdownlint.json !.pre-commit-config.yaml !.readthedocs.yml !.vscode/*.json diff --git a/.gitpod.yml b/.gitpod.yml index 5afdeab6..26411c9b 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -15,7 +15,6 @@ vscode: extensions: - charliermarsh.ruff - christian-kohler.path-intellisense - - davidanson.vscode-markdownlint - eamodio.gitlens - editorconfig.editorconfig - esbenp.prettier-vscode diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c737aba6..277252a8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -56,9 +56,6 @@ repos: - repo: https://github.com/nbQA-dev/nbQA rev: 1.7.0 hooks: - - id: nbqa-black - additional_dependencies: - - black>=22.1.0 - id: nbqa-pyupgrade args: - --py36-plus @@ -70,6 +67,11 @@ repos: rev: 23.9.1 hooks: - id: black + - id: black-jupyter + args: + - --line-length=85 + types_or: + - jupyter - repo: https://github.com/asottile/blacken-docs rev: 1.16.0 @@ -105,11 +107,6 @@ repos: .*\.py )$ - - repo: https://github.com/igorshubovych/markdownlint-cli - rev: v0.37.0 - hooks: - - id: markdownlint - - repo: local hooks: - id: mypy @@ -130,6 +127,7 @@ repos: cell.attachments cell.metadata.code_folding cell.metadata.id + cell.metadata.pycharm cell.metadata.user_expressions metadata.celltoolbar metadata.colab.name diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 63f0b238..f3f38e9f 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -2,7 +2,6 @@ "recommendations": [ "charliermarsh.ruff", "christian-kohler.path-intellisense", - "davidanson.vscode-markdownlint", "eamodio.gitlens", "editorconfig.editorconfig", "esbenp.prettier-vscode", @@ -27,6 +26,7 @@ ], "unwantedRecommendations": [ "bungcip.better-toml", + "davidanson.vscode-markdownlint", "ms-python.flake8", "ms-python.isort", "ms-python.pylint", diff --git a/docs/usage/particle.ipynb b/docs/usage/particle.ipynb index 1eb2bad4..1193a647 100644 --- a/docs/usage/particle.ipynb +++ b/docs/usage/particle.ipynb @@ -206,9 +206,7 @@ "source": [ "from IPython.display import Math\n", "\n", - "sigmas = particle_db.filter(\n", - " lambda p: p.name.startswith(\"Sigma\") and p.charmness == 1\n", - ")\n", + "sigmas = particle_db.filter(lambda p: p.name.startswith(\"Sigma\") and p.charmness == 1)\n", "Math(\", \".join([p.latex for p in sigmas]))" ] }, diff --git a/pyproject.toml b/pyproject.toml index 9e54f31c..b0fd5992 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -91,9 +91,6 @@ ignore_missing_imports = true module = ["tqdm.*"] [tool.nbqa.addopts] -black = [ - "--line-length=85", -] ruff = [ "--extend-ignore=B018", "--extend-ignore=C90", From 3c8694774b1de6a038cdcf4db3f2b192ff18d529 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 27 Sep 2023 13:45:37 +0000 Subject: [PATCH 04/27] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- docs/usage/particle.ipynb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/usage/particle.ipynb b/docs/usage/particle.ipynb index 1193a647..1eb2bad4 100644 --- a/docs/usage/particle.ipynb +++ b/docs/usage/particle.ipynb @@ -206,7 +206,9 @@ "source": [ "from IPython.display import Math\n", "\n", - "sigmas = particle_db.filter(lambda p: p.name.startswith(\"Sigma\") and p.charmness == 1)\n", + "sigmas = particle_db.filter(\n", + " lambda p: p.name.startswith(\"Sigma\") and p.charmness == 1\n", + ")\n", "Math(\", \".join([p.latex for p in sigmas]))" ] }, From 34bce24216c3de32380fb0906ed3c9b1f0e5a904 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Wed, 27 Sep 2023 22:33:19 +0200 Subject: [PATCH 05/27] DOC: make Colab TOC visible by default --- .pre-commit-config.yaml | 1 + docs/usage.ipynb | 3 +++ docs/usage/conservation.ipynb | 3 +++ docs/usage/custom-topology.ipynb | 3 +++ docs/usage/ls-coupling.ipynb | 3 +++ docs/usage/particle.ipynb | 3 +++ docs/usage/reaction.ipynb | 3 +++ docs/usage/visualize.ipynb | 3 +++ 8 files changed, 22 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 277252a8..dd68d4d6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -45,6 +45,7 @@ repos: - --pin-requirements=monthly - --repo-name=qrules - --repo-title=QRules + - id: colab-toc-visible - id: fix-nbformat-version - id: format-setup-cfg - id: set-nb-cells diff --git a/docs/usage.ipynb b/docs/usage.ipynb index ff9f0a8b..346f4daf 100644 --- a/docs/usage.ipynb +++ b/docs/usage.ipynb @@ -274,6 +274,9 @@ } ], "metadata": { + "colab": { + "toc_visible": true + }, "kernelspec": { "display_name": "Python 3 (ipykernel)", "language": "python", diff --git a/docs/usage/conservation.ipynb b/docs/usage/conservation.ipynb index 4071d8f7..2c5fa46b 100644 --- a/docs/usage/conservation.ipynb +++ b/docs/usage/conservation.ipynb @@ -419,6 +419,9 @@ } ], "metadata": { + "colab": { + "toc_visible": true + }, "kernelspec": { "display_name": "Python 3 (ipykernel)", "language": "python", diff --git a/docs/usage/custom-topology.ipynb b/docs/usage/custom-topology.ipynb index fcaaa305..ce6bf16f 100644 --- a/docs/usage/custom-topology.ipynb +++ b/docs/usage/custom-topology.ipynb @@ -290,6 +290,9 @@ } ], "metadata": { + "colab": { + "toc_visible": true + }, "kernelspec": { "display_name": "Python 3 (ipykernel)", "language": "python", diff --git a/docs/usage/ls-coupling.ipynb b/docs/usage/ls-coupling.ipynb index 38b860e7..1c0dafcb 100644 --- a/docs/usage/ls-coupling.ipynb +++ b/docs/usage/ls-coupling.ipynb @@ -336,6 +336,9 @@ } ], "metadata": { + "colab": { + "toc_visible": true + }, "kernelspec": { "display_name": "Python 3 (ipykernel)", "language": "python", diff --git a/docs/usage/particle.ipynb b/docs/usage/particle.ipynb index 1eb2bad4..150754a9 100644 --- a/docs/usage/particle.ipynb +++ b/docs/usage/particle.ipynb @@ -469,6 +469,9 @@ } ], "metadata": { + "colab": { + "toc_visible": true + }, "kernelspec": { "display_name": "Python 3 (ipykernel)", "language": "python", diff --git a/docs/usage/reaction.ipynb b/docs/usage/reaction.ipynb index 503ade21..205237f2 100644 --- a/docs/usage/reaction.ipynb +++ b/docs/usage/reaction.ipynb @@ -597,6 +597,9 @@ } ], "metadata": { + "colab": { + "toc_visible": true + }, "kernelspec": { "display_name": "Python 3 (ipykernel)", "language": "python", diff --git a/docs/usage/visualize.ipynb b/docs/usage/visualize.ipynb index cf196c5c..8158c6b9 100644 --- a/docs/usage/visualize.ipynb +++ b/docs/usage/visualize.ipynb @@ -594,6 +594,9 @@ } ], "metadata": { + "colab": { + "toc_visible": true + }, "kernelspec": { "display_name": "Python 3 (ipykernel)", "language": "python", From 3bd00a1392d2b42ed530ad9f721d1f3226c0053d Mon Sep 17 00:00:00 2001 From: GitHub Date: Wed, 27 Sep 2023 20:35:20 +0000 Subject: [PATCH 06/27] MAINT: update pip constraints and pre-commit --- .constraints/py3.7.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.constraints/py3.7.txt b/.constraints/py3.7.txt index 1f7642e4..ca327b50 100644 --- a/.constraints/py3.7.txt +++ b/.constraints/py3.7.txt @@ -117,7 +117,7 @@ ptyprocess==0.7.0 pybtex==0.24.0 pybtex-docutils==1.0.3 pycparser==2.21 -pydantic==1.10.12 +pydantic==1.10.13 pydata-sphinx-theme==0.13.3 pydot==1.4.2 pygments==2.16.1 From 148695e26f669c0a01d52d92ab9b307fe660e04f Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Thu, 28 Sep 2023 11:18:37 +0200 Subject: [PATCH 07/27] MAINT: remove all `markdownlint` comments --- .cspell.json | 1 - docs/index.md | 4 ---- 2 files changed, 5 deletions(-) diff --git a/.cspell.json b/.cspell.json index cfc46695..1d563030 100644 --- a/.cspell.json +++ b/.cspell.json @@ -103,7 +103,6 @@ "kernelspec", "linkcheck", "macos", - "markdownlint", "mathrm", "maxdepth", "meijerg", diff --git a/docs/index.md b/docs/index.md index c6dd099a..5cb467f9 100644 --- a/docs/index.md +++ b/docs/index.md @@ -4,14 +4,10 @@ ``` - - [![10.5281/zenodo.5526360](https://zenodo.org/badge/doi/10.5281/zenodo.5526360.svg)](https://doi.org/10.5281/zenodo.5526360) [![Supported Python versions](https://img.shields.io/pypi/pyversions/qrules)](https://pypi.org/project/qrules) {{ '[![Google Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/ComPWA/qrules/blob/{})'.format(branch) }} {{ '[![Binder](https://static.mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/ComPWA/qrules/{}?filepath=docs/usage)'.format(branch) }} - - :::{margin} From ad11c1b4affe630326fa05398ec2ce77940bcd1b Mon Sep 17 00:00:00 2001 From: GitHub Date: Thu, 28 Sep 2023 12:05:05 +0000 Subject: [PATCH 08/27] MAINT: update pip constraints and pre-commit --- .constraints/py3.10.txt | 2 +- .constraints/py3.11.txt | 2 +- .constraints/py3.8.txt | 2 +- .constraints/py3.9.txt | 2 +- .pre-commit-config.yaml | 6 +++--- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index 507fc206..a5991556 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -141,7 +141,7 @@ referencing==0.30.2 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rope==1.9.0 +rope==1.10.0 rpds-py==0.10.3 ruff==0.0.291 ; python_version >= "3.7.0" send2trash==1.8.2 diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt index 5ecdf613..782290d4 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -140,7 +140,7 @@ referencing==0.30.2 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rope==1.9.0 +rope==1.10.0 rpds-py==0.10.3 ruff==0.0.291 ; python_version >= "3.7.0" send2trash==1.8.2 diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index e0f33d53..305b429d 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -144,7 +144,7 @@ referencing==0.30.2 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rope==1.9.0 +rope==1.10.0 rpds-py==0.10.3 ruff==0.0.291 ; python_version >= "3.7.0" send2trash==1.8.2 diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt index 73dfcc11..9120d83b 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -141,7 +141,7 @@ referencing==0.30.2 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rope==1.9.0 +rope==1.10.0 rpds-py==0.10.3 ruff==0.0.291 ; python_version >= "3.7.0" send2trash==1.8.2 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index dd68d4d6..2e5b6189 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -37,7 +37,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/ComPWA/repo-maintenance - rev: 0.0.198 + rev: 0.0.199 hooks: - id: check-dev-files args: @@ -80,7 +80,7 @@ repos: - id: blacken-docs - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.26.3 + rev: 0.27.0 hooks: - id: check-jsonschema name: Check CITATION.cff @@ -149,7 +149,7 @@ repos: - id: prettier - repo: https://github.com/ComPWA/mirrors-pyright - rev: v1.1.328 + rev: v1.1.329 hooks: - id: pyright From b69c2c3c93a51dd15f32484192c51191555a30f6 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Thu, 28 Sep 2023 17:03:43 +0200 Subject: [PATCH 09/27] MAINT: put `black-jupyter` arguments on same line --- .pre-commit-config.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2e5b6189..4b619d65 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -69,10 +69,8 @@ repos: hooks: - id: black - id: black-jupyter - args: - - --line-length=85 - types_or: - - jupyter + args: [--line-length=85] + types_or: [jupyter] - repo: https://github.com/asottile/blacken-docs rev: 1.16.0 From a8df46cb6b1482f11e573e58b9b7703bf96edb2b Mon Sep 17 00:00:00 2001 From: GitHub Date: Thu, 28 Sep 2023 15:07:21 +0000 Subject: [PATCH 10/27] MAINT: update pip constraints and pre-commit --- .constraints/py3.10.txt | 2 +- .constraints/py3.11.txt | 2 +- .constraints/py3.6.txt | 2 +- .constraints/py3.7.txt | 2 +- .constraints/py3.8.txt | 2 +- .constraints/py3.9.txt | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index a5991556..afe5cd03 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -161,7 +161,7 @@ sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.7 sphinxcontrib-bibtex==2.6.1 sphinxcontrib-devhelp==1.0.5 -sphinxcontrib-hep-pdgref==0.1.4 +sphinxcontrib-hep-pdgref==0.1.5 sphinxcontrib-htmlhelp==2.0.4 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.6 diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt index 782290d4..ebea4206 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -160,7 +160,7 @@ sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.7 sphinxcontrib-bibtex==2.6.1 sphinxcontrib-devhelp==1.0.5 -sphinxcontrib-hep-pdgref==0.1.4 +sphinxcontrib-hep-pdgref==0.1.5 sphinxcontrib-htmlhelp==2.0.4 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.6 diff --git a/.constraints/py3.6.txt b/.constraints/py3.6.txt index bd69759e..012d54ed 100644 --- a/.constraints/py3.6.txt +++ b/.constraints/py3.6.txt @@ -139,7 +139,7 @@ sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.2 sphinxcontrib-bibtex==2.5.0 sphinxcontrib-devhelp==1.0.2 -sphinxcontrib-hep-pdgref==0.1.4 +sphinxcontrib-hep-pdgref==0.1.5 sphinxcontrib-htmlhelp==2.0.0 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 diff --git a/.constraints/py3.7.txt b/.constraints/py3.7.txt index ca327b50..83d8c598 100644 --- a/.constraints/py3.7.txt +++ b/.constraints/py3.7.txt @@ -159,7 +159,7 @@ sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.2 sphinxcontrib-bibtex==2.6.1 sphinxcontrib-devhelp==1.0.2 -sphinxcontrib-hep-pdgref==0.1.4 +sphinxcontrib-hep-pdgref==0.1.5 sphinxcontrib-htmlhelp==2.0.0 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index 305b429d..7f5f7a59 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -164,7 +164,7 @@ sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.4 sphinxcontrib-bibtex==2.6.1 sphinxcontrib-devhelp==1.0.2 -sphinxcontrib-hep-pdgref==0.1.4 +sphinxcontrib-hep-pdgref==0.1.5 sphinxcontrib-htmlhelp==2.0.1 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt index 9120d83b..facc9055 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -161,7 +161,7 @@ sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.7 sphinxcontrib-bibtex==2.6.1 sphinxcontrib-devhelp==1.0.5 -sphinxcontrib-hep-pdgref==0.1.4 +sphinxcontrib-hep-pdgref==0.1.5 sphinxcontrib-htmlhelp==2.0.4 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.6 From e7897515fea820204eea15a2a76236d968f15ca2 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Thu, 28 Sep 2023 23:03:52 +0200 Subject: [PATCH 11/27] DX: remove GitHub Issue templates --- .github/ISSUE_TEMPLATE/bug_report.md | 32 ----------------------- .github/ISSUE_TEMPLATE/feature_request.md | 22 ---------------- .github/pull_request_template.md | 11 -------- .pre-commit-config.yaml | 2 +- 4 files changed, 1 insertion(+), 66 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md delete mode 100644 .github/pull_request_template.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index d0cc61cd..00000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: "" -labels: Bug -assignees: "" ---- - -## Bug description - - - - - -## How to reproduce? - -Steps to reproduce the behavior: - -1. - -## Expected behavior - - - -## System info - -Bug resulted on the following system: - -- OS: -- Version -- Python version: -- Virtual environment: diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 049eb32b..00000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project -title: "" -labels: "✨ Enhancement" -assignees: "" ---- - -## Problem description - - - -## Proposed solution - - - - - - - diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md deleted file mode 100644 index 14b80852..00000000 --- a/.github/pull_request_template.md +++ /dev/null @@ -1,11 +0,0 @@ - - - - - diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4b619d65..ec35eb5c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -37,7 +37,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/ComPWA/repo-maintenance - rev: 0.0.199 + rev: 0.0.200 hooks: - id: check-dev-files args: From d06457eb18e84086c259f40a1eb14ca3a48c7883 Mon Sep 17 00:00:00 2001 From: GitHub Date: Thu, 28 Sep 2023 21:06:00 +0000 Subject: [PATCH 12/27] MAINT: update pip constraints and pre-commit --- .constraints/py3.10.txt | 2 +- .constraints/py3.11.txt | 2 +- .constraints/py3.8.txt | 2 +- .constraints/py3.9.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index afe5cd03..3e82141e 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -21,7 +21,7 @@ black==23.9.1 bleach==6.0.0 cachetools==5.3.1 certifi==2023.7.22 -cffi==1.15.1 +cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.2.0 diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt index ebea4206..29ae3233 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -21,7 +21,7 @@ black==23.9.1 bleach==6.0.0 cachetools==5.3.1 certifi==2023.7.22 -cffi==1.15.1 +cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.2.0 diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index 7f5f7a59..e858fc9f 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -21,7 +21,7 @@ black==23.9.1 bleach==6.0.0 cachetools==5.3.1 certifi==2023.7.22 -cffi==1.15.1 +cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.2.0 diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt index facc9055..39faec52 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -21,7 +21,7 @@ black==23.9.1 bleach==6.0.0 cachetools==5.3.1 certifi==2023.7.22 -cffi==1.15.1 +cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.2.0 From a1832461293578fb0eeb57c8252b1c2aeebe6c7f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 1 Oct 2023 14:05:07 +0200 Subject: [PATCH 13/27] build(deps): bump actions/checkout from 3 to 4 (#231) Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/pr-linting.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-linting.yml b/.github/workflows/pr-linting.yml index 07dac37d..2b50020b 100644 --- a/.github/workflows/pr-linting.yml +++ b/.github/workflows/pr-linting.yml @@ -28,7 +28,7 @@ jobs: name: Check title runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Dependencies run: npm install @commitlint/config-conventional - uses: JulienKode/pull-request-name-linter-action@v0.5.0 From 4338bff8ceb7b06be718918c0228fb0e6ce00000 Mon Sep 17 00:00:00 2001 From: GitHub Date: Sun, 1 Oct 2023 12:07:09 +0000 Subject: [PATCH 14/27] MAINT: update pip constraints and pre-commit --- .constraints/py3.10.txt | 22 +++++++++++----------- .constraints/py3.11.txt | 22 +++++++++++----------- .constraints/py3.6.txt | 2 +- .constraints/py3.7.txt | 11 +++++------ .constraints/py3.8.txt | 22 +++++++++++----------- .constraints/py3.9.txt | 22 +++++++++++----------- .pre-commit-config.yaml | 4 ++-- 7 files changed, 52 insertions(+), 53 deletions(-) diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index 3e82141e..18ec907f 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -11,7 +11,7 @@ alabaster==0.7.13 anyio==4.0.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 -arrow==1.2.3 +arrow==1.3.0 asttokens==2.4.0 attrs==23.1.0 babel==2.12.1 @@ -24,7 +24,7 @@ certifi==2023.7.22 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 -charset-normalizer==3.2.0 +charset-normalizer==3.3.0 click==8.1.7 colorama==0.4.6 comm==0.1.4 @@ -39,21 +39,21 @@ docutils==0.17.1 entrypoints==0.4 exceptiongroup==1.1.3 execnet==2.0.2 -executing==1.2.0 -fastjsonschema==2.18.0 +executing==2.0.0 +fastjsonschema==2.18.1 filelock==3.12.4 fqdn==1.5.1 gprof2dot==2022.7.29 graphviz==0.20.1 greenlet==2.0.2 hepunits==2.3.2 -identify==2.5.29 +identify==2.5.30 idna==3.4 imagesize==1.4.1 importlib-metadata==6.8.0 iniconfig==2.0.0 ipykernel==6.25.2 -ipython==8.15.0 +ipython==8.16.0 ipython-genutils==0.2.0 ipywidgets==8.1.1 isoduration==20.11.0 @@ -87,7 +87,7 @@ markupsafe==2.1.3 matplotlib-inline==0.1.6 mdit-py-plugins==0.3.5 mdurl==0.1.2 -mistune==3.0.1 +mistune==3.0.2 mypy==1.5.1 mypy-extensions==1.0.0 myst-nb==0.17.2 @@ -168,7 +168,7 @@ sphinxcontrib-qthelp==1.0.6 sphinxcontrib-serializinghtml==1.1.9 sphobjinv==2.3.1 sqlalchemy==2.0.21 -stack-data==0.6.2 +stack-data==0.6.3 tabulate==0.9.0 terminado==0.17.1 tinycss2==1.2.1 @@ -179,16 +179,16 @@ tqdm==4.66.1 traitlets==5.10.1 types-docutils==0.20.0.3 types-pkg-resources==0.1.3 +types-python-dateutil==2.8.19.14 types-pyyaml==6.0.12.12 -types-requests==2.31.0.6 +types-requests==2.31.0.7 types-setuptools==68.2.0.0 -types-urllib3==1.26.25.14 typing-extensions==4.8.0 ujson==5.8.0 uri-template==1.3.0 urllib3==2.0.5 virtualenv==20.24.5 -wcwidth==0.2.6 +wcwidth==0.2.8 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.3 diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt index 29ae3233..bb82a0a4 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -11,7 +11,7 @@ alabaster==0.7.13 anyio==4.0.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 -arrow==1.2.3 +arrow==1.3.0 asttokens==2.4.0 attrs==23.1.0 babel==2.12.1 @@ -24,7 +24,7 @@ certifi==2023.7.22 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 -charset-normalizer==3.2.0 +charset-normalizer==3.3.0 click==8.1.7 colorama==0.4.6 comm==0.1.4 @@ -38,21 +38,21 @@ docstring-to-markdown==0.12 docutils==0.17.1 entrypoints==0.4 execnet==2.0.2 -executing==1.2.0 -fastjsonschema==2.18.0 +executing==2.0.0 +fastjsonschema==2.18.1 filelock==3.12.4 fqdn==1.5.1 gprof2dot==2022.7.29 graphviz==0.20.1 greenlet==2.0.2 hepunits==2.3.2 -identify==2.5.29 +identify==2.5.30 idna==3.4 imagesize==1.4.1 importlib-metadata==6.8.0 iniconfig==2.0.0 ipykernel==6.25.2 -ipython==8.15.0 +ipython==8.16.0 ipython-genutils==0.2.0 ipywidgets==8.1.1 isoduration==20.11.0 @@ -86,7 +86,7 @@ markupsafe==2.1.3 matplotlib-inline==0.1.6 mdit-py-plugins==0.3.5 mdurl==0.1.2 -mistune==3.0.1 +mistune==3.0.2 mypy==1.5.1 mypy-extensions==1.0.0 myst-nb==0.17.2 @@ -167,7 +167,7 @@ sphinxcontrib-qthelp==1.0.6 sphinxcontrib-serializinghtml==1.1.9 sphobjinv==2.3.1 sqlalchemy==2.0.21 -stack-data==0.6.2 +stack-data==0.6.3 tabulate==0.9.0 terminado==0.17.1 tinycss2==1.2.1 @@ -177,16 +177,16 @@ tqdm==4.66.1 traitlets==5.10.1 types-docutils==0.20.0.3 types-pkg-resources==0.1.3 +types-python-dateutil==2.8.19.14 types-pyyaml==6.0.12.12 -types-requests==2.31.0.6 +types-requests==2.31.0.7 types-setuptools==68.2.0.0 -types-urllib3==1.26.25.14 typing-extensions==4.8.0 ujson==5.8.0 uri-template==1.3.0 urllib3==2.0.5 virtualenv==20.24.5 -wcwidth==0.2.6 +wcwidth==0.2.8 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.3 diff --git a/.constraints/py3.6.txt b/.constraints/py3.6.txt index 012d54ed..63a9cef9 100644 --- a/.constraints/py3.6.txt +++ b/.constraints/py3.6.txt @@ -165,7 +165,7 @@ typing-extensions==4.1.1 ; python_version < "3.10.0" ujson==4.3.0 urllib3==1.26.16 virtualenv==20.15.1 ; python_version < "3.7.0" -wcwidth==0.2.6 +wcwidth==0.2.8 webencodings==0.5.1 websocket-client==1.3.1 wheel==0.37.1 diff --git a/.constraints/py3.7.txt b/.constraints/py3.7.txt index 83d8c598..1de74eb4 100644 --- a/.constraints/py3.7.txt +++ b/.constraints/py3.7.txt @@ -24,7 +24,7 @@ certifi==2023.7.22 cffi==1.15.1 cfgv==3.3.1 chardet==5.2.0 -charset-normalizer==3.2.0 +charset-normalizer==3.3.0 click==8.1.7 colorama==0.4.6 comm==0.1.4 @@ -39,7 +39,7 @@ docutils==0.17.1 entrypoints==0.4 exceptiongroup==1.1.3 execnet==2.0.2 -fastjsonschema==2.18.0 +fastjsonschema==2.18.1 filelock==3.12.2 fqdn==1.5.1 gprof2dot==2022.7.29 @@ -85,7 +85,7 @@ markupsafe==2.1.3 matplotlib-inline==0.1.6 mdit-py-plugins==0.3.5 mdurl==0.1.2 -mistune==3.0.1 +mistune==3.0.2 mypy==1.4.1 mypy-extensions==1.0.0 myst-nb==0.17.2 @@ -178,15 +178,14 @@ typed-ast==1.5.5 types-docutils==0.20.0.3 types-pkg-resources==0.1.3 types-pyyaml==6.0.12.12 -types-requests==2.31.0.6 +types-requests==2.31.0.7 types-setuptools==68.2.0.0 -types-urllib3==1.26.25.14 typing-extensions==4.7.1 ; python_version < "3.10.0" ujson==5.7.0 uri-template==1.3.0 urllib3==2.0.5 virtualenv==20.24.5 -wcwidth==0.2.6 +wcwidth==0.2.8 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.1 diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index e858fc9f..fdaccc2d 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -11,7 +11,7 @@ alabaster==0.7.13 anyio==4.0.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 -arrow==1.2.3 +arrow==1.3.0 asttokens==2.4.0 attrs==23.1.0 babel==2.12.1 @@ -24,7 +24,7 @@ certifi==2023.7.22 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 -charset-normalizer==3.2.0 +charset-normalizer==3.3.0 click==8.1.7 colorama==0.4.6 comm==0.1.4 @@ -39,22 +39,22 @@ docutils==0.17.1 entrypoints==0.4 exceptiongroup==1.1.3 execnet==2.0.2 -executing==1.2.0 -fastjsonschema==2.18.0 +executing==2.0.0 +fastjsonschema==2.18.1 filelock==3.12.4 fqdn==1.5.1 gprof2dot==2022.7.29 graphviz==0.20.1 greenlet==2.0.2 hepunits==2.3.2 -identify==2.5.29 +identify==2.5.30 idna==3.4 imagesize==1.4.1 importlib-metadata==6.8.0 importlib-resources==6.1.0 iniconfig==2.0.0 ipykernel==6.25.2 -ipython==8.12.2 +ipython==8.12.3 ipython-genutils==0.2.0 ipywidgets==8.1.1 isoduration==20.11.0 @@ -88,7 +88,7 @@ markupsafe==2.1.3 matplotlib-inline==0.1.6 mdit-py-plugins==0.3.5 mdurl==0.1.2 -mistune==3.0.1 +mistune==3.0.2 mypy==1.5.1 mypy-extensions==1.0.0 myst-nb==0.17.2 @@ -171,7 +171,7 @@ sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 sphobjinv==2.3.1 sqlalchemy==2.0.21 -stack-data==0.6.2 +stack-data==0.6.3 tabulate==0.9.0 terminado==0.17.1 tinycss2==1.2.1 @@ -182,16 +182,16 @@ tqdm==4.66.1 traitlets==5.10.1 types-docutils==0.20.0.3 types-pkg-resources==0.1.3 +types-python-dateutil==2.8.19.14 types-pyyaml==6.0.12.12 -types-requests==2.31.0.6 +types-requests==2.31.0.7 types-setuptools==68.2.0.0 -types-urllib3==1.26.25.14 typing-extensions==4.8.0 ; python_version < "3.10.0" ujson==5.8.0 uri-template==1.3.0 urllib3==2.0.5 virtualenv==20.24.5 -wcwidth==0.2.6 +wcwidth==0.2.8 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.3 diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt index 39faec52..1a9da342 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -11,7 +11,7 @@ alabaster==0.7.13 anyio==4.0.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 -arrow==1.2.3 +arrow==1.3.0 asttokens==2.4.0 attrs==23.1.0 babel==2.12.1 @@ -24,7 +24,7 @@ certifi==2023.7.22 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 -charset-normalizer==3.2.0 +charset-normalizer==3.3.0 click==8.1.7 colorama==0.4.6 comm==0.1.4 @@ -39,21 +39,21 @@ docutils==0.17.1 entrypoints==0.4 exceptiongroup==1.1.3 execnet==2.0.2 -executing==1.2.0 -fastjsonschema==2.18.0 +executing==2.0.0 +fastjsonschema==2.18.1 filelock==3.12.4 fqdn==1.5.1 gprof2dot==2022.7.29 graphviz==0.20.1 greenlet==2.0.2 hepunits==2.3.2 -identify==2.5.29 +identify==2.5.30 idna==3.4 imagesize==1.4.1 importlib-metadata==6.8.0 iniconfig==2.0.0 ipykernel==6.25.2 -ipython==8.15.0 +ipython==8.16.0 ipython-genutils==0.2.0 ipywidgets==8.1.1 isoduration==20.11.0 @@ -87,7 +87,7 @@ markupsafe==2.1.3 matplotlib-inline==0.1.6 mdit-py-plugins==0.3.5 mdurl==0.1.2 -mistune==3.0.1 +mistune==3.0.2 mypy==1.5.1 mypy-extensions==1.0.0 myst-nb==0.17.2 @@ -168,7 +168,7 @@ sphinxcontrib-qthelp==1.0.6 sphinxcontrib-serializinghtml==1.1.9 sphobjinv==2.3.1 sqlalchemy==2.0.21 -stack-data==0.6.2 +stack-data==0.6.3 tabulate==0.9.0 terminado==0.17.1 tinycss2==1.2.1 @@ -179,16 +179,16 @@ tqdm==4.66.1 traitlets==5.10.1 types-docutils==0.20.0.3 types-pkg-resources==0.1.3 +types-python-dateutil==2.8.19.14 types-pyyaml==6.0.12.12 -types-requests==2.31.0.6 +types-requests==2.31.0.7 types-setuptools==68.2.0.0 -types-urllib3==1.26.25.14 typing-extensions==4.8.0 ; python_version < "3.10.0" ujson==5.8.0 uri-template==1.3.0 urllib3==2.0.5 virtualenv==20.24.5 -wcwidth==0.2.6 +wcwidth==0.2.8 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.3 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ec35eb5c..1407e5c6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -37,7 +37,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/ComPWA/repo-maintenance - rev: 0.0.200 + rev: 0.0.201 hooks: - id: check-dev-files args: @@ -91,7 +91,7 @@ repos: pass_filenames: false - repo: https://github.com/streetsidesoftware/cspell-cli - rev: v7.3.0 + rev: v7.3.1 hooks: - id: cspell From 42a0412713fccbeedf3e538201e42812cc92a584 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 1 Oct 2023 12:07:40 +0000 Subject: [PATCH 15/27] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .markdownlint.json | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 .markdownlint.json diff --git a/.markdownlint.json b/.markdownlint.json deleted file mode 100644 index 23bb7fa6..00000000 --- a/.markdownlint.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "MD013": { "line_length": 88 }, - "MD026": { "punctuation": ".,;:。,;:!" }, - "MD033": { - "allowed_elements": ["br"] - } -} From d78a136d238e87025e44fe625f1ee5b696050e80 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Mon, 2 Oct 2023 10:17:46 +0200 Subject: [PATCH 16/27] MAINT: switch to new `sphinx-hep-pdgref` --- docs/conf.py | 2 +- setup.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 12961f41..8fbe095f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -174,10 +174,10 @@ def fetch_logo(url: str, output_path: str) -> None: "sphinx_comments", "sphinx_copybutton", "sphinx_design", + "sphinx_hep_pdgref", "sphinx_thebe", "sphinx_togglebutton", "sphinxcontrib.bibtex", - "sphinxcontrib.hep.pdgref", ] exclude_patterns = [ "**.ipynb_checkpoints", diff --git a/setup.cfg b/setup.cfg index 526ba77f..db11bce4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -70,10 +70,10 @@ doc = sphinx-comments sphinx-copybutton sphinx-design + sphinx-hep-pdgref sphinx-thebe sphinx-togglebutton sphinxcontrib-bibtex >=2 - sphinxcontrib-hep-pdgref sphobjinv test = importlib-metadata; python_version <"3.8.0" From ad6d66c37a9405f7de9c64e68348442d61c127fd Mon Sep 17 00:00:00 2001 From: GitHub Date: Mon, 2 Oct 2023 08:20:33 +0000 Subject: [PATCH 17/27] MAINT: update pip constraints and pre-commit --- .constraints/py3.10.txt | 4 ++-- .constraints/py3.11.txt | 4 ++-- .constraints/py3.6.txt | 2 +- .constraints/py3.7.txt | 4 ++-- .constraints/py3.8.txt | 4 ++-- .constraints/py3.9.txt | 4 ++-- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index 18ec907f..5181a51b 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -102,7 +102,7 @@ nodeenv==1.8.0 notebook==6.5.6 notebook-shim==0.2.3 overrides==7.4.0 -packaging==23.1 +packaging==23.2 pandocfilters==1.5.0 parso==0.8.3 particle==0.23.0 @@ -156,12 +156,12 @@ sphinx-codeautolink==0.15.0 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-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.7 sphinxcontrib-bibtex==2.6.1 sphinxcontrib-devhelp==1.0.5 -sphinxcontrib-hep-pdgref==0.1.5 sphinxcontrib-htmlhelp==2.0.4 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.6 diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt index bb82a0a4..dc2428e4 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -101,7 +101,7 @@ nodeenv==1.8.0 notebook==6.5.6 notebook-shim==0.2.3 overrides==7.4.0 -packaging==23.1 +packaging==23.2 pandocfilters==1.5.0 parso==0.8.3 particle==0.23.0 @@ -155,12 +155,12 @@ sphinx-codeautolink==0.15.0 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-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.7 sphinxcontrib-bibtex==2.6.1 sphinxcontrib-devhelp==1.0.5 -sphinxcontrib-hep-pdgref==0.1.5 sphinxcontrib-htmlhelp==2.0.4 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.6 diff --git a/.constraints/py3.6.txt b/.constraints/py3.6.txt index 63a9cef9..d89d35e5 100644 --- a/.constraints/py3.6.txt +++ b/.constraints/py3.6.txt @@ -134,12 +134,12 @@ sphinx-codeautolink==0.12.1 sphinx-comments==0.0.3 sphinx-copybutton==0.5.0 sphinx-design==0.0.13 +sphinx-hep-pdgref==0.2.0 sphinx-thebe==0.2.1 sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.2 sphinxcontrib-bibtex==2.5.0 sphinxcontrib-devhelp==1.0.2 -sphinxcontrib-hep-pdgref==0.1.5 sphinxcontrib-htmlhelp==2.0.0 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 diff --git a/.constraints/py3.7.txt b/.constraints/py3.7.txt index 1de74eb4..5539f656 100644 --- a/.constraints/py3.7.txt +++ b/.constraints/py3.7.txt @@ -99,7 +99,7 @@ nest-asyncio==1.5.8 nodeenv==1.8.0 notebook==6.5.6 notebook-shim==0.2.3 -packaging==23.1 +packaging==23.2 pandocfilters==1.5.0 parso==0.8.3 particle==0.23.0 @@ -154,12 +154,12 @@ sphinx-codeautolink==0.15.0 sphinx-comments==0.0.3 sphinx-copybutton==0.5.2 sphinx-design==0.4.1 +sphinx-hep-pdgref==0.2.0 sphinx-thebe==0.2.1 sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.2 sphinxcontrib-bibtex==2.6.1 sphinxcontrib-devhelp==1.0.2 -sphinxcontrib-hep-pdgref==0.1.5 sphinxcontrib-htmlhelp==2.0.0 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index fdaccc2d..4a09296f 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -103,7 +103,7 @@ nodeenv==1.8.0 notebook==6.5.6 notebook-shim==0.2.3 overrides==7.4.0 -packaging==23.1 +packaging==23.2 pandocfilters==1.5.0 parso==0.8.3 particle==0.23.0 @@ -159,12 +159,12 @@ sphinx-codeautolink==0.15.0 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-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.4 sphinxcontrib-bibtex==2.6.1 sphinxcontrib-devhelp==1.0.2 -sphinxcontrib-hep-pdgref==0.1.5 sphinxcontrib-htmlhelp==2.0.1 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt index 1a9da342..46ee4c76 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -102,7 +102,7 @@ nodeenv==1.8.0 notebook==6.5.6 notebook-shim==0.2.3 overrides==7.4.0 -packaging==23.1 +packaging==23.2 pandocfilters==1.5.0 parso==0.8.3 particle==0.23.0 @@ -156,12 +156,12 @@ sphinx-codeautolink==0.15.0 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-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.7 sphinxcontrib-bibtex==2.6.1 sphinxcontrib-devhelp==1.0.5 -sphinxcontrib-hep-pdgref==0.1.5 sphinxcontrib-htmlhelp==2.0.4 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.6 From b9fe21b3ed2b9b0477cfb6d717bd50fe66b797c3 Mon Sep 17 00:00:00 2001 From: GitHub Date: Tue, 3 Oct 2023 19:48:06 +0000 Subject: [PATCH 18/27] MAINT: update pip constraints and pre-commit --- .constraints/py3.10.txt | 20 ++++++++++---------- .constraints/py3.11.txt | 20 ++++++++++---------- .constraints/py3.6.txt | 2 +- .constraints/py3.7.txt | 10 +++++----- .constraints/py3.8.txt | 18 +++++++++--------- .constraints/py3.9.txt | 20 ++++++++++---------- .pre-commit-config.yaml | 6 +++--- 7 files changed, 48 insertions(+), 48 deletions(-) diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index 5181a51b..1916992f 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -14,7 +14,7 @@ argon2-cffi-bindings==21.2.0 arrow==1.3.0 asttokens==2.4.0 attrs==23.1.0 -babel==2.12.1 +babel==2.13.0 backcall==0.2.0 beautifulsoup4==4.12.2 black==23.9.1 @@ -28,7 +28,7 @@ charset-normalizer==3.3.0 click==8.1.7 colorama==0.4.6 comm==0.1.4 -coverage==7.3.1 +coverage==7.3.2 debugpy==1.8.0 decorator==5.1.1 defusedxml==0.7.1 @@ -45,7 +45,7 @@ filelock==3.12.4 fqdn==1.5.1 gprof2dot==2022.7.29 graphviz==0.20.1 -greenlet==2.0.2 +greenlet==3.0.0 hepunits==2.3.2 identify==2.5.30 idna==3.4 @@ -53,11 +53,11 @@ imagesize==1.4.1 importlib-metadata==6.8.0 iniconfig==2.0.0 ipykernel==6.25.2 -ipython==8.16.0 +ipython==8.16.1 ipython-genutils==0.2.0 ipywidgets==8.1.1 isoduration==20.11.0 -jedi==0.19.0 +jedi==0.19.1 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 @@ -96,7 +96,7 @@ nbclassic==1.0.0 nbclient==0.6.8 nbconvert==7.8.0 nbformat==5.9.2 -nbmake==1.4.3 +nbmake==1.4.5 nest-asyncio==1.5.8 nodeenv==1.8.0 notebook==6.5.6 @@ -109,7 +109,7 @@ particle==0.23.0 pathspec==0.11.2 pexpect==4.8.0 pickleshare==0.7.5 -platformdirs==3.10.0 +platformdirs==3.11.0 pluggy==1.3.0 pre-commit==3.4.0 prometheus-client==0.17.1 @@ -143,7 +143,7 @@ rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.10.0 rpds-py==0.10.3 -ruff==0.0.291 ; python_version >= "3.7.0" +ruff==0.0.292 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -176,7 +176,7 @@ tomli==2.0.1 tornado==6.3.3 tox==4.11.3 tqdm==4.66.1 -traitlets==5.10.1 +traitlets==5.11.1 types-docutils==0.20.0.3 types-pkg-resources==0.1.3 types-python-dateutil==2.8.19.14 @@ -186,7 +186,7 @@ types-setuptools==68.2.0.0 typing-extensions==4.8.0 ujson==5.8.0 uri-template==1.3.0 -urllib3==2.0.5 +urllib3==2.0.6 virtualenv==20.24.5 wcwidth==0.2.8 webcolors==1.13 diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt index dc2428e4..e21f557c 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -14,7 +14,7 @@ argon2-cffi-bindings==21.2.0 arrow==1.3.0 asttokens==2.4.0 attrs==23.1.0 -babel==2.12.1 +babel==2.13.0 backcall==0.2.0 beautifulsoup4==4.12.2 black==23.9.1 @@ -28,7 +28,7 @@ charset-normalizer==3.3.0 click==8.1.7 colorama==0.4.6 comm==0.1.4 -coverage==7.3.1 +coverage==7.3.2 debugpy==1.8.0 decorator==5.1.1 defusedxml==0.7.1 @@ -44,7 +44,7 @@ filelock==3.12.4 fqdn==1.5.1 gprof2dot==2022.7.29 graphviz==0.20.1 -greenlet==2.0.2 +greenlet==3.0.0 hepunits==2.3.2 identify==2.5.30 idna==3.4 @@ -52,11 +52,11 @@ imagesize==1.4.1 importlib-metadata==6.8.0 iniconfig==2.0.0 ipykernel==6.25.2 -ipython==8.16.0 +ipython==8.16.1 ipython-genutils==0.2.0 ipywidgets==8.1.1 isoduration==20.11.0 -jedi==0.19.0 +jedi==0.19.1 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 @@ -95,7 +95,7 @@ nbclassic==1.0.0 nbclient==0.6.8 nbconvert==7.8.0 nbformat==5.9.2 -nbmake==1.4.3 +nbmake==1.4.5 nest-asyncio==1.5.8 nodeenv==1.8.0 notebook==6.5.6 @@ -108,7 +108,7 @@ particle==0.23.0 pathspec==0.11.2 pexpect==4.8.0 pickleshare==0.7.5 -platformdirs==3.10.0 +platformdirs==3.11.0 pluggy==1.3.0 pre-commit==3.4.0 prometheus-client==0.17.1 @@ -142,7 +142,7 @@ rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.10.0 rpds-py==0.10.3 -ruff==0.0.291 ; python_version >= "3.7.0" +ruff==0.0.292 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -174,7 +174,7 @@ tinycss2==1.2.1 tornado==6.3.3 tox==4.11.3 tqdm==4.66.1 -traitlets==5.10.1 +traitlets==5.11.1 types-docutils==0.20.0.3 types-pkg-resources==0.1.3 types-python-dateutil==2.8.19.14 @@ -184,7 +184,7 @@ types-setuptools==68.2.0.0 typing-extensions==4.8.0 ujson==5.8.0 uri-template==1.3.0 -urllib3==2.0.5 +urllib3==2.0.6 virtualenv==20.24.5 wcwidth==0.2.8 webcolors==1.13 diff --git a/.constraints/py3.6.txt b/.constraints/py3.6.txt index d89d35e5..89b538d8 100644 --- a/.constraints/py3.6.txt +++ b/.constraints/py3.6.txt @@ -163,7 +163,7 @@ types-setuptools==68.2.0.0 types-urllib3==1.26.25.14 typing-extensions==4.1.1 ; python_version < "3.10.0" ujson==4.3.0 -urllib3==1.26.16 +urllib3==1.26.17 virtualenv==20.15.1 ; python_version < "3.7.0" wcwidth==0.2.8 webencodings==0.5.1 diff --git a/.constraints/py3.7.txt b/.constraints/py3.7.txt index 5539f656..5127211a 100644 --- a/.constraints/py3.7.txt +++ b/.constraints/py3.7.txt @@ -13,7 +13,7 @@ argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.2.3 attrs==23.1.0 -babel==2.12.1 +babel==2.13.0 backcall==0.2.0 beautifulsoup4==4.12.2 black==23.3.0 @@ -44,7 +44,7 @@ filelock==3.12.2 fqdn==1.5.1 gprof2dot==2022.7.29 graphviz==0.20.1 -greenlet==2.0.2 +greenlet==3.0.0 hepunits==2.3.2 identify==2.5.24 idna==3.4 @@ -107,7 +107,7 @@ pathspec==0.11.2 pexpect==4.8.0 pickleshare==0.7.5 pkgutil-resolve-name==1.3.10 -platformdirs==3.10.0 +platformdirs==3.11.0 pluggy==1.2.0 pre-commit==2.21.0 prometheus-client==0.17.1 @@ -141,7 +141,7 @@ requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.9.0 -ruff==0.0.291 ; python_version >= "3.7.0" +ruff==0.0.292 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -183,7 +183,7 @@ types-setuptools==68.2.0.0 typing-extensions==4.7.1 ; python_version < "3.10.0" ujson==5.7.0 uri-template==1.3.0 -urllib3==2.0.5 +urllib3==2.0.6 virtualenv==20.24.5 wcwidth==0.2.8 webcolors==1.13 diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index 4a09296f..e01c7398 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -14,7 +14,7 @@ argon2-cffi-bindings==21.2.0 arrow==1.3.0 asttokens==2.4.0 attrs==23.1.0 -babel==2.12.1 +babel==2.13.0 backcall==0.2.0 beautifulsoup4==4.12.2 black==23.9.1 @@ -28,7 +28,7 @@ charset-normalizer==3.3.0 click==8.1.7 colorama==0.4.6 comm==0.1.4 -coverage==7.3.1 +coverage==7.3.2 debugpy==1.8.0 decorator==5.1.1 defusedxml==0.7.1 @@ -45,7 +45,7 @@ filelock==3.12.4 fqdn==1.5.1 gprof2dot==2022.7.29 graphviz==0.20.1 -greenlet==2.0.2 +greenlet==3.0.0 hepunits==2.3.2 identify==2.5.30 idna==3.4 @@ -58,7 +58,7 @@ ipython==8.12.3 ipython-genutils==0.2.0 ipywidgets==8.1.1 isoduration==20.11.0 -jedi==0.19.0 +jedi==0.19.1 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 @@ -97,7 +97,7 @@ nbclassic==1.0.0 nbclient==0.6.8 nbconvert==7.8.0 nbformat==5.9.2 -nbmake==1.4.3 +nbmake==1.4.5 nest-asyncio==1.5.8 nodeenv==1.8.0 notebook==6.5.6 @@ -111,7 +111,7 @@ pathspec==0.11.2 pexpect==4.8.0 pickleshare==0.7.5 pkgutil-resolve-name==1.3.10 -platformdirs==3.10.0 +platformdirs==3.11.0 pluggy==1.3.0 pre-commit==3.4.0 prometheus-client==0.17.1 @@ -146,7 +146,7 @@ rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.10.0 rpds-py==0.10.3 -ruff==0.0.291 ; python_version >= "3.7.0" +ruff==0.0.292 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -179,7 +179,7 @@ tomli==2.0.1 tornado==6.3.3 tox==4.11.3 tqdm==4.66.1 -traitlets==5.10.1 +traitlets==5.11.1 types-docutils==0.20.0.3 types-pkg-resources==0.1.3 types-python-dateutil==2.8.19.14 @@ -189,7 +189,7 @@ types-setuptools==68.2.0.0 typing-extensions==4.8.0 ; python_version < "3.10.0" ujson==5.8.0 uri-template==1.3.0 -urllib3==2.0.5 +urllib3==2.0.6 virtualenv==20.24.5 wcwidth==0.2.8 webcolors==1.13 diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt index 46ee4c76..4a92035b 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -14,7 +14,7 @@ argon2-cffi-bindings==21.2.0 arrow==1.3.0 asttokens==2.4.0 attrs==23.1.0 -babel==2.12.1 +babel==2.13.0 backcall==0.2.0 beautifulsoup4==4.12.2 black==23.9.1 @@ -28,7 +28,7 @@ charset-normalizer==3.3.0 click==8.1.7 colorama==0.4.6 comm==0.1.4 -coverage==7.3.1 +coverage==7.3.2 debugpy==1.8.0 decorator==5.1.1 defusedxml==0.7.1 @@ -45,7 +45,7 @@ filelock==3.12.4 fqdn==1.5.1 gprof2dot==2022.7.29 graphviz==0.20.1 -greenlet==2.0.2 +greenlet==3.0.0 hepunits==2.3.2 identify==2.5.30 idna==3.4 @@ -53,11 +53,11 @@ imagesize==1.4.1 importlib-metadata==6.8.0 iniconfig==2.0.0 ipykernel==6.25.2 -ipython==8.16.0 +ipython==8.16.1 ipython-genutils==0.2.0 ipywidgets==8.1.1 isoduration==20.11.0 -jedi==0.19.0 +jedi==0.19.1 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 @@ -96,7 +96,7 @@ nbclassic==1.0.0 nbclient==0.6.8 nbconvert==7.8.0 nbformat==5.9.2 -nbmake==1.4.3 +nbmake==1.4.5 nest-asyncio==1.5.8 nodeenv==1.8.0 notebook==6.5.6 @@ -109,7 +109,7 @@ particle==0.23.0 pathspec==0.11.2 pexpect==4.8.0 pickleshare==0.7.5 -platformdirs==3.10.0 +platformdirs==3.11.0 pluggy==1.3.0 pre-commit==3.4.0 prometheus-client==0.17.1 @@ -143,7 +143,7 @@ rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.10.0 rpds-py==0.10.3 -ruff==0.0.291 ; python_version >= "3.7.0" +ruff==0.0.292 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -176,7 +176,7 @@ tomli==2.0.1 tornado==6.3.3 tox==4.11.3 tqdm==4.66.1 -traitlets==5.10.1 +traitlets==5.11.1 types-docutils==0.20.0.3 types-pkg-resources==0.1.3 types-python-dateutil==2.8.19.14 @@ -186,7 +186,7 @@ types-setuptools==68.2.0.0 typing-extensions==4.8.0 ; python_version < "3.10.0" ujson==5.8.0 uri-template==1.3.0 -urllib3==2.0.5 +urllib3==2.0.6 virtualenv==20.24.5 wcwidth==0.2.8 webcolors==1.13 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1407e5c6..3058965d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -37,7 +37,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/ComPWA/repo-maintenance - rev: 0.0.201 + rev: 0.0.202 hooks: - id: check-dev-files args: @@ -152,14 +152,14 @@ repos: - id: pyright - repo: https://github.com/asottile/pyupgrade - rev: v3.13.0 + rev: v3.14.0 hooks: - id: pyupgrade args: - --py36-plus - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.0.291 + rev: v0.0.292 hooks: - id: ruff args: From 74a5bd3ddabb99e92ea67556e6f72749a849b5a2 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 3 Oct 2023 19:48:30 +0000 Subject: [PATCH 19/27] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .pre-commit-config.yaml | 7 +++++++ .taplo.toml | 3 +++ pyproject.toml | 14 ++++++++++++++ 3 files changed, 24 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3058965d..926f5f62 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -169,3 +169,10 @@ repos: rev: v0.8.1 hooks: - id: taplo + + - repo: https://github.com/pappasam/toml-sort + rev: PLEASE-UPDATE + hooks: + - id: toml-sort + args: + - --in-place diff --git a/.taplo.toml b/.taplo.toml index f5caabee..424b7469 100644 --- a/.taplo.toml +++ b/.taplo.toml @@ -6,11 +6,14 @@ exclude = [ ] [formatting] +align_comments = false align_entries = false +allowed_blank_lines = 1 array_auto_collapse = false array_auto_expand = true array_trailing_comma = true column_width = 88 +compact_inline_tables = true indent_string = " " reorder_arrays = true reorder_keys = true diff --git a/pyproject.toml b/pyproject.toml index b0fd5992..898d6e2c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -239,3 +239,17 @@ task-tags = ["cspell"] [tool.ruff.pydocstyle] convention = "google" + +[tool.tomlsort] +all = false +ignore_case = true +in_place = true +sort_first = [ + "build-system", + "project", + "tool.setuptools", + "tool.setuptools_scm", +] +sort_table_keys = true +spaces_indent_inline_array = 4 +trailing_comma_inline_array = true From f3f2fa7296355f2fae7967a53da5966f9f10b867 Mon Sep 17 00:00:00 2001 From: GitHub Date: Tue, 3 Oct 2023 19:54:17 +0000 Subject: [PATCH 20/27] MAINT: update pip constraints and pre-commit --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 926f5f62..2acaed01 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -171,7 +171,7 @@ repos: - id: taplo - repo: https://github.com/pappasam/toml-sort - rev: PLEASE-UPDATE + rev: v0.23.1 hooks: - id: toml-sort args: From dae02609af7c48bda4d74898f355ba39a39fa0eb Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Mon, 9 Oct 2023 16:11:18 +0200 Subject: [PATCH 21/27] MAINT: autoupdate pre-commit config --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2acaed01..9c3ed64a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: - id: check-useless-excludes - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.5.0 hooks: - id: check-ast - id: check-case-conflict @@ -37,7 +37,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/ComPWA/repo-maintenance - rev: 0.0.202 + rev: 0.1.0rc5 hooks: - id: check-dev-files args: @@ -147,12 +147,12 @@ repos: - id: prettier - repo: https://github.com/ComPWA/mirrors-pyright - rev: v1.1.329 + rev: v1.1.330 hooks: - id: pyright - repo: https://github.com/asottile/pyupgrade - rev: v3.14.0 + rev: v3.15.0 hooks: - id: pyupgrade args: From 9cb1eaad78af276e958f19a3bf8056011ad01c51 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Mon, 9 Oct 2023 16:12:39 +0200 Subject: [PATCH 22/27] DX: synchronize ComPWA developer setup --- .cspell.json | 18 +----------------- .github/workflows/pr-linting.yml | 21 ++++++++++----------- .github/workflows/release-drafter.yml | 2 +- .taplo.toml | 7 ------- .vscode/settings.json | 8 +++++--- commitlint.config.js | 11 ----------- 6 files changed, 17 insertions(+), 50 deletions(-) delete mode 100644 commitlint.config.js diff --git a/.cspell.json b/.cspell.json index 1d563030..e813606c 100644 --- a/.cspell.json +++ b/.cspell.json @@ -15,37 +15,21 @@ "transisions" ], "ignorePaths": [ + "**/*.bib", "**/.cspell.json", - "*.bib", - "*.ico", - "*.root", - "*.rst_t", - "*.svg", - "*particle*.*ml", ".constraints/*.txt", ".editorconfig", ".gitignore", ".gitpod.*", - ".mypy.ini", ".pre-commit-config.yaml", ".prettierignore", ".readthedocs.yml", ".vscode/*", - ".vscode/.gitignore", "CITATION.cff", "codecov.yml", - "Dockerfile", "docs/_templates/*", - "docs/adr/*/*", "docs/conf.py", - "labels.toml", - "Makefile", - "Manifest.toml", - "Project.toml", "pyproject.toml", - "pyrightconfig.json", - "pytest.ini", - "requirements*.txt", "setup.cfg", "setup.py", "tox.ini", diff --git a/.github/workflows/pr-linting.yml b/.github/workflows/pr-linting.yml index 2b50020b..cd3bb74f 100644 --- a/.github/workflows/pr-linting.yml +++ b/.github/workflows/pr-linting.yml @@ -1,5 +1,3 @@ -# cspell:ignore agilepathway commitlint kode - name: PR linting on: pull_request: @@ -14,21 +12,22 @@ on: jobs: check-labels: name: Check labels - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - - uses: docker://agilepathway/pull-request-label-checker:latest + - uses: docker://agilepathway/pull-request-label-checker:latest # cspell:ignore agilepathway with: any_of: >- - 🐛 Bug,📝 Docs,🖱️ DX,⚙️ Enhancement,✨ Feature,⚠️ Interface,🔨 Maintenance - none_of: >- - Epic,💫 Good first issue,❌ Won't fix + 🐛 Bug,✨ Feature,⚙️ Enhancement,⚠️ Interface,❗ Behavior,📝 Docs,🔨 Maintenance,🖱️ DX + none_of: Epic,💫 Good first issue repo_token: ${{ secrets.GITHUB_TOKEN }} check-title: name: Check title - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - - name: Install Dependencies - run: npm install @commitlint/config-conventional - - uses: JulienKode/pull-request-name-linter-action@v0.5.0 + - run: npm install @compwa/commitlint-config + - name: Create commitlint config + run: | + echo "module.exports = {extends: ['@compwa/commitlint-config']}" > commitlint.config.js + - uses: JulienKode/pull-request-name-linter-action@v0.5.0 # cspell:ignore kode diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index d54187de..d64f197b 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -9,7 +9,7 @@ on: jobs: update_release_draft: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: release-drafter/release-drafter@v5 env: diff --git a/.taplo.toml b/.taplo.toml index 424b7469..0db1df7c 100644 --- a/.taplo.toml +++ b/.taplo.toml @@ -1,10 +1,3 @@ -exclude = [ - "**/Cargo.toml", - "**/Manifest.toml", - "**/Project.toml", - "labels*.toml", -] - [formatting] align_comments = false align_entries = false diff --git a/.vscode/settings.json b/.vscode/settings.json index 500ca3d1..87530ea2 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -3,6 +3,7 @@ "editor.formatOnSave": false }, "[git-commit]": { + "editor.rulers": [72], "rewrap.wrappingColumn": 72 }, "[json]": { @@ -19,7 +20,8 @@ "editor.codeActionsOnSave": { "source.organizeImports": true }, - "editor.defaultFormatter": "ms-python.black-formatter" + "editor.defaultFormatter": "ms-python.black-formatter", + "editor.rulers": [88] }, "[yaml]": { "editor.defaultFormatter": "esbenp.prettier-vscode" @@ -31,7 +33,6 @@ "coverage-gutters.showLineCoverage": true, "cSpell.enabled": true, "editor.formatOnSave": true, - "editor.rulers": [88], "files.watcherExclude": { "**/*_cache/**": true, "**/.eggs/**": true, @@ -51,8 +52,9 @@ } ], "livePreview.defaultPreviewPath": "docs/_build/html", - "mypy-type-checker.args": ["--config-file", "pyproject.toml"], + "mypy-type-checker.args": ["--config-file=${workspaceFolder}/pyproject.toml"], "mypy-type-checker.importStrategy": "fromEnvironment", + "notebook.gotoSymbols.showAllSymbols": true, "python.analysis.autoImportCompletions": false, "python.analysis.inlayHints.pytestParameters": true, "python.analysis.typeCheckingMode": "strict", diff --git a/commitlint.config.js b/commitlint.config.js deleted file mode 100644 index d8b6bdcd..00000000 --- a/commitlint.config.js +++ /dev/null @@ -1,11 +0,0 @@ -module.exports = { - extends: ["@commitlint/config-conventional"], - rules: { - "type-case": [2, "always", ["upper-case"]], - "type-enum": [ - 2, - "always", - ["BEHAVIOR", "BREAK", "DOC", "DX", "ENH", "FEAT", "FIX", "MAINT"], - ], - }, -}; From 14919acbc5696ec8df25e6ab380838b859fad1c9 Mon Sep 17 00:00:00 2001 From: GitHub Date: Mon, 9 Oct 2023 14:15:55 +0000 Subject: [PATCH 23/27] MAINT: update pip constraints and pre-commit --- .constraints/py3.10.txt | 34 ++++++++++++---------------------- .constraints/py3.11.txt | 34 ++++++++++++---------------------- .constraints/py3.7.txt | 2 +- .constraints/py3.8.txt | 34 ++++++++++++---------------------- .constraints/py3.9.txt | 34 ++++++++++++---------------------- 5 files changed, 49 insertions(+), 89 deletions(-) diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index 1916992f..461ff896 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -5,20 +5,19 @@ # pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.10.txt --strip-extras # accessible-pygments==0.0.4 -aiofiles==22.1.0 -aiosqlite==0.19.0 alabaster==0.7.13 anyio==4.0.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 asttokens==2.4.0 +async-lru==2.0.4 attrs==23.1.0 babel==2.13.0 backcall==0.2.0 beautifulsoup4==4.12.2 black==23.9.1 -bleach==6.0.0 +bleach==6.1.0 cachetools==5.3.1 certifi==2023.7.22 cffi==1.16.0 @@ -36,7 +35,6 @@ deprecated==1.2.14 distlib==0.3.7 docstring-to-markdown==0.12 docutils==0.17.1 -entrypoints==0.4 exceptiongroup==1.1.3 execnet==2.0.2 executing==2.0.0 @@ -54,7 +52,6 @@ importlib-metadata==6.8.0 iniconfig==2.0.0 ipykernel==6.25.2 ipython==8.16.1 -ipython-genutils==0.2.0 ipywidgets==8.1.1 isoduration==20.11.0 jedi==0.19.1 @@ -64,18 +61,15 @@ jsonpointer==2.4 jsonschema==4.19.1 jsonschema-specifications==2023.7.1 jupyter-cache==0.6.1 -jupyter-client==7.4.9 +jupyter-client==8.3.1 jupyter-core==5.3.2 jupyter-events==0.7.0 jupyter-lsp==2.2.0 jupyter-server==2.7.3 -jupyter-server-fileid==0.9.0 jupyter-server-terminals==0.4.4 -jupyter-server-ydoc==0.8.0 -jupyter-ydoc==0.2.5 -jupyterlab==3.6.6 +jupyterlab==4.0.6 jupyterlab-code-formatter==2.2.1 -jupyterlab-lsp==4.3.0 +jupyterlab-lsp==5.0.0 jupyterlab-myst==2.0.2 ; python_version >= "3.7.0" jupyterlab-pygments==0.2.2 jupyterlab-server==2.25.0 @@ -92,14 +86,12 @@ mypy==1.5.1 mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 -nbclassic==1.0.0 nbclient==0.6.8 -nbconvert==7.8.0 +nbconvert==7.9.2 nbformat==5.9.2 nbmake==1.4.5 nest-asyncio==1.5.8 nodeenv==1.8.0 -notebook==6.5.6 notebook-shim==0.2.3 overrides==7.4.0 packaging==23.2 @@ -133,16 +125,16 @@ python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-server==1.8.0 +python-lsp-server==1.8.1 pytoolconfig==1.2.5 pyyaml==6.0.1 -pyzmq==24.0.1 +pyzmq==25.1.1 referencing==0.30.2 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.10.0 -rpds-py==0.10.3 +rpds-py==0.10.4 ruff==0.0.292 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 @@ -176,12 +168,12 @@ tomli==2.0.1 tornado==6.3.3 tox==4.11.3 tqdm==4.66.1 -traitlets==5.11.1 +traitlets==5.11.2 types-docutils==0.20.0.3 types-pkg-resources==0.1.3 types-python-dateutil==2.8.19.14 types-pyyaml==6.0.12.12 -types-requests==2.31.0.7 +types-requests==2.31.0.8 types-setuptools==68.2.0.0 typing-extensions==4.8.0 ujson==5.8.0 @@ -191,12 +183,10 @@ virtualenv==20.24.5 wcwidth==0.2.8 webcolors==1.13 webencodings==0.5.1 -websocket-client==1.6.3 +websocket-client==1.6.4 wheel==0.41.2 widgetsnbextension==4.0.9 wrapt==1.15.0 -y-py==0.6.0 -ypy-websocket==0.8.4 zipp==3.17.0 # The following packages are considered to be unsafe in a requirements file: diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt index e21f557c..7b0c9680 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -5,20 +5,19 @@ # pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.11.txt --strip-extras # accessible-pygments==0.0.4 -aiofiles==22.1.0 -aiosqlite==0.19.0 alabaster==0.7.13 anyio==4.0.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 asttokens==2.4.0 +async-lru==2.0.4 attrs==23.1.0 babel==2.13.0 backcall==0.2.0 beautifulsoup4==4.12.2 black==23.9.1 -bleach==6.0.0 +bleach==6.1.0 cachetools==5.3.1 certifi==2023.7.22 cffi==1.16.0 @@ -36,7 +35,6 @@ deprecated==1.2.14 distlib==0.3.7 docstring-to-markdown==0.12 docutils==0.17.1 -entrypoints==0.4 execnet==2.0.2 executing==2.0.0 fastjsonschema==2.18.1 @@ -53,7 +51,6 @@ importlib-metadata==6.8.0 iniconfig==2.0.0 ipykernel==6.25.2 ipython==8.16.1 -ipython-genutils==0.2.0 ipywidgets==8.1.1 isoduration==20.11.0 jedi==0.19.1 @@ -63,18 +60,15 @@ jsonpointer==2.4 jsonschema==4.19.1 jsonschema-specifications==2023.7.1 jupyter-cache==0.6.1 -jupyter-client==7.4.9 +jupyter-client==8.3.1 jupyter-core==5.3.2 jupyter-events==0.7.0 jupyter-lsp==2.2.0 jupyter-server==2.7.3 -jupyter-server-fileid==0.9.0 jupyter-server-terminals==0.4.4 -jupyter-server-ydoc==0.8.0 -jupyter-ydoc==0.2.5 -jupyterlab==3.6.6 +jupyterlab==4.0.6 jupyterlab-code-formatter==2.2.1 -jupyterlab-lsp==4.3.0 +jupyterlab-lsp==5.0.0 jupyterlab-myst==2.0.2 ; python_version >= "3.7.0" jupyterlab-pygments==0.2.2 jupyterlab-server==2.25.0 @@ -91,14 +85,12 @@ mypy==1.5.1 mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 -nbclassic==1.0.0 nbclient==0.6.8 -nbconvert==7.8.0 +nbconvert==7.9.2 nbformat==5.9.2 nbmake==1.4.5 nest-asyncio==1.5.8 nodeenv==1.8.0 -notebook==6.5.6 notebook-shim==0.2.3 overrides==7.4.0 packaging==23.2 @@ -132,16 +124,16 @@ python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-server==1.8.0 +python-lsp-server==1.8.1 pytoolconfig==1.2.5 pyyaml==6.0.1 -pyzmq==24.0.1 +pyzmq==25.1.1 referencing==0.30.2 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.10.0 -rpds-py==0.10.3 +rpds-py==0.10.4 ruff==0.0.292 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 @@ -174,12 +166,12 @@ tinycss2==1.2.1 tornado==6.3.3 tox==4.11.3 tqdm==4.66.1 -traitlets==5.11.1 +traitlets==5.11.2 types-docutils==0.20.0.3 types-pkg-resources==0.1.3 types-python-dateutil==2.8.19.14 types-pyyaml==6.0.12.12 -types-requests==2.31.0.7 +types-requests==2.31.0.8 types-setuptools==68.2.0.0 typing-extensions==4.8.0 ujson==5.8.0 @@ -189,12 +181,10 @@ virtualenv==20.24.5 wcwidth==0.2.8 webcolors==1.13 webencodings==0.5.1 -websocket-client==1.6.3 +websocket-client==1.6.4 wheel==0.41.2 widgetsnbextension==4.0.9 wrapt==1.15.0 -y-py==0.6.0 -ypy-websocket==0.8.4 zipp==3.17.0 # The following packages are considered to be unsafe in a requirements file: diff --git a/.constraints/py3.7.txt b/.constraints/py3.7.txt index 5127211a..b7ad97fd 100644 --- a/.constraints/py3.7.txt +++ b/.constraints/py3.7.txt @@ -178,7 +178,7 @@ typed-ast==1.5.5 types-docutils==0.20.0.3 types-pkg-resources==0.1.3 types-pyyaml==6.0.12.12 -types-requests==2.31.0.7 +types-requests==2.31.0.8 types-setuptools==68.2.0.0 typing-extensions==4.7.1 ; python_version < "3.10.0" ujson==5.7.0 diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index e01c7398..d03e8dca 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -5,20 +5,19 @@ # pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.8.txt --strip-extras # accessible-pygments==0.0.4 -aiofiles==22.1.0 -aiosqlite==0.19.0 alabaster==0.7.13 anyio==4.0.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 asttokens==2.4.0 +async-lru==2.0.4 attrs==23.1.0 babel==2.13.0 backcall==0.2.0 beautifulsoup4==4.12.2 black==23.9.1 -bleach==6.0.0 +bleach==6.1.0 cachetools==5.3.1 certifi==2023.7.22 cffi==1.16.0 @@ -36,7 +35,6 @@ deprecated==1.2.14 distlib==0.3.7 docstring-to-markdown==0.12 docutils==0.17.1 -entrypoints==0.4 exceptiongroup==1.1.3 execnet==2.0.2 executing==2.0.0 @@ -55,7 +53,6 @@ importlib-resources==6.1.0 iniconfig==2.0.0 ipykernel==6.25.2 ipython==8.12.3 -ipython-genutils==0.2.0 ipywidgets==8.1.1 isoduration==20.11.0 jedi==0.19.1 @@ -65,18 +62,15 @@ jsonpointer==2.4 jsonschema==4.19.1 jsonschema-specifications==2023.7.1 jupyter-cache==0.6.1 -jupyter-client==7.4.9 +jupyter-client==8.3.1 jupyter-core==5.3.2 jupyter-events==0.7.0 jupyter-lsp==2.2.0 jupyter-server==2.7.3 -jupyter-server-fileid==0.9.0 jupyter-server-terminals==0.4.4 -jupyter-server-ydoc==0.8.0 -jupyter-ydoc==0.2.5 -jupyterlab==3.6.6 +jupyterlab==4.0.6 jupyterlab-code-formatter==2.2.1 -jupyterlab-lsp==4.3.0 +jupyterlab-lsp==5.0.0 jupyterlab-myst==2.0.2 ; python_version >= "3.7.0" jupyterlab-pygments==0.2.2 jupyterlab-server==2.25.0 @@ -93,14 +87,12 @@ mypy==1.5.1 mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 -nbclassic==1.0.0 nbclient==0.6.8 -nbconvert==7.8.0 +nbconvert==7.9.2 nbformat==5.9.2 nbmake==1.4.5 nest-asyncio==1.5.8 nodeenv==1.8.0 -notebook==6.5.6 notebook-shim==0.2.3 overrides==7.4.0 packaging==23.2 @@ -135,17 +127,17 @@ python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-server==1.8.0 +python-lsp-server==1.8.1 pytoolconfig==1.2.5 pytz==2023.3.post1 pyyaml==6.0.1 -pyzmq==24.0.1 +pyzmq==25.1.1 referencing==0.30.2 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.10.0 -rpds-py==0.10.3 +rpds-py==0.10.4 ruff==0.0.292 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 @@ -179,12 +171,12 @@ tomli==2.0.1 tornado==6.3.3 tox==4.11.3 tqdm==4.66.1 -traitlets==5.11.1 +traitlets==5.11.2 types-docutils==0.20.0.3 types-pkg-resources==0.1.3 types-python-dateutil==2.8.19.14 types-pyyaml==6.0.12.12 -types-requests==2.31.0.7 +types-requests==2.31.0.8 types-setuptools==68.2.0.0 typing-extensions==4.8.0 ; python_version < "3.10.0" ujson==5.8.0 @@ -194,12 +186,10 @@ virtualenv==20.24.5 wcwidth==0.2.8 webcolors==1.13 webencodings==0.5.1 -websocket-client==1.6.3 +websocket-client==1.6.4 wheel==0.41.2 widgetsnbextension==4.0.9 wrapt==1.15.0 -y-py==0.6.0 -ypy-websocket==0.8.4 zipp==3.17.0 # The following packages are considered to be unsafe in a requirements file: diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt index 4a92035b..f5d389be 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -5,20 +5,19 @@ # pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.9.txt --strip-extras # accessible-pygments==0.0.4 -aiofiles==22.1.0 -aiosqlite==0.19.0 alabaster==0.7.13 anyio==4.0.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 asttokens==2.4.0 +async-lru==2.0.4 attrs==23.1.0 babel==2.13.0 backcall==0.2.0 beautifulsoup4==4.12.2 black==23.9.1 -bleach==6.0.0 +bleach==6.1.0 cachetools==5.3.1 certifi==2023.7.22 cffi==1.16.0 @@ -36,7 +35,6 @@ deprecated==1.2.14 distlib==0.3.7 docstring-to-markdown==0.12 docutils==0.17.1 -entrypoints==0.4 exceptiongroup==1.1.3 execnet==2.0.2 executing==2.0.0 @@ -54,7 +52,6 @@ importlib-metadata==6.8.0 iniconfig==2.0.0 ipykernel==6.25.2 ipython==8.16.1 -ipython-genutils==0.2.0 ipywidgets==8.1.1 isoduration==20.11.0 jedi==0.19.1 @@ -64,18 +61,15 @@ jsonpointer==2.4 jsonschema==4.19.1 jsonschema-specifications==2023.7.1 jupyter-cache==0.6.1 -jupyter-client==7.4.9 +jupyter-client==8.3.1 jupyter-core==5.3.2 jupyter-events==0.7.0 jupyter-lsp==2.2.0 jupyter-server==2.7.3 -jupyter-server-fileid==0.9.0 jupyter-server-terminals==0.4.4 -jupyter-server-ydoc==0.8.0 -jupyter-ydoc==0.2.5 -jupyterlab==3.6.6 +jupyterlab==4.0.6 jupyterlab-code-formatter==2.2.1 -jupyterlab-lsp==4.3.0 +jupyterlab-lsp==5.0.0 jupyterlab-myst==2.0.2 ; python_version >= "3.7.0" jupyterlab-pygments==0.2.2 jupyterlab-server==2.25.0 @@ -92,14 +86,12 @@ mypy==1.5.1 mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 -nbclassic==1.0.0 nbclient==0.6.8 -nbconvert==7.8.0 +nbconvert==7.9.2 nbformat==5.9.2 nbmake==1.4.5 nest-asyncio==1.5.8 nodeenv==1.8.0 -notebook==6.5.6 notebook-shim==0.2.3 overrides==7.4.0 packaging==23.2 @@ -133,16 +125,16 @@ python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-server==1.8.0 +python-lsp-server==1.8.1 pytoolconfig==1.2.5 pyyaml==6.0.1 -pyzmq==24.0.1 +pyzmq==25.1.1 referencing==0.30.2 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.10.0 -rpds-py==0.10.3 +rpds-py==0.10.4 ruff==0.0.292 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 @@ -176,12 +168,12 @@ tomli==2.0.1 tornado==6.3.3 tox==4.11.3 tqdm==4.66.1 -traitlets==5.11.1 +traitlets==5.11.2 types-docutils==0.20.0.3 types-pkg-resources==0.1.3 types-python-dateutil==2.8.19.14 types-pyyaml==6.0.12.12 -types-requests==2.31.0.7 +types-requests==2.31.0.8 types-setuptools==68.2.0.0 typing-extensions==4.8.0 ; python_version < "3.10.0" ujson==5.8.0 @@ -191,12 +183,10 @@ virtualenv==20.24.5 wcwidth==0.2.8 webcolors==1.13 webencodings==0.5.1 -websocket-client==1.6.3 +websocket-client==1.6.4 wheel==0.41.2 widgetsnbextension==4.0.9 wrapt==1.15.0 -y-py==0.6.0 -ypy-websocket==0.8.4 zipp==3.17.0 # The following packages are considered to be unsafe in a requirements file: From ece83a94b6688dda0b3ff2b0846a3043b75b3992 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Mon, 9 Oct 2023 17:04:01 +0200 Subject: [PATCH 24/27] DX: remove `.prettierrc` --- .pre-commit-config.yaml | 3 ++- .prettierrc | 1 - .vscode/settings.json | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) delete mode 100644 .prettierrc diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9c3ed64a..79a7f769 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -37,11 +37,12 @@ repos: - id: trailing-whitespace - repo: https://github.com/ComPWA/repo-maintenance - rev: 0.1.0rc5 + rev: 0.1.0rc6 hooks: - id: check-dev-files args: - --doc-apt-packages=graphviz + - --no-prettierrc - --pin-requirements=monthly - --repo-name=qrules - --repo-title=QRules diff --git a/.prettierrc b/.prettierrc deleted file mode 100644 index ca09957f..00000000 --- a/.prettierrc +++ /dev/null @@ -1 +0,0 @@ -printWidth: 88 diff --git a/.vscode/settings.json b/.vscode/settings.json index 87530ea2..22f1c923 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -13,8 +13,7 @@ "editor.defaultFormatter": "esbenp.prettier-vscode" }, "[markdown]": { - "editor.defaultFormatter": "esbenp.prettier-vscode", - "editor.wordWrap": "off" + "editor.defaultFormatter": "esbenp.prettier-vscode" }, "[python]": { "editor.codeActionsOnSave": { From d9a3b60998e7b611c360916e9880834f8a447d0d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 9 Oct 2023 15:05:40 +0000 Subject: [PATCH 25/27] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- docs/_templates/genindex.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/_templates/genindex.html b/docs/_templates/genindex.html index abea27ff..21849ec3 100644 --- a/docs/_templates/genindex.html +++ b/docs/_templates/genindex.html @@ -7,11 +7,12 @@ {%- for ismain, link in links[1:] -%} , {% if ismain %}{% endif -%} [{{ loop.index }}] {%- if ismain %}{% - endif -%} + >{% if ismain %}{% endif -%} [{{ loop.index }}] {%- if ismain %}{% endif -%} -{%- endfor %} {%- else %} {{ firstname|e }} {%- endif %} {% endmacro %} {%- extends -"layout.html" %} {% set title = _('Index') %} {% block body %} +{%- endfor %} {%- else %} {{ firstname|e }} {%- endif %} {% endmacro %} {%- +extends "layout.html" %} {% set title = _('Index') %} {% block body %}

{{ _('Index') }}

From f43aec793701734868555c3f2a68481e43172b26 Mon Sep 17 00:00:00 2001 From: GitHub Date: Mon, 9 Oct 2023 15:09:07 +0000 Subject: [PATCH 26/27] MAINT: update pip constraints and pre-commit --- .constraints/py3.10.txt | 2 +- .constraints/py3.11.txt | 2 +- .constraints/py3.8.txt | 2 +- .constraints/py3.9.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index 461ff896..5b27d720 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -125,7 +125,7 @@ python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-server==1.8.1 +python-lsp-server==1.8.2 pytoolconfig==1.2.5 pyyaml==6.0.1 pyzmq==25.1.1 diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt index 7b0c9680..ab61a5ab 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -124,7 +124,7 @@ python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-server==1.8.1 +python-lsp-server==1.8.2 pytoolconfig==1.2.5 pyyaml==6.0.1 pyzmq==25.1.1 diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index d03e8dca..47e7170c 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -127,7 +127,7 @@ python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-server==1.8.1 +python-lsp-server==1.8.2 pytoolconfig==1.2.5 pytz==2023.3.post1 pyyaml==6.0.1 diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt index f5d389be..4dd0278b 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -125,7 +125,7 @@ python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-server==1.8.1 +python-lsp-server==1.8.2 pytoolconfig==1.2.5 pyyaml==6.0.1 pyzmq==25.1.1 From d56393df8c9eec7b40df88f7c706f07b7f39fec7 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Mon, 9 Oct 2023 17:42:37 +0200 Subject: [PATCH 27/27] MAINT: autoupdate pre-commit config --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 79a7f769..0b207414 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -37,7 +37,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/ComPWA/repo-maintenance - rev: 0.1.0rc6 + rev: 0.1.0 hooks: - id: check-dev-files args: