From 8e9f8884da3e8286ad0d11badb0a0f98177007de Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 6 Apr 2024 11:50:57 +0200 Subject: [PATCH] MAINT: update pip constraints and pre-commit (#37) * DX: apply new ComPWA dev configuration * FIX: install `tf-keras` * FIX: remove `--ignore-author` flag --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: GitHub Co-authored-by: Remco de Boer <29308176+redeboer@users.noreply.github.com> --- .constraints/py3.10.txt | 174 ++++++++++++++--------------- .constraints/py3.11.txt | 174 ++++++++++++++--------------- .constraints/py3.12.txt | 174 ++++++++++++++--------------- .constraints/py3.8.txt | 158 +++++++++++++------------- .constraints/py3.9.txt | 174 ++++++++++++++--------------- .github/workflows/requirements.yml | 3 +- .pre-commit-config.yaml | 83 +++++++------- .vscode/extensions.json | 4 +- .vscode/settings.json | 8 +- docs/lecture12d-phasespace.ipynb | 4 +- docs/lecture17.ipynb | 8 +- 11 files changed, 480 insertions(+), 484 deletions(-) diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index 3f0d81c..ab8827f 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -1,12 +1,8 @@ -# -# 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 --unsafe-package=pip --unsafe-package=setuptools --unsafe-package=strong2020-salamanca -# +# This file was autogenerated by uv via the following command: +# uv pip compile pyproject.toml -o .constraints/py3.10.txt --all-extras --no-annotate --python-version=3.10 --no-emit-package setuptools accessible-pygments==0.0.4 alabaster==0.7.16 -anyio==4.2.0 +anyio==4.3.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 @@ -14,77 +10,80 @@ asttokens==2.4.1 async-lru==2.0.4 attrs==23.2.0 babel==2.14.0 -beautifulsoup4==4.12.2 -black==23.12.1 +beautifulsoup4==4.12.3 +black==24.3.0 bleach==6.1.0 -cachetools==5.3.2 +cachetools==5.3.3 cattrs==23.2.3 -certifi==2023.11.17 +certifi==2024.2.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 -comm==0.2.1 -contourpy==1.2.0 +comm==0.2.2 +contourpy==1.2.1 cycler==0.12.1 -debugpy==1.8.0 +debugpy==1.8.1 decorator==5.1.1 defusedxml==0.7.1 distlib==0.3.8 -docstring-to-markdown==0.13 +docstring-to-markdown==0.15 docutils==0.19 exceptiongroup==1.2.0 executing==2.0.1 fastjsonschema==2.19.1 -filelock==3.13.1 -flake8==6.1.0 -fonttools==4.47.2 +filelock==3.13.3 +flake8==7.0.0 +fonttools==4.51.0 fqdn==1.5.1 gitdb==4.0.11 -gitpython==3.1.41 +gitpython==3.1.43 greenlet==3.0.3 -identify==2.5.33 +h11==0.14.0 +httpcore==1.0.5 +httpx==0.27.0 +identify==2.5.35 idna==3.6 imagesize==1.4.1 -importlib-metadata==7.0.1 +importlib-metadata==7.1.0 iniconfig==2.0.0 -ipykernel==6.28.0 +ipykernel==6.29.4 ipympl==0.9.3 -ipython==8.20.0 +ipython==8.23.0 ipython-genutils==0.2.0 -ipywidgets==8.1.1 +ipywidgets==8.1.2 isoduration==20.11.0 isort==5.13.2 jedi==0.19.1 jinja2==3.1.3 -json5==0.9.14 +json5==0.9.24 jsonpointer==2.4 -jsonschema==4.20.0 +jsonschema==4.21.1 jsonschema-specifications==2023.12.1 jupyter-cache==1.0.0 -jupyter-client==8.6.0 -jupyter-core==5.7.1 -jupyter-events==0.9.0 -jupyter-lsp==2.2.1 -jupyter-server==2.12.4 +jupyter-client==8.6.1 +jupyter-core==5.7.2 +jupyter-events==0.10.0 +jupyter-lsp==2.2.4 +jupyter-server==2.13.0 jupyter-server-mathjax==0.2.6 -jupyter-server-terminals==0.5.1 -jupyterlab==4.0.10 +jupyter-server-terminals==0.5.3 +jupyterlab==4.1.5 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.0 -jupyterlab-lsp==5.0.1 -jupyterlab-myst==2.1.0 +jupyterlab-lsp==5.1.0 +jupyterlab-myst==2.3.2 jupyterlab-pygments==0.3.0 -jupyterlab-server==2.25.2 -jupyterlab-widgets==3.0.9 +jupyterlab-server==2.25.4 +jupyterlab-widgets==3.0.10 kiwisolver==1.4.5 livereload==2.6.3 lsprotocol==2023.0.1 markdown-it-py==2.2.0 -markupsafe==2.1.3 -matplotlib==3.8.2 +markupsafe==2.1.5 +matplotlib==3.8.4 matplotlib-inline==0.1.6 mccabe==0.7.0 mdit-py-plugins==0.3.5 @@ -94,95 +93,94 @@ mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==1.0.0 nbclient==0.6.8 -nbconvert==7.14.1 +nbconvert==7.16.3 nbdime==4.0.1 -nbformat==5.9.2 -nbmake==1.4.6 -nest-asyncio==1.5.8 +nbformat==5.10.4 +nbmake==1.5.3 +nest-asyncio==1.6.0 nodeenv==1.8.0 -notebook-shim==0.2.3 -numpy==1.26.3 -overrides==7.4.0 -packaging==23.2 -pandocfilters==1.5.0 -parso==0.8.3 +notebook-shim==0.2.4 +numpy==1.26.4 +overrides==7.7.0 +packaging==24.0 +pandocfilters==1.5.1 +parso==0.8.4 pathspec==0.12.1 pexpect==4.9.0 -pillow==10.2.0 -platformdirs==4.1.0 -pluggy==1.3.0 -pre-commit==3.6.0 -prometheus-client==0.19.0 +pillow==10.3.0 +platformdirs==4.2.0 +pluggy==1.4.0 +pre-commit==3.7.0 +prometheus-client==0.20.0 prompt-toolkit==3.0.43 -psutil==5.9.7 +psutil==5.9.8 ptyprocess==0.7.0 pure-eval==0.2.2 pycodestyle==2.11.1 -pycparser==2.21 -pydata-sphinx-theme==0.15.1 -pyflakes==3.1.0 +pycparser==2.22 +pydata-sphinx-theme==0.15.2 +pyflakes==3.2.0 pygments==2.17.2 -pyparsing==3.1.1 +pyparsing==3.1.2 pyproject-api==1.6.1 -pytest==7.4.4 -python-dateutil==2.8.2 +pytest==8.1.1 +python-dateutil==2.9.0.post0 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.0.2 -python-lsp-server==1.9.0 +python-lsp-ruff==2.2.0 +python-lsp-server==1.11.0 pytoolconfig==1.3.1 pyyaml==6.0.1 pyzmq==25.1.2 -referencing==0.32.1 +referencing==0.34.0 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rope==1.11.0 -rpds-py==0.16.2 -ruff==0.1.13 +rope==1.13.0 +rpds-py==0.18.0 +ruff==0.3.5 send2trash==1.8.2 six==1.16.0 smmap==5.0.1 -sniffio==1.3.0 +sniffio==1.3.1 snowballstemmer==2.2.0 soupsieve==2.5 sphinx==5.3.0 -sphinx-autobuild==2021.3.14 -sphinx-book-theme==1.1.0 +sphinx-autobuild==2024.2.4 +sphinx-book-theme==1.1.2 sphinx-comments==0.0.3 sphinx-copybutton==0.5.2 sphinx-design==0.5.0 sphinx-exercise==0.4.1 sphinx-togglebutton==0.3.2 -sphinxcontrib-applehelp==1.0.7 -sphinxcontrib-devhelp==1.0.5 -sphinxcontrib-htmlhelp==2.0.4 +sphinxcontrib-applehelp==1.0.8 +sphinxcontrib-devhelp==1.0.6 +sphinxcontrib-htmlhelp==2.0.5 sphinxcontrib-jsmath==1.0.1 -sphinxcontrib-qthelp==1.0.6 -sphinxcontrib-serializinghtml==1.1.9 -sqlalchemy==2.0.25 +sphinxcontrib-qthelp==1.0.7 +sphinxcontrib-serializinghtml==1.1.10 +sqlalchemy==2.0.29 stack-data==0.6.3 tabulate==0.9.0 -terminado==0.18.0 +terminado==0.18.1 tinycss2==1.2.1 tomli==2.0.1 tornado==6.4 -tox==4.12.0 -traitlets==5.14.1 -types-python-dateutil==2.8.19.20240106 -typing-extensions==4.9.0 +tox==4.14.2 +traitlets==5.14.2 +types-python-dateutil==2.9.0.20240316 +typing-extensions==4.11.0 ujson==5.9.0 uri-template==1.3.0 -urllib3==2.1.0 -virtualenv==20.25.0 +urllib3==2.2.1 +virtualenv==20.25.1 wcwidth==0.2.13 webcolors==1.13 webencodings==0.5.1 websocket-client==1.7.0 -wheel==0.42.0 -widgetsnbextension==4.0.9 -zipp==3.17.0 +wheel==0.43.0 +widgetsnbextension==4.0.10 +zipp==3.18.1 -# The following packages are considered to be unsafe in a requirements file: +# The following packages were excluded from the output: # setuptools -# strong2020-salamanca diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt index f16a0ce..19b835c 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -1,12 +1,8 @@ -# -# 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 --unsafe-package=pip --unsafe-package=setuptools --unsafe-package=strong2020-salamanca -# +# This file was autogenerated by uv via the following command: +# uv pip compile pyproject.toml -o .constraints/py3.11.txt --all-extras --no-annotate --python-version=3.11 --no-emit-package setuptools accessible-pygments==0.0.4 alabaster==0.7.16 -anyio==4.2.0 +anyio==4.3.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 @@ -14,76 +10,79 @@ asttokens==2.4.1 async-lru==2.0.4 attrs==23.2.0 babel==2.14.0 -beautifulsoup4==4.12.2 -black==23.12.1 +beautifulsoup4==4.12.3 +black==24.3.0 bleach==6.1.0 -cachetools==5.3.2 +cachetools==5.3.3 cattrs==23.2.3 -certifi==2023.11.17 +certifi==2024.2.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 -comm==0.2.1 -contourpy==1.2.0 +comm==0.2.2 +contourpy==1.2.1 cycler==0.12.1 -debugpy==1.8.0 +debugpy==1.8.1 decorator==5.1.1 defusedxml==0.7.1 distlib==0.3.8 -docstring-to-markdown==0.13 +docstring-to-markdown==0.15 docutils==0.19 executing==2.0.1 fastjsonschema==2.19.1 -filelock==3.13.1 -flake8==6.1.0 -fonttools==4.47.2 +filelock==3.13.3 +flake8==7.0.0 +fonttools==4.51.0 fqdn==1.5.1 gitdb==4.0.11 -gitpython==3.1.41 +gitpython==3.1.43 greenlet==3.0.3 -identify==2.5.33 +h11==0.14.0 +httpcore==1.0.5 +httpx==0.27.0 +identify==2.5.35 idna==3.6 imagesize==1.4.1 -importlib-metadata==7.0.1 +importlib-metadata==7.1.0 iniconfig==2.0.0 -ipykernel==6.28.0 +ipykernel==6.29.4 ipympl==0.9.3 -ipython==8.20.0 +ipython==8.23.0 ipython-genutils==0.2.0 -ipywidgets==8.1.1 +ipywidgets==8.1.2 isoduration==20.11.0 isort==5.13.2 jedi==0.19.1 jinja2==3.1.3 -json5==0.9.14 +json5==0.9.24 jsonpointer==2.4 -jsonschema==4.20.0 +jsonschema==4.21.1 jsonschema-specifications==2023.12.1 jupyter-cache==1.0.0 -jupyter-client==8.6.0 -jupyter-core==5.7.1 -jupyter-events==0.9.0 -jupyter-lsp==2.2.1 -jupyter-server==2.12.4 +jupyter-client==8.6.1 +jupyter-core==5.7.2 +jupyter-events==0.10.0 +jupyter-lsp==2.2.4 +jupyter-server==2.13.0 jupyter-server-mathjax==0.2.6 -jupyter-server-terminals==0.5.1 -jupyterlab==4.0.10 +jupyter-server-terminals==0.5.3 +jupyterlab==4.1.5 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.0 -jupyterlab-lsp==5.0.1 -jupyterlab-myst==2.1.0 +jupyterlab-lsp==5.1.0 +jupyterlab-myst==2.3.2 jupyterlab-pygments==0.3.0 -jupyterlab-server==2.25.2 -jupyterlab-widgets==3.0.9 +jupyterlab-server==2.25.4 +jupyterlab-widgets==3.0.10 kiwisolver==1.4.5 livereload==2.6.3 lsprotocol==2023.0.1 markdown-it-py==2.2.0 -markupsafe==2.1.3 -matplotlib==3.8.2 +markupsafe==2.1.5 +matplotlib==3.8.4 matplotlib-inline==0.1.6 mccabe==0.7.0 mdit-py-plugins==0.3.5 @@ -93,94 +92,93 @@ mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==1.0.0 nbclient==0.6.8 -nbconvert==7.14.1 +nbconvert==7.16.3 nbdime==4.0.1 -nbformat==5.9.2 -nbmake==1.4.6 -nest-asyncio==1.5.8 +nbformat==5.10.4 +nbmake==1.5.3 +nest-asyncio==1.6.0 nodeenv==1.8.0 -notebook-shim==0.2.3 -numpy==1.26.3 -overrides==7.4.0 -packaging==23.2 -pandocfilters==1.5.0 -parso==0.8.3 +notebook-shim==0.2.4 +numpy==1.26.4 +overrides==7.7.0 +packaging==24.0 +pandocfilters==1.5.1 +parso==0.8.4 pathspec==0.12.1 pexpect==4.9.0 -pillow==10.2.0 -platformdirs==4.1.0 -pluggy==1.3.0 -pre-commit==3.6.0 -prometheus-client==0.19.0 +pillow==10.3.0 +platformdirs==4.2.0 +pluggy==1.4.0 +pre-commit==3.7.0 +prometheus-client==0.20.0 prompt-toolkit==3.0.43 -psutil==5.9.7 +psutil==5.9.8 ptyprocess==0.7.0 pure-eval==0.2.2 pycodestyle==2.11.1 -pycparser==2.21 -pydata-sphinx-theme==0.15.1 -pyflakes==3.1.0 +pycparser==2.22 +pydata-sphinx-theme==0.15.2 +pyflakes==3.2.0 pygments==2.17.2 -pyparsing==3.1.1 +pyparsing==3.1.2 pyproject-api==1.6.1 -pytest==7.4.4 -python-dateutil==2.8.2 +pytest==8.1.1 +python-dateutil==2.9.0.post0 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.0.2 -python-lsp-server==1.9.0 +python-lsp-ruff==2.2.0 +python-lsp-server==1.11.0 pytoolconfig==1.3.1 pyyaml==6.0.1 pyzmq==25.1.2 -referencing==0.32.1 +referencing==0.34.0 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rope==1.11.0 -rpds-py==0.16.2 -ruff==0.1.13 +rope==1.13.0 +rpds-py==0.18.0 +ruff==0.3.5 send2trash==1.8.2 six==1.16.0 smmap==5.0.1 -sniffio==1.3.0 +sniffio==1.3.1 snowballstemmer==2.2.0 soupsieve==2.5 sphinx==5.3.0 -sphinx-autobuild==2021.3.14 -sphinx-book-theme==1.1.0 +sphinx-autobuild==2024.2.4 +sphinx-book-theme==1.1.2 sphinx-comments==0.0.3 sphinx-copybutton==0.5.2 sphinx-design==0.5.0 sphinx-exercise==0.4.1 sphinx-togglebutton==0.3.2 -sphinxcontrib-applehelp==1.0.7 -sphinxcontrib-devhelp==1.0.5 -sphinxcontrib-htmlhelp==2.0.4 +sphinxcontrib-applehelp==1.0.8 +sphinxcontrib-devhelp==1.0.6 +sphinxcontrib-htmlhelp==2.0.5 sphinxcontrib-jsmath==1.0.1 -sphinxcontrib-qthelp==1.0.6 -sphinxcontrib-serializinghtml==1.1.9 -sqlalchemy==2.0.25 +sphinxcontrib-qthelp==1.0.7 +sphinxcontrib-serializinghtml==1.1.10 +sqlalchemy==2.0.29 stack-data==0.6.3 tabulate==0.9.0 -terminado==0.18.0 +terminado==0.18.1 tinycss2==1.2.1 tornado==6.4 -tox==4.12.0 -traitlets==5.14.1 -types-python-dateutil==2.8.19.20240106 -typing-extensions==4.9.0 +tox==4.14.2 +traitlets==5.14.2 +types-python-dateutil==2.9.0.20240316 +typing-extensions==4.11.0 ujson==5.9.0 uri-template==1.3.0 -urllib3==2.1.0 -virtualenv==20.25.0 +urllib3==2.2.1 +virtualenv==20.25.1 wcwidth==0.2.13 webcolors==1.13 webencodings==0.5.1 websocket-client==1.7.0 -wheel==0.42.0 -widgetsnbextension==4.0.9 -zipp==3.17.0 +wheel==0.43.0 +widgetsnbextension==4.0.10 +zipp==3.18.1 -# The following packages are considered to be unsafe in a requirements file: +# The following packages were excluded from the output: # setuptools -# strong2020-salamanca diff --git a/.constraints/py3.12.txt b/.constraints/py3.12.txt index 7e477c6..b49acb0 100644 --- a/.constraints/py3.12.txt +++ b/.constraints/py3.12.txt @@ -1,12 +1,8 @@ -# -# This file is autogenerated by pip-compile with Python 3.12 -# by the following command: -# -# pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.12.txt --strip-extras --unsafe-package=pip --unsafe-package=setuptools --unsafe-package=strong2020-salamanca -# +# This file was autogenerated by uv via the following command: +# uv pip compile pyproject.toml -o .constraints/py3.12.txt --all-extras --no-annotate --python-version=3.12 --no-emit-package setuptools accessible-pygments==0.0.4 alabaster==0.7.16 -anyio==4.2.0 +anyio==4.3.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 @@ -14,76 +10,79 @@ asttokens==2.4.1 async-lru==2.0.4 attrs==23.2.0 babel==2.14.0 -beautifulsoup4==4.12.2 -black==23.12.1 +beautifulsoup4==4.12.3 +black==24.3.0 bleach==6.1.0 -cachetools==5.3.2 +cachetools==5.3.3 cattrs==23.2.3 -certifi==2023.11.17 +certifi==2024.2.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 -comm==0.2.1 -contourpy==1.2.0 +comm==0.2.2 +contourpy==1.2.1 cycler==0.12.1 -debugpy==1.8.0 +debugpy==1.8.1 decorator==5.1.1 defusedxml==0.7.1 distlib==0.3.8 -docstring-to-markdown==0.13 +docstring-to-markdown==0.15 docutils==0.19 executing==2.0.1 fastjsonschema==2.19.1 -filelock==3.13.1 -flake8==6.1.0 -fonttools==4.47.2 +filelock==3.13.3 +flake8==7.0.0 +fonttools==4.51.0 fqdn==1.5.1 gitdb==4.0.11 -gitpython==3.1.41 +gitpython==3.1.43 greenlet==3.0.3 -identify==2.5.33 +h11==0.14.0 +httpcore==1.0.5 +httpx==0.27.0 +identify==2.5.35 idna==3.6 imagesize==1.4.1 -importlib-metadata==7.0.1 +importlib-metadata==7.1.0 iniconfig==2.0.0 -ipykernel==6.28.0 +ipykernel==6.29.4 ipympl==0.9.3 -ipython==8.20.0 +ipython==8.23.0 ipython-genutils==0.2.0 -ipywidgets==8.1.1 +ipywidgets==8.1.2 isoduration==20.11.0 isort==5.13.2 jedi==0.19.1 jinja2==3.1.3 -json5==0.9.14 +json5==0.9.24 jsonpointer==2.4 -jsonschema==4.20.0 +jsonschema==4.21.1 jsonschema-specifications==2023.12.1 jupyter-cache==1.0.0 -jupyter-client==8.6.0 -jupyter-core==5.7.1 -jupyter-events==0.9.0 -jupyter-lsp==2.2.1 -jupyter-server==2.12.4 +jupyter-client==8.6.1 +jupyter-core==5.7.2 +jupyter-events==0.10.0 +jupyter-lsp==2.2.4 +jupyter-server==2.13.0 jupyter-server-mathjax==0.2.6 -jupyter-server-terminals==0.5.1 -jupyterlab==4.0.10 +jupyter-server-terminals==0.5.3 +jupyterlab==4.1.5 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.0 -jupyterlab-lsp==5.0.1 -jupyterlab-myst==2.1.0 +jupyterlab-lsp==5.1.0 +jupyterlab-myst==2.3.2 jupyterlab-pygments==0.3.0 -jupyterlab-server==2.25.2 -jupyterlab-widgets==3.0.9 +jupyterlab-server==2.25.4 +jupyterlab-widgets==3.0.10 kiwisolver==1.4.5 livereload==2.6.3 lsprotocol==2023.0.1 markdown-it-py==2.2.0 -markupsafe==2.1.3 -matplotlib==3.8.2 +markupsafe==2.1.5 +matplotlib==3.8.4 matplotlib-inline==0.1.6 mccabe==0.7.0 mdit-py-plugins==0.3.5 @@ -93,94 +92,93 @@ mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==1.0.0 nbclient==0.6.8 -nbconvert==7.14.1 +nbconvert==7.16.3 nbdime==4.0.1 -nbformat==5.9.2 -nbmake==1.4.6 -nest-asyncio==1.5.8 +nbformat==5.10.4 +nbmake==1.5.3 +nest-asyncio==1.6.0 nodeenv==1.8.0 -notebook-shim==0.2.3 -numpy==1.26.3 -overrides==7.4.0 -packaging==23.2 -pandocfilters==1.5.0 -parso==0.8.3 +notebook-shim==0.2.4 +numpy==1.26.4 +overrides==7.7.0 +packaging==24.0 +pandocfilters==1.5.1 +parso==0.8.4 pathspec==0.12.1 pexpect==4.9.0 -pillow==10.2.0 -platformdirs==4.1.0 -pluggy==1.3.0 -pre-commit==3.6.0 -prometheus-client==0.19.0 +pillow==10.3.0 +platformdirs==4.2.0 +pluggy==1.4.0 +pre-commit==3.7.0 +prometheus-client==0.20.0 prompt-toolkit==3.0.43 -psutil==5.9.7 +psutil==5.9.8 ptyprocess==0.7.0 pure-eval==0.2.2 pycodestyle==2.11.1 -pycparser==2.21 -pydata-sphinx-theme==0.15.1 -pyflakes==3.1.0 +pycparser==2.22 +pydata-sphinx-theme==0.15.2 +pyflakes==3.2.0 pygments==2.17.2 -pyparsing==3.1.1 +pyparsing==3.1.2 pyproject-api==1.6.1 -pytest==7.4.4 -python-dateutil==2.8.2 +pytest==8.1.1 +python-dateutil==2.9.0.post0 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.0.2 -python-lsp-server==1.9.0 +python-lsp-ruff==2.2.0 +python-lsp-server==1.11.0 pytoolconfig==1.3.1 pyyaml==6.0.1 pyzmq==25.1.2 -referencing==0.32.1 +referencing==0.34.0 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rope==1.11.0 -rpds-py==0.16.2 -ruff==0.1.13 +rope==1.13.0 +rpds-py==0.18.0 +ruff==0.3.5 send2trash==1.8.2 six==1.16.0 smmap==5.0.1 -sniffio==1.3.0 +sniffio==1.3.1 snowballstemmer==2.2.0 soupsieve==2.5 sphinx==5.3.0 -sphinx-autobuild==2021.3.14 -sphinx-book-theme==1.1.0 +sphinx-autobuild==2024.2.4 +sphinx-book-theme==1.1.2 sphinx-comments==0.0.3 sphinx-copybutton==0.5.2 sphinx-design==0.5.0 sphinx-exercise==0.4.1 sphinx-togglebutton==0.3.2 -sphinxcontrib-applehelp==1.0.7 -sphinxcontrib-devhelp==1.0.5 -sphinxcontrib-htmlhelp==2.0.4 +sphinxcontrib-applehelp==1.0.8 +sphinxcontrib-devhelp==1.0.6 +sphinxcontrib-htmlhelp==2.0.5 sphinxcontrib-jsmath==1.0.1 -sphinxcontrib-qthelp==1.0.6 -sphinxcontrib-serializinghtml==1.1.9 -sqlalchemy==2.0.25 +sphinxcontrib-qthelp==1.0.7 +sphinxcontrib-serializinghtml==1.1.10 +sqlalchemy==2.0.29 stack-data==0.6.3 tabulate==0.9.0 -terminado==0.18.0 +terminado==0.18.1 tinycss2==1.2.1 tornado==6.4 -tox==4.12.0 -traitlets==5.14.1 -types-python-dateutil==2.8.19.20240106 -typing-extensions==4.9.0 +tox==4.14.2 +traitlets==5.14.2 +types-python-dateutil==2.9.0.20240316 +typing-extensions==4.11.0 ujson==5.9.0 uri-template==1.3.0 -urllib3==2.1.0 -virtualenv==20.25.0 +urllib3==2.2.1 +virtualenv==20.25.1 wcwidth==0.2.13 webcolors==1.13 webencodings==0.5.1 websocket-client==1.7.0 -wheel==0.42.0 -widgetsnbextension==4.0.9 -zipp==3.17.0 +wheel==0.43.0 +widgetsnbextension==4.0.10 +zipp==3.18.1 -# The following packages are considered to be unsafe in a requirements file: +# The following packages were excluded from the output: # setuptools -# strong2020-salamanca diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index 7f7ae1b..1efb262 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -1,12 +1,8 @@ -# -# 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 --unsafe-package=pip --unsafe-package=setuptools --unsafe-package=strong2020-salamanca -# +# This file was autogenerated by uv via the following command: +# uv pip compile pyproject.toml -o .constraints/py3.8.txt --all-extras --no-annotate --python-version=3.8 --no-emit-package setuptools accessible-pygments==0.0.4 alabaster==0.7.13 -anyio==4.2.0 +anyio==4.3.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 @@ -15,78 +11,81 @@ async-lru==2.0.4 attrs==23.2.0 babel==2.14.0 backcall==0.2.0 -beautifulsoup4==4.12.2 -black==23.12.1 +beautifulsoup4==4.12.3 +black==24.3.0 bleach==6.1.0 -cachetools==5.3.2 +cachetools==5.3.3 cattrs==23.2.3 -certifi==2023.11.17 +certifi==2024.2.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 -comm==0.2.1 +comm==0.2.2 contourpy==1.1.1 cycler==0.12.1 -debugpy==1.8.0 +debugpy==1.8.1 decorator==5.1.1 defusedxml==0.7.1 distlib==0.3.8 -docstring-to-markdown==0.13 +docstring-to-markdown==0.15 docutils==0.19 exceptiongroup==1.2.0 executing==2.0.1 fastjsonschema==2.19.1 -filelock==3.13.1 -flake8==6.1.0 -fonttools==4.47.2 +filelock==3.13.3 +flake8==5.0.4 +fonttools==4.51.0 fqdn==1.5.1 gitdb==4.0.11 -gitpython==3.1.41 +gitpython==3.1.43 greenlet==3.0.3 -identify==2.5.33 +h11==0.14.0 +httpcore==1.0.5 +httpx==0.27.0 +identify==2.5.35 idna==3.6 imagesize==1.4.1 -importlib-metadata==7.0.1 -importlib-resources==6.1.1 +importlib-metadata==7.1.0 +importlib-resources==6.4.0 iniconfig==2.0.0 -ipykernel==6.28.0 +ipykernel==6.29.4 ipympl==0.9.3 ipython==8.12.3 ipython-genutils==0.2.0 -ipywidgets==8.1.1 +ipywidgets==8.1.2 isoduration==20.11.0 isort==5.13.2 -jedi==0.19.1 +jedi==0.18.2 jinja2==3.1.3 -json5==0.9.14 +json5==0.9.24 jsonpointer==2.4 -jsonschema==4.20.0 +jsonschema==4.21.1 jsonschema-specifications==2023.12.1 jupyter-cache==0.6.1 -jupyter-client==8.6.0 -jupyter-core==5.7.1 -jupyter-events==0.9.0 -jupyter-lsp==2.2.1 -jupyter-server==2.12.4 +jupyter-client==8.6.1 +jupyter-core==5.7.2 +jupyter-events==0.10.0 +jupyter-lsp==2.2.4 +jupyter-server==2.13.0 jupyter-server-mathjax==0.2.6 -jupyter-server-terminals==0.5.1 -jupyterlab==4.0.10 +jupyter-server-terminals==0.5.3 +jupyterlab==4.1.5 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.0 -jupyterlab-lsp==5.0.1 -jupyterlab-myst==2.1.0 +jupyterlab-lsp==5.1.0 +jupyterlab-myst==2.3.2 jupyterlab-pygments==0.3.0 -jupyterlab-server==2.25.2 -jupyterlab-widgets==3.0.9 +jupyterlab-server==2.25.4 +jupyterlab-widgets==3.0.10 kiwisolver==1.4.5 livereload==2.6.3 lsprotocol==2023.0.1 markdown-it-py==2.2.0 -markupsafe==2.1.3 -matplotlib==3.7.4 +markupsafe==2.1.5 +matplotlib==3.7.5 matplotlib-inline==0.1.6 mccabe==0.7.0 mdit-py-plugins==0.3.5 @@ -96,59 +95,59 @@ mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 nbclient==0.6.8 -nbconvert==7.14.1 +nbconvert==7.16.3 nbdime==4.0.1 -nbformat==5.9.2 -nbmake==1.4.6 -nest-asyncio==1.5.8 +nbformat==5.10.4 +nbmake==1.5.3 +nest-asyncio==1.6.0 nodeenv==1.8.0 -notebook-shim==0.2.3 +notebook-shim==0.2.4 numpy==1.24.4 -overrides==7.4.0 -packaging==23.2 -pandocfilters==1.5.0 -parso==0.8.3 +overrides==7.7.0 +packaging==24.0 +pandocfilters==1.5.1 +parso==0.8.4 pathspec==0.12.1 pexpect==4.9.0 pickleshare==0.7.5 -pillow==10.2.0 +pillow==10.3.0 pkgutil-resolve-name==1.3.10 -platformdirs==4.1.0 -pluggy==1.3.0 +platformdirs==4.2.0 +pluggy==1.4.0 pre-commit==3.5.0 -prometheus-client==0.19.0 +prometheus-client==0.20.0 prompt-toolkit==3.0.43 -psutil==5.9.7 +psutil==5.9.8 ptyprocess==0.7.0 pure-eval==0.2.2 -pycodestyle==2.11.1 -pycparser==2.21 +pycodestyle==2.9.1 +pycparser==2.22 pydata-sphinx-theme==0.14.4 -pyflakes==3.1.0 +pyflakes==2.5.0 pygments==2.17.2 -pyparsing==3.1.1 +pyparsing==3.1.2 pyproject-api==1.6.1 -pytest==7.4.4 -python-dateutil==2.8.2 +pytest==8.1.1 +python-dateutil==2.9.0.post0 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.0.2 -python-lsp-server==1.9.0 +python-lsp-ruff==2.2.0 +python-lsp-server==1.7.4 pytoolconfig==1.3.1 -pytz==2023.3.post1 +pytz==2024.1 pyyaml==6.0.1 pyzmq==25.1.2 -referencing==0.32.1 +referencing==0.34.0 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rope==1.11.0 -rpds-py==0.16.2 -ruff==0.1.13 +rope==1.13.0 +rpds-py==0.18.0 +ruff==0.3.5 send2trash==1.8.2 six==1.16.0 smmap==5.0.1 -sniffio==1.3.0 +sniffio==1.3.1 snowballstemmer==2.2.0 soupsieve==2.5 sphinx==5.3.0 @@ -165,29 +164,28 @@ sphinxcontrib-htmlhelp==2.0.1 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 -sqlalchemy==2.0.25 +sqlalchemy==2.0.29 stack-data==0.6.3 tabulate==0.9.0 -terminado==0.18.0 +terminado==0.18.1 tinycss2==1.2.1 tomli==2.0.1 tornado==6.4 -tox==4.12.0 -traitlets==5.14.1 -types-python-dateutil==2.8.19.20240106 -typing-extensions==4.9.0 +tox==4.14.2 +traitlets==5.14.2 +types-python-dateutil==2.9.0.20240316 +typing-extensions==4.11.0 ujson==5.9.0 uri-template==1.3.0 -urllib3==2.1.0 -virtualenv==20.25.0 +urllib3==2.2.1 +virtualenv==20.25.1 wcwidth==0.2.13 webcolors==1.13 webencodings==0.5.1 websocket-client==1.7.0 -wheel==0.42.0 -widgetsnbextension==4.0.9 -zipp==3.17.0 +wheel==0.43.0 +widgetsnbextension==4.0.10 +zipp==3.18.1 -# The following packages are considered to be unsafe in a requirements file: +# The following packages were excluded from the output: # setuptools -# strong2020-salamanca diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt index 0174ba1..38d553f 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -1,12 +1,8 @@ -# -# 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 --unsafe-package=pip --unsafe-package=setuptools --unsafe-package=strong2020-salamanca -# +# This file was autogenerated by uv via the following command: +# uv pip compile pyproject.toml -o .constraints/py3.9.txt --all-extras --no-annotate --python-version=3.9 --no-emit-package setuptools accessible-pygments==0.0.4 alabaster==0.7.16 -anyio==4.2.0 +anyio==4.3.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 @@ -14,78 +10,81 @@ asttokens==2.4.1 async-lru==2.0.4 attrs==23.2.0 babel==2.14.0 -beautifulsoup4==4.12.2 -black==23.12.1 +beautifulsoup4==4.12.3 +black==24.3.0 bleach==6.1.0 -cachetools==5.3.2 +cachetools==5.3.3 cattrs==23.2.3 -certifi==2023.11.17 +certifi==2024.2.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 -comm==0.2.1 -contourpy==1.2.0 +comm==0.2.2 +contourpy==1.2.1 cycler==0.12.1 -debugpy==1.8.0 +debugpy==1.8.1 decorator==5.1.1 defusedxml==0.7.1 distlib==0.3.8 -docstring-to-markdown==0.13 +docstring-to-markdown==0.15 docutils==0.19 exceptiongroup==1.2.0 executing==2.0.1 fastjsonschema==2.19.1 -filelock==3.13.1 -flake8==6.1.0 -fonttools==4.47.2 +filelock==3.13.3 +flake8==7.0.0 +fonttools==4.51.0 fqdn==1.5.1 gitdb==4.0.11 -gitpython==3.1.41 +gitpython==3.1.43 greenlet==3.0.3 -identify==2.5.33 +h11==0.14.0 +httpcore==1.0.5 +httpx==0.27.0 +identify==2.5.35 idna==3.6 imagesize==1.4.1 -importlib-metadata==7.0.1 -importlib-resources==6.1.1 +importlib-metadata==7.1.0 +importlib-resources==6.4.0 iniconfig==2.0.0 -ipykernel==6.28.0 +ipykernel==6.29.4 ipympl==0.9.3 ipython==8.18.1 ipython-genutils==0.2.0 -ipywidgets==8.1.1 +ipywidgets==8.1.2 isoduration==20.11.0 isort==5.13.2 jedi==0.19.1 jinja2==3.1.3 -json5==0.9.14 +json5==0.9.24 jsonpointer==2.4 -jsonschema==4.20.0 +jsonschema==4.21.1 jsonschema-specifications==2023.12.1 jupyter-cache==1.0.0 -jupyter-client==8.6.0 -jupyter-core==5.7.1 -jupyter-events==0.9.0 -jupyter-lsp==2.2.1 -jupyter-server==2.12.4 +jupyter-client==8.6.1 +jupyter-core==5.7.2 +jupyter-events==0.10.0 +jupyter-lsp==2.2.4 +jupyter-server==2.13.0 jupyter-server-mathjax==0.2.6 -jupyter-server-terminals==0.5.1 -jupyterlab==4.0.10 +jupyter-server-terminals==0.5.3 +jupyterlab==4.1.5 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.0 -jupyterlab-lsp==5.0.1 -jupyterlab-myst==2.1.0 +jupyterlab-lsp==5.1.0 +jupyterlab-myst==2.3.2 jupyterlab-pygments==0.3.0 -jupyterlab-server==2.25.2 -jupyterlab-widgets==3.0.9 +jupyterlab-server==2.25.4 +jupyterlab-widgets==3.0.10 kiwisolver==1.4.5 livereload==2.6.3 lsprotocol==2023.0.1 markdown-it-py==2.2.0 -markupsafe==2.1.3 -matplotlib==3.8.2 +markupsafe==2.1.5 +matplotlib==3.8.4 matplotlib-inline==0.1.6 mccabe==0.7.0 mdit-py-plugins==0.3.5 @@ -95,95 +94,94 @@ mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==1.0.0 nbclient==0.6.8 -nbconvert==7.14.1 +nbconvert==7.16.3 nbdime==4.0.1 -nbformat==5.9.2 -nbmake==1.4.6 -nest-asyncio==1.5.8 +nbformat==5.10.4 +nbmake==1.5.3 +nest-asyncio==1.6.0 nodeenv==1.8.0 -notebook-shim==0.2.3 -numpy==1.26.3 -overrides==7.4.0 -packaging==23.2 -pandocfilters==1.5.0 -parso==0.8.3 +notebook-shim==0.2.4 +numpy==1.26.4 +overrides==7.7.0 +packaging==24.0 +pandocfilters==1.5.1 +parso==0.8.4 pathspec==0.12.1 pexpect==4.9.0 -pillow==10.2.0 -platformdirs==4.1.0 -pluggy==1.3.0 -pre-commit==3.6.0 -prometheus-client==0.19.0 +pillow==10.3.0 +platformdirs==4.2.0 +pluggy==1.4.0 +pre-commit==3.7.0 +prometheus-client==0.20.0 prompt-toolkit==3.0.43 -psutil==5.9.7 +psutil==5.9.8 ptyprocess==0.7.0 pure-eval==0.2.2 pycodestyle==2.11.1 -pycparser==2.21 -pydata-sphinx-theme==0.15.1 -pyflakes==3.1.0 +pycparser==2.22 +pydata-sphinx-theme==0.15.2 +pyflakes==3.2.0 pygments==2.17.2 -pyparsing==3.1.1 +pyparsing==3.1.2 pyproject-api==1.6.1 -pytest==7.4.4 -python-dateutil==2.8.2 +pytest==8.1.1 +python-dateutil==2.9.0.post0 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.0.2 -python-lsp-server==1.9.0 +python-lsp-ruff==2.2.0 +python-lsp-server==1.11.0 pytoolconfig==1.3.1 pyyaml==6.0.1 pyzmq==25.1.2 -referencing==0.32.1 +referencing==0.34.0 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rope==1.11.0 -rpds-py==0.16.2 -ruff==0.1.13 +rope==1.13.0 +rpds-py==0.18.0 +ruff==0.3.5 send2trash==1.8.2 six==1.16.0 smmap==5.0.1 -sniffio==1.3.0 +sniffio==1.3.1 snowballstemmer==2.2.0 soupsieve==2.5 sphinx==5.3.0 -sphinx-autobuild==2021.3.14 -sphinx-book-theme==1.1.0 +sphinx-autobuild==2024.2.4 +sphinx-book-theme==1.1.2 sphinx-comments==0.0.3 sphinx-copybutton==0.5.2 sphinx-design==0.5.0 sphinx-exercise==0.4.1 sphinx-togglebutton==0.3.2 -sphinxcontrib-applehelp==1.0.7 -sphinxcontrib-devhelp==1.0.5 -sphinxcontrib-htmlhelp==2.0.4 +sphinxcontrib-applehelp==1.0.8 +sphinxcontrib-devhelp==1.0.6 +sphinxcontrib-htmlhelp==2.0.5 sphinxcontrib-jsmath==1.0.1 -sphinxcontrib-qthelp==1.0.6 -sphinxcontrib-serializinghtml==1.1.9 -sqlalchemy==2.0.25 +sphinxcontrib-qthelp==1.0.7 +sphinxcontrib-serializinghtml==1.1.10 +sqlalchemy==2.0.29 stack-data==0.6.3 tabulate==0.9.0 -terminado==0.18.0 +terminado==0.18.1 tinycss2==1.2.1 tomli==2.0.1 tornado==6.4 -tox==4.12.0 -traitlets==5.14.1 -types-python-dateutil==2.8.19.20240106 -typing-extensions==4.9.0 +tox==4.14.2 +traitlets==5.14.2 +types-python-dateutil==2.9.0.20240316 +typing-extensions==4.11.0 ujson==5.9.0 uri-template==1.3.0 -urllib3==2.1.0 -virtualenv==20.25.0 +urllib3==2.2.1 +virtualenv==20.25.1 wcwidth==0.2.13 webcolors==1.13 webencodings==0.5.1 websocket-client==1.7.0 -wheel==0.42.0 -widgetsnbextension==4.0.9 -zipp==3.17.0 +wheel==0.43.0 +widgetsnbextension==4.0.10 +zipp==3.18.1 -# The following packages are considered to be unsafe in a requirements file: +# The following packages were excluded from the output: # setuptools -# strong2020-salamanca diff --git a/.github/workflows/requirements.yml b/.github/workflows/requirements.yml index 864f3f6..af94bd3 100644 --- a/.github/workflows/requirements.yml +++ b/.github/workflows/requirements.yml @@ -2,7 +2,8 @@ name: Requirements concurrency: group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true + cancel-in-progress: |- + ${{ github.ref != format('refs/heads/{0}', github.event.repository.default_branch) }} on: pull_request: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6e0f6c0..5fc5cf8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,13 +11,37 @@ repos: - id: check-hooks-apply - id: check-useless-excludes + - repo: https://github.com/kynan/nbstripout + rev: 0.7.1 + hooks: + - id: nbstripout + args: + - --extra-keys + - | + cell.attachments + cell.metadata.code_folding + cell.metadata.id + cell.metadata.pycharm + cell.metadata.user_expressions + metadata.celltoolbar + metadata.colab.name + metadata.colab.provenance + metadata.interpreter + metadata.notify_time + metadata.toc + metadata.toc-autonumbering + metadata.toc-showcode + metadata.toc-showmarkdowntxt + metadata.toc-showtags + metadata.varInspector + metadata.vscode + - repo: https://github.com/ComPWA/policy - rev: 0.2.0 + rev: 0.3.4 hooks: - id: check-dev-files args: - --dev-python-version=3.10 - - --ignore-author - --no-github-actions - --no-gitpod - --no-prettierrc @@ -29,7 +53,7 @@ repos: - id: colab-toc-visible - repo: https://github.com/nbQA-dev/nbQA - rev: 1.7.1 + rev: 1.8.5 hooks: - id: nbqa-flake8 - id: nbqa-isort @@ -47,45 +71,6 @@ repos: - id: mixed-line-ending - id: trailing-whitespace - - repo: https://github.com/psf/black-pre-commit-mirror - rev: 23.12.1 - hooks: - - id: black-jupyter - args: [--line-length=85] - types_or: [jupyter] - - - repo: https://github.com/editorconfig-checker/editorconfig-checker.python - rev: 2.7.3 - hooks: - - id: editorconfig-checker - name: editorconfig - alias: ec - - - repo: https://github.com/kynan/nbstripout - rev: 0.6.1 - hooks: - - id: nbstripout - args: - - --extra-keys - - | - cell.attachments - cell.metadata.code_folding - cell.metadata.id - cell.metadata.pycharm - cell.metadata.user_expressions - metadata.celltoolbar - metadata.colab.name - metadata.colab.provenance - metadata.interpreter - metadata.notify_time - metadata.toc - metadata.toc-autonumbering - metadata.toc-showcode - metadata.toc-showmarkdowntxt - metadata.toc-showtags - metadata.varInspector - metadata.vscode - - repo: https://github.com/pre-commit/mirrors-prettier rev: v4.0.0-alpha.8 hooks: @@ -102,3 +87,17 @@ repos: - id: toml-sort args: - --in-place + + - repo: https://github.com/psf/black-pre-commit-mirror + rev: 24.3.0 + hooks: + - id: black-jupyter + args: [--line-length=85] + types_or: [jupyter] + + - repo: https://github.com/editorconfig-checker/editorconfig-checker.python + rev: 2.7.3 + hooks: + - id: editorconfig-checker + name: editorconfig + alias: ec diff --git a/.vscode/extensions.json b/.vscode/extensions.json index e6e782a..221ac5d 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -17,7 +17,6 @@ "Soulcode.vscode-unwanted-extensions", "stkb.rewrap", "tamasfe.even-better-toml", - "tyriar.sort-lines", "yzhang.markdown-all-in-one" ], "unwantedRecommendations": [ @@ -25,6 +24,7 @@ "davidanson.vscode-markdownlint", "garaioag.garaio-vscode-unwanted-recommendations", "ms-python.mypy-type-checker", - "travisillig.vscode-json-stable-stringify" + "travisillig.vscode-json-stable-stringify", + "tyriar.sort-lines" ] } diff --git a/.vscode/settings.json b/.vscode/settings.json index a7e7fdb..f14d3e7 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -4,7 +4,8 @@ "rewrap.wrappingColumn": 72 }, "[json]": { - "editor.defaultFormatter": "esbenp.prettier-vscode" + "editor.defaultFormatter": "esbenp.prettier-vscode", + "editor.wordWrap": "on" }, "[jsonc]": { "editor.defaultFormatter": "esbenp.prettier-vscode" @@ -26,9 +27,12 @@ "diffEditor.experimental.showMoves": true, "editor.formatOnSave": true, "github-actions.workflows.pinned.workflows": [".github/workflows/ci.yml"], + "gitlens.telemetry.enabled": false, "isort.args": ["--profile", "black"], "livePreview.defaultPreviewPath": "docs/_build/html", "multiDiffEditor.experimental.enabled": true, "notebook.gotoSymbols.showAllSymbols": true, - "rewrap.wrappingColumn": 88 + "redhat.telemetry.enabled": false, + "rewrap.wrappingColumn": 88, + "telemetry.telemetryLevel": "off" } diff --git a/docs/lecture12d-phasespace.ipynb b/docs/lecture12d-phasespace.ipynb index 24d0ed4..47e3ccd 100644 --- a/docs/lecture12d-phasespace.ipynb +++ b/docs/lecture12d-phasespace.ipynb @@ -31,7 +31,7 @@ }, "outputs": [], "source": [ - "%pip install -q gdown matplotlib numpy phasespace pylorentz" + "%pip install -q gdown matplotlib numpy phasespace pylorentz tf-keras" ] }, { @@ -559,7 +559,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.10.12" + "version": "3.10.14" } }, "nbformat": 4, diff --git a/docs/lecture17.ipynb b/docs/lecture17.ipynb index ebad9b3..8e14605 100755 --- a/docs/lecture17.ipynb +++ b/docs/lecture17.ipynb @@ -128,9 +128,11 @@ " cmin=-vmax,\n", " cmax=+vmax,\n", " showscale=colorize,\n", - " colorscale=\"RdBu_r\"\n", - " if colorize\n", - " else [[0, \"rgb(0, 0, 0)\"], [1, DEFAULT_PLOTLY_COLORS[i - 1]]],\n", + " colorscale=(\n", + " \"RdBu_r\"\n", + " if colorize\n", + " else [[0, \"rgb(0, 0, 0)\"], [1, DEFAULT_PLOTLY_COLORS[i - 1]]]\n", + " ),\n", " surfacecolor=t.real if colorize else np.ones(shape=t.shape),\n", " )\n", " S_im = [\n",