From 8c7a092b94d2f04fedc26c8efcfbc2604ac4f0b5 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Sat, 9 Sep 2023 23:17:45 +0200 Subject: [PATCH] DX: enable language navigation on Jupyter Lab (#77) * MAINT: apply new black formatting * MAINT: update pip constraints and pre-commit --------- Co-authored-by: GitHub Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .constraints/py3.10.txt | 183 +++++++++++++++++++------------------- .constraints/py3.11.txt | 167 ++++++++++++++++++----------------- .constraints/py3.7.txt | 85 +++++++++--------- .constraints/py3.8.txt | 169 ++++++++++++++++++----------------- .constraints/py3.9.txt | 185 +++++++++++++++++++-------------------- .cspell.json | 2 +- .github/workflows/ci.yml | 3 + .gitignore | 1 + .gitpod.yml | 1 + .pre-commit-config.yaml | 16 ++-- .vscode/extensions.json | 1 + .vscode/settings.json | 10 +-- setup.cfg | 2 + 13 files changed, 413 insertions(+), 412 deletions(-) diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index c45f29a1..aa6db2e3 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -2,101 +2,101 @@ # This file is autogenerated by pip-compile with Python 3.10 # by the following command: # -# pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.10.txt --strip-extras setup.py +# pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.10.txt --strip-extras # absl-py==1.4.0 accessible-pygments==0.0.4 alabaster==0.7.13 ampform==0.14.6 -anyio==3.7.1 -argon2-cffi==21.3.0 +anyio==4.0.0 +argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.2.3 -asttokens==2.2.1 +asttokens==2.4.0 astunparse==1.6.3 -async-lru==2.0.2 +async-lru==2.0.4 attrs==23.1.0 babel==2.12.1 backcall==0.2.0 beautifulsoup4==4.12.2 -black==23.3.0 +black==23.7.0 bleach==6.0.0 cachetools==5.3.1 -certifi==2023.5.7 +certifi==2023.7.22 cffi==1.15.1 -cfgv==3.3.1 -chardet==5.1.0 -charset-normalizer==3.1.0 -click==8.1.4 +cfgv==3.4.0 +chardet==5.2.0 +charset-normalizer==3.2.0 +click==8.1.7 cloudpickle==2.2.1 colorama==0.4.6 -comm==0.1.3 +comm==0.1.4 contourpy==1.1.0 -coverage==7.2.7 +coverage==7.3.1 cycler==0.11.0 -debugpy==1.6.7 +debugpy==1.6.7.post1 decorator==5.1.1 defusedxml==0.7.1 deprecated==1.2.14 -distlib==0.3.6 +distlib==0.3.7 dm-tree==0.1.8 -docutils==0.19 -exceptiongroup==1.1.2 -execnet==1.9.0 +docutils==0.17.1 +exceptiongroup==1.1.3 +execnet==2.0.2 executing==1.2.0 -fastjsonschema==2.17.1 -filelock==3.12.2 +fastjsonschema==2.18.0 +filelock==3.12.3 flatbuffers==23.5.26 -fonttools==4.40.0 +fonttools==4.42.1 fqdn==1.5.1 gast==0.4.0 -google-auth==2.21.0 +google-auth==2.22.0 google-auth-oauthlib==1.0.0 google-pasta==0.2.0 graphviz==0.20.1 greenlet==2.0.2 -grpcio==1.56.0 +grpcio==1.57.0 h5py==3.9.0 hepunits==2.3.2 -identify==2.5.24 +identify==2.5.27 idna==3.4 imagesize==1.4.1 -iminuit==2.22.0 -importlib-metadata==6.7.0 +iminuit==2.24.0 +importlib-metadata==6.8.0 iniconfig==2.0.0 -ipykernel==6.24.0 +ipykernel==6.25.2 ipympl==0.9.3 -ipython==8.14.0 +ipython==8.15.0 ipython-genutils==0.2.0 -ipywidgets==8.0.7 +ipywidgets==8.1.0 isoduration==20.11.0 -jax==0.4.13 -jaxlib==0.4.13 -jedi==0.18.2 +jax==0.4.14 +jaxlib==0.4.14 +jedi==0.19.0 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 -jsonschema==4.18.0 -jsonschema-specifications==2023.6.1 +jsonschema==4.19.0 +jsonschema-specifications==2023.7.1 jupyter-cache==0.6.1 -jupyter-client==8.3.0 +jupyter-client==8.3.1 jupyter-core==5.3.1 -jupyter-events==0.6.3 +jupyter-events==0.7.0 jupyter-lsp==2.2.0 -jupyter-server==2.7.0 +jupyter-server==2.7.3 jupyter-server-terminals==0.4.4 -jupyterlab==4.0.2 +jupyterlab==4.0.5 jupyterlab-code-formatter==2.2.1 -jupyterlab-myst==2.0.1 +jupyterlab-myst==2.0.2 jupyterlab-pygments==0.2.2 -jupyterlab-server==2.23.0 +jupyterlab-server==2.24.0 jupyterlab-widgets==3.0.8 -keras==2.13.1 -kiwisolver==1.4.4 +keras==2.12.0 +kiwisolver==1.4.5 latexcodec==2.0.1 -libclang==16.0.0 +libclang==16.0.6 livereload==2.6.3 -markdown==3.4.3 +markdown==3.4.4 markdown-it-py==2.2.0 markupsafe==2.1.3 matplotlib==3.7.2 @@ -110,113 +110,112 @@ mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 nbclient==0.6.8 -nbconvert==7.6.0 -nbformat==5.9.0 -nbmake==1.4.1 -nest-asyncio==1.5.6 +nbconvert==7.8.0 +nbformat==5.9.2 +nbmake==1.4.3 +nest-asyncio==1.5.7 nodeenv==1.8.0 notebook-shim==0.2.3 -numpy==1.24.3 +numpy==1.23.5 oauthlib==3.2.2 opt-einsum==3.3.0 -overrides==7.3.1 +overrides==7.4.0 packaging==23.1 pandocfilters==1.5.0 parso==0.8.3 particle==0.23.0 -pathspec==0.11.1 +pathspec==0.11.2 pexpect==4.8.0 -phasespace==1.8.0 +phasespace==1.9.0 pickleshare==0.7.5 pillow==10.0.0 -platformdirs==3.8.1 -pluggy==1.2.0 -pre-commit==3.3.3 -prometheus-client==0.17.0 +platformdirs==3.10.0 +pluggy==1.3.0 +pre-commit==3.4.0 +prometheus-client==0.17.1 prompt-toolkit==3.0.39 -protobuf==4.23.4 +protobuf==4.24.2 psutil==5.9.5 ptyprocess==0.7.0 pure-eval==0.2.2 pyasn1==0.5.0 pyasn1-modules==0.3.0 pybtex==0.24.0 -pybtex-docutils==1.0.2 +pybtex-docutils==1.0.3 pycparser==2.21 -pydantic==1.10.11 pydata-sphinx-theme==0.13.3 -pygments==2.15.1 +pygments==2.16.1 pyparsing==3.0.9 -pyproject-api==1.5.3 -pytest==7.4.0 +pyproject-api==1.6.1 +pytest==7.4.1 pytest-cov==4.1.0 pytest-xdist==3.3.1 python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 -pyyaml==6.0 -pyzmq==25.1.0 +pyyaml==6.0.1 +pyzmq==25.1.1 qrules==0.9.8 -referencing==0.29.1 +referencing==0.30.2 requests==2.31.0 requests-oauthlib==1.3.1 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rpds-py==0.8.8 +rpds-py==0.10.2 rsa==4.9 -ruff==0.0.277 -scipy==1.11.1 +ruff==0.0.287 +scipy==1.11.2 send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 snowballstemmer==2.2.0 -soupsieve==2.4.1 +soupsieve==2.5 sphinx==5.3.0 sphinx-autobuild==2021.3.14 sphinx-book-theme==1.0.1 sphinx-codeautolink==0.15.0 sphinx-copybutton==0.5.2 -sphinx-design==0.4.1 +sphinx-design==0.5.0 sphinx-togglebutton==0.3.2 -sphinxcontrib-applehelp==1.0.4 -sphinxcontrib-bibtex==2.5.0 -sphinxcontrib-devhelp==1.0.2 -sphinxcontrib-htmlhelp==2.0.1 +sphinxcontrib-applehelp==1.0.7 +sphinxcontrib-bibtex==2.6.1 +sphinxcontrib-devhelp==1.0.5 +sphinxcontrib-htmlhelp==2.0.4 sphinxcontrib-jsmath==1.0.1 -sphinxcontrib-qthelp==1.0.3 -sphinxcontrib-serializinghtml==1.1.5 -sqlalchemy==2.0.18 +sphinxcontrib-qthelp==1.0.6 +sphinxcontrib-serializinghtml==1.1.9 +sqlalchemy==2.0.20 stack-data==0.6.2 sympy==1.12 tabulate==0.9.0 -tensorboard==2.13.0 +tensorboard==2.12.3 tensorboard-data-server==0.7.1 -tensorflow==2.13.0 -tensorflow-estimator==2.13.0 -tensorflow-io-gcs-filesystem==0.32.0 -tensorflow-probability==0.18.0 +tensorflow==2.12.0 +tensorflow-estimator==2.12.0 +tensorflow-io-gcs-filesystem==0.33.0 +tensorflow-probability==0.20.1 tensorwaves==0.4.10 termcolor==2.3.0 terminado==0.17.1 tinycss2==1.2.1 tomli==2.0.1 -tornado==6.3.2 -tox==4.6.4 -tqdm==4.65.0 +tornado==6.3.3 +tox==4.11.1 +tqdm==4.66.1 traitlets==5.9.0 -typing-extensions==4.5.0 +typing-extensions==4.7.1 uri-template==1.3.0 urllib3==1.26.16 -virtualenv==20.23.1 +virtualenv==20.24.4 wcwidth==0.2.6 webcolors==1.13 webencodings==0.5.1 -websocket-client==1.6.1 -werkzeug==2.3.6 -wheel==0.40.0 +websocket-client==1.6.2 +werkzeug==2.3.7 +wheel==0.41.2 widgetsnbextension==4.0.8 -wrapt==1.15.0 -zipp==3.15.0 +wrapt==1.14.1 +zipp==3.16.2 # 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 6fbcf73f..f6e9138a 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -2,100 +2,100 @@ # This file is autogenerated by pip-compile with Python 3.11 # by the following command: # -# pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.11.txt --strip-extras setup.py +# pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.11.txt --strip-extras # absl-py==1.4.0 accessible-pygments==0.0.4 alabaster==0.7.13 ampform==0.14.6 -anyio==3.7.1 -argon2-cffi==21.3.0 +anyio==4.0.0 +argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.2.3 -asttokens==2.2.1 +asttokens==2.4.0 astunparse==1.6.3 -async-lru==2.0.2 +async-lru==2.0.4 attrs==23.1.0 babel==2.12.1 backcall==0.2.0 beautifulsoup4==4.12.2 -black==23.3.0 +black==23.7.0 bleach==6.0.0 cachetools==5.3.1 -certifi==2023.5.7 +certifi==2023.7.22 cffi==1.15.1 -cfgv==3.3.1 -chardet==5.1.0 -charset-normalizer==3.1.0 -click==8.1.4 +cfgv==3.4.0 +chardet==5.2.0 +charset-normalizer==3.2.0 +click==8.1.7 cloudpickle==2.2.1 colorama==0.4.6 -comm==0.1.3 +comm==0.1.4 contourpy==1.1.0 -coverage==7.2.7 +coverage==7.3.1 cycler==0.11.0 -debugpy==1.6.7 +debugpy==1.6.7.post1 decorator==5.1.1 defusedxml==0.7.1 deprecated==1.2.14 -distlib==0.3.6 +distlib==0.3.7 dm-tree==0.1.8 -docutils==0.19 -execnet==1.9.0 +docutils==0.17.1 +execnet==2.0.2 executing==1.2.0 -fastjsonschema==2.17.1 -filelock==3.12.2 +fastjsonschema==2.18.0 +filelock==3.12.3 flatbuffers==23.5.26 -fonttools==4.40.0 +fonttools==4.42.1 fqdn==1.5.1 gast==0.4.0 -google-auth==2.21.0 +google-auth==2.22.0 google-auth-oauthlib==1.0.0 google-pasta==0.2.0 graphviz==0.20.1 greenlet==2.0.2 -grpcio==1.56.0 +grpcio==1.57.0 h5py==3.9.0 hepunits==2.3.2 -identify==2.5.24 +identify==2.5.27 idna==3.4 imagesize==1.4.1 -iminuit==2.22.0 -importlib-metadata==6.7.0 +iminuit==2.24.0 +importlib-metadata==6.8.0 iniconfig==2.0.0 -ipykernel==6.24.0 +ipykernel==6.25.2 ipympl==0.9.3 -ipython==8.14.0 +ipython==8.15.0 ipython-genutils==0.2.0 -ipywidgets==8.0.7 +ipywidgets==8.1.0 isoduration==20.11.0 -jax==0.4.13 -jaxlib==0.4.13 -jedi==0.18.2 +jax==0.4.14 +jaxlib==0.4.14 +jedi==0.19.0 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 -jsonschema==4.18.0 -jsonschema-specifications==2023.6.1 +jsonschema==4.19.0 +jsonschema-specifications==2023.7.1 jupyter-cache==0.6.1 -jupyter-client==8.3.0 +jupyter-client==8.3.1 jupyter-core==5.3.1 -jupyter-events==0.6.3 +jupyter-events==0.7.0 jupyter-lsp==2.2.0 -jupyter-server==2.7.0 +jupyter-server==2.7.3 jupyter-server-terminals==0.4.4 -jupyterlab==4.0.2 +jupyterlab==4.0.5 jupyterlab-code-formatter==2.2.1 -jupyterlab-myst==2.0.1 +jupyterlab-myst==2.0.2 jupyterlab-pygments==0.2.2 -jupyterlab-server==2.23.0 +jupyterlab-server==2.24.0 jupyterlab-widgets==3.0.8 keras==2.13.1 -kiwisolver==1.4.4 +kiwisolver==1.4.5 latexcodec==2.0.1 -libclang==16.0.0 +libclang==16.0.6 livereload==2.6.3 -markdown==3.4.3 +markdown==3.4.4 markdown-it-py==2.2.0 markupsafe==2.1.3 matplotlib==3.7.2 @@ -109,82 +109,81 @@ mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 nbclient==0.6.8 -nbconvert==7.6.0 -nbformat==5.9.0 -nbmake==1.4.1 -nest-asyncio==1.5.6 +nbconvert==7.8.0 +nbformat==5.9.2 +nbmake==1.4.3 +nest-asyncio==1.5.7 nodeenv==1.8.0 notebook-shim==0.2.3 numpy==1.24.3 oauthlib==3.2.2 opt-einsum==3.3.0 -overrides==7.3.1 +overrides==7.4.0 packaging==23.1 pandocfilters==1.5.0 parso==0.8.3 particle==0.23.0 -pathspec==0.11.1 +pathspec==0.11.2 pexpect==4.8.0 -phasespace==1.8.0 +phasespace==1.9.0 pickleshare==0.7.5 pillow==10.0.0 -platformdirs==3.8.1 -pluggy==1.2.0 -pre-commit==3.3.3 -prometheus-client==0.17.0 +platformdirs==3.10.0 +pluggy==1.3.0 +pre-commit==3.4.0 +prometheus-client==0.17.1 prompt-toolkit==3.0.39 -protobuf==4.23.4 +protobuf==4.24.2 psutil==5.9.5 ptyprocess==0.7.0 pure-eval==0.2.2 pyasn1==0.5.0 pyasn1-modules==0.3.0 pybtex==0.24.0 -pybtex-docutils==1.0.2 +pybtex-docutils==1.0.3 pycparser==2.21 -pydantic==1.10.11 pydata-sphinx-theme==0.13.3 -pygments==2.15.1 +pygments==2.16.1 pyparsing==3.0.9 -pyproject-api==1.5.3 -pytest==7.4.0 +pyproject-api==1.6.1 +pytest==7.4.1 pytest-cov==4.1.0 pytest-xdist==3.3.1 python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 -pyyaml==6.0 -pyzmq==25.1.0 +pyyaml==6.0.1 +pyzmq==25.1.1 qrules==0.9.8 -referencing==0.29.1 +referencing==0.30.2 requests==2.31.0 requests-oauthlib==1.3.1 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rpds-py==0.8.8 +rpds-py==0.10.2 rsa==4.9 -ruff==0.0.277 -scipy==1.11.1 +ruff==0.0.287 +scipy==1.11.2 send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 snowballstemmer==2.2.0 -soupsieve==2.4.1 +soupsieve==2.5 sphinx==5.3.0 sphinx-autobuild==2021.3.14 sphinx-book-theme==1.0.1 sphinx-codeautolink==0.15.0 sphinx-copybutton==0.5.2 -sphinx-design==0.4.1 +sphinx-design==0.5.0 sphinx-togglebutton==0.3.2 -sphinxcontrib-applehelp==1.0.4 -sphinxcontrib-bibtex==2.5.0 -sphinxcontrib-devhelp==1.0.2 -sphinxcontrib-htmlhelp==2.0.1 +sphinxcontrib-applehelp==1.0.7 +sphinxcontrib-bibtex==2.6.1 +sphinxcontrib-devhelp==1.0.5 +sphinxcontrib-htmlhelp==2.0.4 sphinxcontrib-jsmath==1.0.1 -sphinxcontrib-qthelp==1.0.3 -sphinxcontrib-serializinghtml==1.1.5 -sqlalchemy==2.0.18 +sphinxcontrib-qthelp==1.0.6 +sphinxcontrib-serializinghtml==1.1.9 +sqlalchemy==2.0.20 stack-data==0.6.2 sympy==1.12 tabulate==0.9.0 @@ -192,29 +191,29 @@ tensorboard==2.13.0 tensorboard-data-server==0.7.1 tensorflow==2.13.0 tensorflow-estimator==2.13.0 -tensorflow-io-gcs-filesystem==0.32.0 -tensorflow-probability==0.18.0 +tensorflow-io-gcs-filesystem==0.33.0 +tensorflow-probability==0.21.0 tensorwaves==0.4.10 termcolor==2.3.0 terminado==0.17.1 tinycss2==1.2.1 -tornado==6.3.2 -tox==4.6.4 -tqdm==4.65.0 +tornado==6.3.3 +tox==4.11.1 +tqdm==4.66.1 traitlets==5.9.0 typing-extensions==4.5.0 uri-template==1.3.0 urllib3==1.26.16 -virtualenv==20.23.1 +virtualenv==20.24.4 wcwidth==0.2.6 webcolors==1.13 webencodings==0.5.1 -websocket-client==1.6.1 -werkzeug==2.3.6 -wheel==0.40.0 +websocket-client==1.6.2 +werkzeug==2.3.7 +wheel==0.41.2 widgetsnbextension==4.0.8 wrapt==1.15.0 -zipp==3.15.0 +zipp==3.16.2 # The following packages are considered to be unsafe in a requirements file: # setuptools diff --git a/.constraints/py3.7.txt b/.constraints/py3.7.txt index 635ef188..b80a1d92 100644 --- a/.constraints/py3.7.txt +++ b/.constraints/py3.7.txt @@ -2,7 +2,7 @@ # This file is autogenerated by pip-compile with Python 3.7 # by the following command: # -# pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.7.txt --strip-extras setup.py +# pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.7.txt --resolver=backtracking --strip-extras # absl-py==1.4.0 accessible-pygments==0.0.4 @@ -11,7 +11,7 @@ aiosqlite==0.19.0 alabaster==0.7.13 ampform==0.14.6 anyio==3.7.1 -argon2-cffi==21.3.0 +argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.2.3 astunparse==1.6.3 @@ -23,38 +23,39 @@ black==23.3.0 bleach==6.0.0 cached-property==1.5.2 cachetools==5.3.1 -certifi==2023.5.7 +certifi==2023.7.22 cffi==1.15.1 cfgv==3.3.1 -chardet==5.1.0 -charset-normalizer==3.1.0 -click==8.1.4 +chardet==5.2.0 +charset-normalizer==3.2.0 +click==8.1.7 cloudpickle==2.2.1 colorama==0.4.6 +comm==0.1.4 coverage==7.2.7 cycler==0.11.0 -debugpy==1.6.7 +debugpy==1.6.7.post1 decorator==5.1.1 defusedxml==0.7.1 deprecated==1.2.14 -distlib==0.3.6 +distlib==0.3.7 dm-tree==0.1.8 -docutils==0.19 +docutils==0.17.1 entrypoints==0.4 -exceptiongroup==1.1.2 -execnet==1.9.0 -fastjsonschema==2.17.1 +exceptiongroup==1.1.3 +execnet==2.0.2 +fastjsonschema==2.18.0 filelock==3.12.2 flatbuffers==23.5.26 fonttools==4.38.0 fqdn==1.5.1 gast==0.4.0 -google-auth==2.21.0 +google-auth==2.22.0 google-auth-oauthlib==0.4.6 google-pasta==0.2.0 graphviz==0.20.1 greenlet==2.0.2 -grpcio==1.56.0 +grpcio==1.57.0 h5py==3.8.0 hepunits==2.3.2 identify==2.5.24 @@ -68,11 +69,11 @@ ipykernel==6.16.2 ipympl==0.9.3 ipython==7.34.0 ipython-genutils==0.2.0 -ipywidgets==8.0.7 +ipywidgets==8.1.0 isoduration==20.11.0 jax==0.3.25 jaxlib==0.3.25 -jedi==0.18.2 +jedi==0.19.0 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 @@ -89,14 +90,14 @@ jupyterlab==3.6.5 jupyterlab-code-formatter==2.2.1 jupyterlab-myst==1.2.0 jupyterlab-pygments==0.2.2 -jupyterlab-server==2.23.0 +jupyterlab-server==2.24.0 jupyterlab-widgets==3.0.8 keras==2.11.0 -kiwisolver==1.4.4 +kiwisolver==1.4.5 latexcodec==2.0.1 -libclang==16.0.0 +libclang==16.0.6 livereload==2.6.3 -markdown==3.4.3 +markdown==3.4.4 markdown-it-py==2.2.0 markupsafe==2.1.3 matplotlib==3.5.3 @@ -113,9 +114,9 @@ nbclient==0.5.13 nbconvert==7.6.0 nbformat==5.8.0 nbmake==1.2.1 ; python_version < "3.8.0" -nest-asyncio==1.5.6 +nest-asyncio==1.5.7 nodeenv==1.8.0 -notebook==6.5.4 +notebook==6.5.5 notebook-shim==0.2.3 numpy==1.21.6 oauthlib==3.2.2 @@ -124,16 +125,16 @@ packaging==23.1 pandocfilters==1.5.0 parso==0.8.3 particle==0.23.0 -pathspec==0.11.1 +pathspec==0.11.2 pexpect==4.8.0 -phasespace==1.8.0 +phasespace==1.9.0 pickleshare==0.7.5 pillow==9.5.0 pkgutil-resolve-name==1.3.10 -platformdirs==3.8.1 +platformdirs==3.10.0 pluggy==1.2.0 pre-commit==2.21.0 -prometheus-client==0.17.0 +prometheus-client==0.17.1 prompt-toolkit==3.0.39 protobuf==3.19.6 psutil==5.9.5 @@ -141,30 +142,30 @@ ptyprocess==0.7.0 pyasn1==0.5.0 pyasn1-modules==0.3.0 pybtex==0.24.0 -pybtex-docutils==1.0.2 +pybtex-docutils==1.0.3 pycparser==2.21 -pydantic==1.10.11 +pydantic==1.10.12 pydata-sphinx-theme==0.13.3 -pygments==2.15.1 -pyparsing==3.1.0 +pygments==2.16.1 +pyparsing==3.1.1 pyproject-api==1.5.3 pyrsistent==0.19.3 -pytest==7.4.0 +pytest==7.4.1 pytest-cov==4.1.0 pytest-xdist==3.3.1 python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 -pytz==2023.3 -pyyaml==6.0 -pyzmq==25.1.0 +pytz==2023.3.post1 +pyyaml==6.0.1 +pyzmq==24.0.1 qrules==0.9.8 requests==2.31.0 requests-oauthlib==1.3.1 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rsa==4.9 -ruff==0.0.277 +ruff==0.0.287 scipy==1.7.3 send2trash==1.8.2 singledispatchmethod==1.0 @@ -180,7 +181,7 @@ sphinx-copybutton==0.5.2 sphinx-design==0.4.1 sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.2 -sphinxcontrib-bibtex==2.5.0 +sphinxcontrib-bibtex==2.6.1 sphinxcontrib-devhelp==1.0.2 sphinxcontrib-htmlhelp==2.0.0 sphinxcontrib-jsmath==1.0.1 @@ -194,28 +195,28 @@ tensorboard-data-server==0.6.1 tensorboard-plugin-wit==1.8.1 tensorflow==2.11.0 tensorflow-estimator==2.11.0 -tensorflow-io-gcs-filesystem==0.32.0 -tensorflow-probability==0.18.0 +tensorflow-io-gcs-filesystem==0.33.0 +tensorflow-probability==0.19.0 tensorwaves==0.4.10 termcolor==2.3.0 terminado==0.17.1 tinycss2==1.2.1 tomli==2.0.1 tornado==6.2 -tox==4.6.4 -tqdm==4.65.0 +tox==4.8.0 +tqdm==4.66.1 traitlets==5.9.0 typed-ast==1.5.5 typing-extensions==4.7.1 ; python_version < "3.8.0" uri-template==1.3.0 urllib3==1.26.16 -virtualenv==20.23.1 +virtualenv==20.24.4 wcwidth==0.2.6 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.1 werkzeug==2.2.3 -wheel==0.40.0 +wheel==0.41.2 widgetsnbextension==4.0.8 wrapt==1.15.0 y-py==0.5.9 diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index 0573be3c..fe723ad3 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -2,102 +2,102 @@ # This file is autogenerated by pip-compile with Python 3.8 # by the following command: # -# pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.8.txt --strip-extras setup.py +# pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.8.txt --strip-extras # absl-py==1.4.0 accessible-pygments==0.0.4 alabaster==0.7.13 ampform==0.14.6 -anyio==3.7.1 -argon2-cffi==21.3.0 +anyio==4.0.0 +argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.2.3 -asttokens==2.2.1 +asttokens==2.4.0 astunparse==1.6.3 -async-lru==2.0.2 +async-lru==2.0.4 attrs==23.1.0 babel==2.12.1 backcall==0.2.0 beautifulsoup4==4.12.2 -black==23.3.0 +black==23.7.0 bleach==6.0.0 cachetools==5.3.1 -certifi==2023.5.7 +certifi==2023.7.22 cffi==1.15.1 -cfgv==3.3.1 -chardet==5.1.0 -charset-normalizer==3.1.0 -click==8.1.4 +cfgv==3.4.0 +chardet==5.2.0 +charset-normalizer==3.2.0 +click==8.1.7 cloudpickle==2.2.1 colorama==0.4.6 -comm==0.1.3 +comm==0.1.4 contourpy==1.1.0 -coverage==7.2.7 +coverage==7.3.1 cycler==0.11.0 -debugpy==1.6.7 +debugpy==1.6.7.post1 decorator==5.1.1 defusedxml==0.7.1 deprecated==1.2.14 -distlib==0.3.6 +distlib==0.3.7 dm-tree==0.1.8 -docutils==0.19 -exceptiongroup==1.1.2 -execnet==1.9.0 +docutils==0.17.1 +exceptiongroup==1.1.3 +execnet==2.0.2 executing==1.2.0 -fastjsonschema==2.17.1 -filelock==3.12.2 +fastjsonschema==2.18.0 +filelock==3.12.3 flatbuffers==23.5.26 -fonttools==4.40.0 +fonttools==4.42.1 fqdn==1.5.1 gast==0.4.0 -google-auth==2.21.0 +google-auth==2.22.0 google-auth-oauthlib==1.0.0 google-pasta==0.2.0 graphviz==0.20.1 greenlet==2.0.2 -grpcio==1.56.0 +grpcio==1.57.0 h5py==3.9.0 hepunits==2.3.2 -identify==2.5.24 +identify==2.5.27 idna==3.4 imagesize==1.4.1 -iminuit==2.22.0 -importlib-metadata==6.7.0 -importlib-resources==5.12.0 +iminuit==2.24.0 +importlib-metadata==6.8.0 +importlib-resources==6.0.1 iniconfig==2.0.0 -ipykernel==6.24.0 +ipykernel==6.25.2 ipympl==0.9.3 ipython==8.12.2 ipython-genutils==0.2.0 -ipywidgets==8.0.7 +ipywidgets==8.1.0 isoduration==20.11.0 jax==0.4.13 jaxlib==0.4.13 -jedi==0.18.2 +jedi==0.19.0 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 -jsonschema==4.18.0 -jsonschema-specifications==2023.6.1 +jsonschema==4.19.0 +jsonschema-specifications==2023.7.1 jupyter-cache==0.6.1 -jupyter-client==8.3.0 +jupyter-client==8.3.1 jupyter-core==5.3.1 -jupyter-events==0.6.3 +jupyter-events==0.7.0 jupyter-lsp==2.2.0 -jupyter-server==2.7.0 +jupyter-server==2.7.3 jupyter-server-terminals==0.4.4 -jupyterlab==4.0.2 +jupyterlab==4.0.5 jupyterlab-code-formatter==2.2.1 -jupyterlab-myst==2.0.1 +jupyterlab-myst==2.0.2 jupyterlab-pygments==0.2.2 -jupyterlab-server==2.23.0 +jupyterlab-server==2.24.0 jupyterlab-widgets==3.0.8 -keras==2.13.1 -kiwisolver==1.4.4 +keras==2.12.0 +kiwisolver==1.4.5 latexcodec==2.0.1 -libclang==16.0.0 +libclang==16.0.6 livereload==2.6.3 -markdown==3.4.3 +markdown==3.4.4 markdown-it-py==2.2.0 markupsafe==2.1.3 matplotlib==3.7.2 @@ -111,115 +111,114 @@ mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 nbclient==0.6.8 -nbconvert==7.6.0 -nbformat==5.9.0 -nbmake==1.4.1 -nest-asyncio==1.5.6 +nbconvert==7.8.0 +nbformat==5.9.2 +nbmake==1.4.3 +nest-asyncio==1.5.7 nodeenv==1.8.0 notebook-shim==0.2.3 -numpy==1.24.3 +numpy==1.23.5 oauthlib==3.2.2 opt-einsum==3.3.0 -overrides==7.3.1 +overrides==7.4.0 packaging==23.1 pandocfilters==1.5.0 parso==0.8.3 particle==0.23.0 -pathspec==0.11.1 +pathspec==0.11.2 pexpect==4.8.0 -phasespace==1.8.0 +phasespace==1.9.0 pickleshare==0.7.5 pillow==10.0.0 pkgutil-resolve-name==1.3.10 -platformdirs==3.8.1 -pluggy==1.2.0 -pre-commit==3.3.3 -prometheus-client==0.17.0 +platformdirs==3.10.0 +pluggy==1.3.0 +pre-commit==3.4.0 +prometheus-client==0.17.1 prompt-toolkit==3.0.39 -protobuf==4.23.4 +protobuf==4.24.2 psutil==5.9.5 ptyprocess==0.7.0 pure-eval==0.2.2 pyasn1==0.5.0 pyasn1-modules==0.3.0 pybtex==0.24.0 -pybtex-docutils==1.0.2 +pybtex-docutils==1.0.3 pycparser==2.21 -pydantic==1.10.11 pydata-sphinx-theme==0.13.3 -pygments==2.15.1 +pygments==2.16.1 pyparsing==3.0.9 -pyproject-api==1.5.3 -pytest==7.4.0 +pyproject-api==1.6.1 +pytest==7.4.1 pytest-cov==4.1.0 pytest-xdist==3.3.1 python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 -pytz==2023.3 -pyyaml==6.0 -pyzmq==25.1.0 +pytz==2023.3.post1 +pyyaml==6.0.1 +pyzmq==25.1.1 qrules==0.9.8 -referencing==0.29.1 +referencing==0.30.2 requests==2.31.0 requests-oauthlib==1.3.1 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rpds-py==0.8.8 +rpds-py==0.10.2 rsa==4.9 -ruff==0.0.277 +ruff==0.0.287 scipy==1.10.1 send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 snowballstemmer==2.2.0 -soupsieve==2.4.1 +soupsieve==2.5 sphinx==5.3.0 sphinx-autobuild==2021.3.14 sphinx-book-theme==1.0.1 sphinx-codeautolink==0.15.0 sphinx-copybutton==0.5.2 -sphinx-design==0.4.1 +sphinx-design==0.5.0 sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.4 -sphinxcontrib-bibtex==2.5.0 +sphinxcontrib-bibtex==2.6.1 sphinxcontrib-devhelp==1.0.2 sphinxcontrib-htmlhelp==2.0.1 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 -sqlalchemy==2.0.18 +sqlalchemy==2.0.20 stack-data==0.6.2 sympy==1.12 tabulate==0.9.0 -tensorboard==2.13.0 +tensorboard==2.12.3 tensorboard-data-server==0.7.1 -tensorflow==2.13.0 -tensorflow-estimator==2.13.0 -tensorflow-io-gcs-filesystem==0.32.0 -tensorflow-probability==0.18.0 +tensorflow==2.12.0 +tensorflow-estimator==2.12.0 +tensorflow-io-gcs-filesystem==0.33.0 +tensorflow-probability==0.20.1 tensorwaves==0.4.10 termcolor==2.3.0 terminado==0.17.1 tinycss2==1.2.1 tomli==2.0.1 -tornado==6.3.2 -tox==4.6.4 -tqdm==4.65.0 +tornado==6.3.3 +tox==4.11.1 +tqdm==4.66.1 traitlets==5.9.0 -typing-extensions==4.5.0 +typing-extensions==4.7.1 uri-template==1.3.0 urllib3==1.26.16 -virtualenv==20.23.1 +virtualenv==20.24.4 wcwidth==0.2.6 webcolors==1.13 webencodings==0.5.1 -websocket-client==1.6.1 -werkzeug==2.3.6 -wheel==0.40.0 +websocket-client==1.6.2 +werkzeug==2.3.7 +wheel==0.41.2 widgetsnbextension==4.0.8 -wrapt==1.15.0 -zipp==3.15.0 +wrapt==1.14.1 +zipp==3.16.2 # 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 592d9108..58df9ef7 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -2,102 +2,102 @@ # This file is autogenerated by pip-compile with Python 3.9 # by the following command: # -# pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.9.txt --strip-extras setup.py +# pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.9.txt --strip-extras # absl-py==1.4.0 accessible-pygments==0.0.4 alabaster==0.7.13 ampform==0.14.6 -anyio==3.7.1 -argon2-cffi==21.3.0 +anyio==4.0.0 +argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.2.3 -asttokens==2.2.1 +asttokens==2.4.0 astunparse==1.6.3 -async-lru==2.0.2 +async-lru==2.0.4 attrs==23.1.0 babel==2.12.1 backcall==0.2.0 beautifulsoup4==4.12.2 -black==23.3.0 +black==23.7.0 bleach==6.0.0 cachetools==5.3.1 -certifi==2023.5.7 +certifi==2023.7.22 cffi==1.15.1 -cfgv==3.3.1 -chardet==5.1.0 -charset-normalizer==3.1.0 -click==8.1.4 +cfgv==3.4.0 +chardet==5.2.0 +charset-normalizer==3.2.0 +click==8.1.7 cloudpickle==2.2.1 colorama==0.4.6 -comm==0.1.3 +comm==0.1.4 contourpy==1.1.0 -coverage==7.2.7 +coverage==7.3.1 cycler==0.11.0 -debugpy==1.6.7 +debugpy==1.6.7.post1 decorator==5.1.1 defusedxml==0.7.1 deprecated==1.2.14 -distlib==0.3.6 +distlib==0.3.7 dm-tree==0.1.8 -docutils==0.19 -exceptiongroup==1.1.2 -execnet==1.9.0 +docutils==0.17.1 +exceptiongroup==1.1.3 +execnet==2.0.2 executing==1.2.0 -fastjsonschema==2.17.1 -filelock==3.12.2 +fastjsonschema==2.18.0 +filelock==3.12.3 flatbuffers==23.5.26 -fonttools==4.40.0 +fonttools==4.42.1 fqdn==1.5.1 gast==0.4.0 -google-auth==2.21.0 +google-auth==2.22.0 google-auth-oauthlib==1.0.0 google-pasta==0.2.0 graphviz==0.20.1 greenlet==2.0.2 -grpcio==1.56.0 +grpcio==1.57.0 h5py==3.9.0 hepunits==2.3.2 -identify==2.5.24 +identify==2.5.27 idna==3.4 imagesize==1.4.1 -iminuit==2.22.0 -importlib-metadata==6.7.0 -importlib-resources==5.12.0 +iminuit==2.24.0 +importlib-metadata==6.8.0 +importlib-resources==6.0.1 iniconfig==2.0.0 -ipykernel==6.24.0 +ipykernel==6.25.2 ipympl==0.9.3 -ipython==8.14.0 +ipython==8.15.0 ipython-genutils==0.2.0 -ipywidgets==8.0.7 +ipywidgets==8.1.0 isoduration==20.11.0 -jax==0.4.13 -jaxlib==0.4.13 -jedi==0.18.2 +jax==0.4.14 +jaxlib==0.4.14 +jedi==0.19.0 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 -jsonschema==4.18.0 -jsonschema-specifications==2023.6.1 +jsonschema==4.19.0 +jsonschema-specifications==2023.7.1 jupyter-cache==0.6.1 -jupyter-client==8.3.0 +jupyter-client==8.3.1 jupyter-core==5.3.1 -jupyter-events==0.6.3 +jupyter-events==0.7.0 jupyter-lsp==2.2.0 -jupyter-server==2.7.0 +jupyter-server==2.7.3 jupyter-server-terminals==0.4.4 -jupyterlab==4.0.2 +jupyterlab==4.0.5 jupyterlab-code-formatter==2.2.1 -jupyterlab-myst==2.0.1 +jupyterlab-myst==2.0.2 jupyterlab-pygments==0.2.2 -jupyterlab-server==2.23.0 +jupyterlab-server==2.24.0 jupyterlab-widgets==3.0.8 -keras==2.13.1 -kiwisolver==1.4.4 +keras==2.12.0 +kiwisolver==1.4.5 latexcodec==2.0.1 -libclang==16.0.0 +libclang==16.0.6 livereload==2.6.3 -markdown==3.4.3 +markdown==3.4.4 markdown-it-py==2.2.0 markupsafe==2.1.3 matplotlib==3.7.2 @@ -111,113 +111,112 @@ mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 nbclient==0.6.8 -nbconvert==7.6.0 -nbformat==5.9.0 -nbmake==1.4.1 -nest-asyncio==1.5.6 +nbconvert==7.8.0 +nbformat==5.9.2 +nbmake==1.4.3 +nest-asyncio==1.5.7 nodeenv==1.8.0 notebook-shim==0.2.3 -numpy==1.24.3 +numpy==1.23.5 oauthlib==3.2.2 opt-einsum==3.3.0 -overrides==7.3.1 +overrides==7.4.0 packaging==23.1 pandocfilters==1.5.0 parso==0.8.3 particle==0.23.0 -pathspec==0.11.1 +pathspec==0.11.2 pexpect==4.8.0 -phasespace==1.8.0 +phasespace==1.9.0 pickleshare==0.7.5 pillow==10.0.0 -platformdirs==3.8.1 -pluggy==1.2.0 -pre-commit==3.3.3 -prometheus-client==0.17.0 +platformdirs==3.10.0 +pluggy==1.3.0 +pre-commit==3.4.0 +prometheus-client==0.17.1 prompt-toolkit==3.0.39 -protobuf==4.23.4 +protobuf==4.24.2 psutil==5.9.5 ptyprocess==0.7.0 pure-eval==0.2.2 pyasn1==0.5.0 pyasn1-modules==0.3.0 pybtex==0.24.0 -pybtex-docutils==1.0.2 +pybtex-docutils==1.0.3 pycparser==2.21 -pydantic==1.10.11 pydata-sphinx-theme==0.13.3 -pygments==2.15.1 +pygments==2.16.1 pyparsing==3.0.9 -pyproject-api==1.5.3 -pytest==7.4.0 +pyproject-api==1.6.1 +pytest==7.4.1 pytest-cov==4.1.0 pytest-xdist==3.3.1 python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 -pyyaml==6.0 -pyzmq==25.1.0 +pyyaml==6.0.1 +pyzmq==25.1.1 qrules==0.9.8 -referencing==0.29.1 +referencing==0.30.2 requests==2.31.0 requests-oauthlib==1.3.1 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rpds-py==0.8.8 +rpds-py==0.10.2 rsa==4.9 -ruff==0.0.277 -scipy==1.11.1 +ruff==0.0.287 +scipy==1.11.2 send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 snowballstemmer==2.2.0 -soupsieve==2.4.1 +soupsieve==2.5 sphinx==5.3.0 sphinx-autobuild==2021.3.14 sphinx-book-theme==1.0.1 sphinx-codeautolink==0.15.0 sphinx-copybutton==0.5.2 -sphinx-design==0.4.1 +sphinx-design==0.5.0 sphinx-togglebutton==0.3.2 -sphinxcontrib-applehelp==1.0.4 -sphinxcontrib-bibtex==2.5.0 -sphinxcontrib-devhelp==1.0.2 -sphinxcontrib-htmlhelp==2.0.1 +sphinxcontrib-applehelp==1.0.7 +sphinxcontrib-bibtex==2.6.1 +sphinxcontrib-devhelp==1.0.5 +sphinxcontrib-htmlhelp==2.0.4 sphinxcontrib-jsmath==1.0.1 -sphinxcontrib-qthelp==1.0.3 -sphinxcontrib-serializinghtml==1.1.5 -sqlalchemy==2.0.18 +sphinxcontrib-qthelp==1.0.6 +sphinxcontrib-serializinghtml==1.1.9 +sqlalchemy==2.0.20 stack-data==0.6.2 sympy==1.12 tabulate==0.9.0 -tensorboard==2.13.0 +tensorboard==2.12.3 tensorboard-data-server==0.7.1 -tensorflow==2.13.0 -tensorflow-estimator==2.13.0 -tensorflow-io-gcs-filesystem==0.32.0 -tensorflow-probability==0.18.0 +tensorflow==2.12.0 +tensorflow-estimator==2.12.0 +tensorflow-io-gcs-filesystem==0.33.0 +tensorflow-probability==0.20.1 tensorwaves==0.4.10 termcolor==2.3.0 terminado==0.17.1 tinycss2==1.2.1 tomli==2.0.1 -tornado==6.3.2 -tox==4.6.4 -tqdm==4.65.0 +tornado==6.3.3 +tox==4.11.1 +tqdm==4.66.1 traitlets==5.9.0 -typing-extensions==4.5.0 +typing-extensions==4.7.1 uri-template==1.3.0 urllib3==1.26.16 -virtualenv==20.23.1 +virtualenv==20.24.4 wcwidth==0.2.6 webcolors==1.13 webencodings==0.5.1 -websocket-client==1.6.1 -werkzeug==2.3.6 -wheel==0.40.0 +websocket-client==1.6.2 +werkzeug==2.3.7 +wheel==0.41.2 widgetsnbextension==4.0.8 -wrapt==1.15.0 -zipp==3.15.0 +wrapt==1.14.1 +zipp==3.16.2 # The following packages are considered to be unsafe in a requirements file: # setuptools diff --git a/.cspell.json b/.cspell.json index fd41364f..22be7f02 100644 --- a/.cspell.json +++ b/.cspell.json @@ -30,7 +30,7 @@ ".readthedocs.yml", ".vscode/*", ".vscode/.gitignore", - ".zenodo.json", + "CITATION.cff", "codecov.yml", "Dockerfile", "docs/_templates/*", diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dc3f812e..e94cc388 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,6 +28,9 @@ on: jobs: doc: uses: ComPWA/actions/.github/workflows/ci-docs.yml@v1 + permissions: + pages: write + id-token: write with: apt-packages: graphviz gh-pages: true diff --git a/.gitignore b/.gitignore index 66f40976..a212f944 100644 --- a/.gitignore +++ b/.gitignore @@ -22,6 +22,7 @@ version.py .ipynb_checkpoints/ .mypy*/ .pytest_cache/ +.virtual_documents/ __pycache__/ coverage.* htmlcov/ diff --git a/.gitpod.yml b/.gitpod.yml index 1eca252d..a06228ce 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -20,6 +20,7 @@ vscode: - garaioag.garaio-vscode-unwanted-recommendations - github.vscode-github-actions - github.vscode-pull-request-github + - ms-python.black-formatter - ms-python.python - ms-python.vscode-pylance - ms-toolsai.vscode-jupyter-cell-tags diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2b3c2c43..3cd3bae3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -27,7 +27,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/ComPWA/repo-maintenance - rev: 0.0.189 + rev: 0.0.197 hooks: - id: check-dev-files args: @@ -52,12 +52,12 @@ repos: - --fix - repo: https://github.com/psf/black - rev: 23.3.0 + rev: 23.7.0 hooks: - id: black - repo: https://github.com/streetsidesoftware/cspell-cli - rev: v6.31.0 + rev: v7.3.0 hooks: - id: cspell @@ -97,30 +97,30 @@ repos: metadata.vscode - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.0.0 + rev: v3.0.3 hooks: - id: prettier - repo: https://github.com/ComPWA/mirrors-pyright - rev: v1.1.316 + rev: v1.1.326 hooks: - id: pyright - repo: https://github.com/asottile/pyupgrade - rev: v3.8.0 + rev: v3.10.1 hooks: - id: pyupgrade args: - --py37-plus - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.0.277 + rev: v0.0.287 hooks: - id: ruff args: - --fix - repo: https://github.com/ComPWA/mirrors-taplo - rev: v0.8.0 + rev: v0.8.1 hooks: - id: taplo diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 979ce482..3274def2 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -7,6 +7,7 @@ "garaioag.garaio-vscode-unwanted-recommendations", "github.vscode-github-actions", "github.vscode-pull-request-github", + "ms-python.black-formatter", "ms-python.python", "ms-python.vscode-pylance", "ms-toolsai.vscode-jupyter-cell-tags", diff --git a/.vscode/settings.json b/.vscode/settings.json index f1549816..2f83877f 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -22,11 +22,13 @@ "[python]": { "editor.codeActionsOnSave": { "source.organizeImports": true - } + }, + "editor.defaultFormatter": "ms-python.black-formatter" }, "[yaml]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, + "black-formatter.importStrategy": "fromEnvironment", "cSpell.enabled": true, "editor.formatOnSave": true, "editor.rulers": [88], @@ -36,12 +38,6 @@ "python.analysis.autoImportCompletions": false, "python.analysis.inlayHints.pytestParameters": true, "python.analysis.typeCheckingMode": "strict", - "python.formatting.provider": "black", - "python.linting.enabled": true, - "python.linting.flake8Enabled": false, - "python.linting.mypyEnabled": false, - "python.linting.pydocstyleEnabled": false, - "python.linting.pylintEnabled": false, "python.testing.pytestArgs": ["--color=no"], "python.testing.pytestEnabled": true, "python.testing.unittestEnabled": false, diff --git a/setup.cfg b/setup.cfg index 8a48ebf6..5e4037b0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -72,7 +72,9 @@ jupyter = %(doc)s jupyterlab >=3.0 jupyterlab-code-formatter + jupyterlab-lsp jupyterlab-myst + python-lsp-server[rope] ypy-websocket <0.8.3; python_version <"3.8.0" test = nbmake