From 0a42d78318a84b938f8df3e574d74befda78922a Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Thu, 7 Mar 2024 20:12:42 +0100 Subject: [PATCH] MAINT: update pip constraints and pre-commit (#256) * DX: outsource PR linting to ComPWA/actions * MAINT: generate constraint files with `uv pip compile` --------- Co-authored-by: GitHub Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .constraints/py3.10.txt | 96 +++++++++++++++----------------- .constraints/py3.11.txt | 96 +++++++++++++++----------------- .constraints/py3.12.txt | 96 +++++++++++++++----------------- .constraints/py3.7.txt | 52 ++++++++--------- .constraints/py3.8.txt | 92 +++++++++++++++--------------- .constraints/py3.9.txt | 94 +++++++++++++++---------------- .github/workflows/pr-linting.yml | 23 +------- .pre-commit-config.yaml | 8 +-- .vscode/settings.json | 5 ++ 9 files changed, 262 insertions(+), 300 deletions(-) diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index 59ee9e8f..6d9cc225 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 -# +# 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 @@ -15,9 +11,9 @@ async-lru==2.0.4 attrs==23.2.0 babel==2.14.0 beautifulsoup4==4.12.3 -black==24.1.1 +black==24.2.0 bleach==6.1.0 -cachetools==5.3.2 +cachetools==5.3.3 cattrs==23.2.3 certifi==2024.2.2 cffi==1.16.0 @@ -27,12 +23,12 @@ charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 comm==0.2.1 -coverage==7.4.1 +coverage==7.4.3 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.20.1 exceptiongroup==1.2.0 execnet==2.0.2 @@ -41,27 +37,27 @@ fastjsonschema==2.19.1 filelock==3.13.1 fqdn==1.5.1 gitdb==4.0.11 -gitpython==3.1.41 +gitpython==3.1.42 gprof2dot==2022.7.29 graphviz==0.20.1 greenlet==3.0.3 h11==0.14.0 hepunits==2.3.3 -httpcore==1.0.2 -httpx==0.26.0 -identify==2.5.34 +httpcore==1.0.4 +httpx==0.27.0 +identify==2.5.35 idna==3.6 imagesize==1.4.1 -importlib-metadata==7.0.1 +importlib-metadata==7.0.2 iniconfig==2.0.0 -ipykernel==6.29.2 -ipython==8.21.0 +ipykernel==6.29.3 +ipython==8.22.2 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.22 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 @@ -69,19 +65,19 @@ jupyter-cache==1.0.0 jupyter-client==8.6.0 jupyter-core==5.7.1 jupyter-events==0.9.0 -jupyter-lsp==2.2.2 -jupyter-server==2.12.5 +jupyter-lsp==2.2.4 +jupyter-server==2.13.0 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.2 -jupyterlab==4.1.0 +jupyterlab==4.1.4 jupyterlab-code-formatter==2.2.1 -jupyterlab-git==0.50.0 ; python_version >= "3.7.0" -jupyterlab-lsp==5.0.3 -jupyterlab-myst==2.1.0 ; python_version >= "3.7.0" +jupyterlab-git==0.50.0 +jupyterlab-lsp==5.1.0 +jupyterlab-myst==2.3.1 jupyterlab-pygments==0.3.0 -jupyterlab-server==2.25.2 +jupyterlab-server==2.25.3 jupyterlab-widgets==3.0.10 -latexcodec==2.0.1 +latexcodec==3.0.0 livereload==2.6.3 lsprotocol==2023.0.1 markdown-it-py==3.0.0 @@ -95,13 +91,13 @@ mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==2.0.0 nbclient==0.6.8 -nbconvert==7.16.0 +nbconvert==7.16.2 nbdime==4.0.1 nbformat==5.9.2 -nbmake==1.5.0 +nbmake==1.5.3 nest-asyncio==1.6.0 nodeenv==1.8.0 -notebook-shim==0.2.3 +notebook-shim==0.2.4 overrides==7.7.0 packaging==23.2 pandocfilters==1.5.1 @@ -111,8 +107,8 @@ pathspec==0.12.1 pexpect==4.9.0 platformdirs==4.2.0 pluggy==1.4.0 -pre-commit==3.6.1 -prometheus-client==0.19.0 +pre-commit==3.6.2 +prometheus-client==0.20.0 prompt-toolkit==3.0.43 psutil==5.9.8 ptyprocess==0.7.0 @@ -123,17 +119,17 @@ pycparser==2.21 pydata-sphinx-theme==0.15.2 pydot==1.4.2 pygments==2.17.2 -pyparsing==3.1.1 +pyparsing==3.1.2 pyproject-api==1.6.1 -pytest==8.0.0 +pytest==8.0.2 pytest-cov==4.1.0 pytest-profiling==1.7.0 pytest-xdist==3.5.0 -python-constraint==1.4.0 -python-dateutil==2.8.2 +python-constraint==1.3.1 +python-dateutil==2.9.0.post0 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.1.0 ; python_version >= "3.7.0" +python-lsp-ruff==2.2.0 python-lsp-server==1.10.0 pytoolconfig==1.3.1 pyyaml==6.0.1 @@ -143,24 +139,24 @@ requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.12.0 -rpds-py==0.17.1 -ruff==0.2.1 ; python_version >= "3.7.0" +rpds-py==0.18.0 +ruff==0.3.1 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==7.2.6 -sphinx-api-relink==0.0.8 ; python_version >= "3.7.0" +sphinx-api-relink==0.0.8 sphinx-autobuild==2024.2.4 -sphinx-book-theme==1.1.0 +sphinx-book-theme==1.1.2 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-pybtex-etal-style==0.0.2 ; python_version >= "3.7.0" +sphinx-pybtex-etal-style==0.0.2 sphinx-thebe==0.3.1 sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.8 @@ -171,24 +167,24 @@ sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.7 sphinxcontrib-serializinghtml==1.1.10 sphobjinv==2.3.1 -sqlalchemy==2.0.26 +sqlalchemy==2.0.28 stack-data==0.6.3 tabulate==0.9.0 terminado==0.18.0 tinycss2==1.2.1 tomli==2.0.1 tornado==6.4 -tox==4.12.1 +tox==4.14.1 tqdm==4.66.2 traitlets==5.14.1 types-python-dateutil==2.8.19.20240106 types-pyyaml==6.0.12.12 -types-setuptools==69.0.0.20240125 -typing-extensions==4.9.0 +types-setuptools==69.1.0.20240302 +typing-extensions==4.10.0 ujson==5.9.0 uri-template==1.3.0 -urllib3==2.2.0 -virtualenv==20.25.0 +urllib3==2.2.1 +virtualenv==20.25.1 wcwidth==0.2.13 webcolors==1.13 webencodings==0.5.1 @@ -197,5 +193,5 @@ wheel==0.42.0 widgetsnbextension==4.0.10 zipp==3.17.0 -# The following packages are considered to be unsafe in a requirements file: +# The following packages were excluded from the output: # setuptools diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt index 37f56062..a907879b 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 -# +# 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 @@ -15,9 +11,9 @@ async-lru==2.0.4 attrs==23.2.0 babel==2.14.0 beautifulsoup4==4.12.3 -black==24.1.1 +black==24.2.0 bleach==6.1.0 -cachetools==5.3.2 +cachetools==5.3.3 cattrs==23.2.3 certifi==2024.2.2 cffi==1.16.0 @@ -27,12 +23,12 @@ charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 comm==0.2.1 -coverage==7.4.1 +coverage==7.4.3 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.20.1 execnet==2.0.2 executing==2.0.1 @@ -40,27 +36,27 @@ fastjsonschema==2.19.1 filelock==3.13.1 fqdn==1.5.1 gitdb==4.0.11 -gitpython==3.1.41 +gitpython==3.1.42 gprof2dot==2022.7.29 graphviz==0.20.1 greenlet==3.0.3 h11==0.14.0 hepunits==2.3.3 -httpcore==1.0.2 -httpx==0.26.0 -identify==2.5.34 +httpcore==1.0.4 +httpx==0.27.0 +identify==2.5.35 idna==3.6 imagesize==1.4.1 -importlib-metadata==7.0.1 +importlib-metadata==7.0.2 iniconfig==2.0.0 -ipykernel==6.29.2 -ipython==8.21.0 +ipykernel==6.29.3 +ipython==8.22.2 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.22 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 @@ -68,19 +64,19 @@ jupyter-cache==1.0.0 jupyter-client==8.6.0 jupyter-core==5.7.1 jupyter-events==0.9.0 -jupyter-lsp==2.2.2 -jupyter-server==2.12.5 +jupyter-lsp==2.2.4 +jupyter-server==2.13.0 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.2 -jupyterlab==4.1.0 +jupyterlab==4.1.4 jupyterlab-code-formatter==2.2.1 -jupyterlab-git==0.50.0 ; python_version >= "3.7.0" -jupyterlab-lsp==5.0.3 -jupyterlab-myst==2.1.0 ; python_version >= "3.7.0" +jupyterlab-git==0.50.0 +jupyterlab-lsp==5.1.0 +jupyterlab-myst==2.3.1 jupyterlab-pygments==0.3.0 -jupyterlab-server==2.25.2 +jupyterlab-server==2.25.3 jupyterlab-widgets==3.0.10 -latexcodec==2.0.1 +latexcodec==3.0.0 livereload==2.6.3 lsprotocol==2023.0.1 markdown-it-py==3.0.0 @@ -94,13 +90,13 @@ mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==2.0.0 nbclient==0.6.8 -nbconvert==7.16.0 +nbconvert==7.16.2 nbdime==4.0.1 nbformat==5.9.2 -nbmake==1.5.0 +nbmake==1.5.3 nest-asyncio==1.6.0 nodeenv==1.8.0 -notebook-shim==0.2.3 +notebook-shim==0.2.4 overrides==7.7.0 packaging==23.2 pandocfilters==1.5.1 @@ -110,8 +106,8 @@ pathspec==0.12.1 pexpect==4.9.0 platformdirs==4.2.0 pluggy==1.4.0 -pre-commit==3.6.1 -prometheus-client==0.19.0 +pre-commit==3.6.2 +prometheus-client==0.20.0 prompt-toolkit==3.0.43 psutil==5.9.8 ptyprocess==0.7.0 @@ -122,17 +118,17 @@ pycparser==2.21 pydata-sphinx-theme==0.15.2 pydot==1.4.2 pygments==2.17.2 -pyparsing==3.1.1 +pyparsing==3.1.2 pyproject-api==1.6.1 -pytest==8.0.0 +pytest==8.0.2 pytest-cov==4.1.0 pytest-profiling==1.7.0 pytest-xdist==3.5.0 -python-constraint==1.4.0 -python-dateutil==2.8.2 +python-constraint==1.3.1 +python-dateutil==2.9.0.post0 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.1.0 ; python_version >= "3.7.0" +python-lsp-ruff==2.2.0 python-lsp-server==1.10.0 pytoolconfig==1.3.1 pyyaml==6.0.1 @@ -142,24 +138,24 @@ requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.12.0 -rpds-py==0.17.1 -ruff==0.2.1 ; python_version >= "3.7.0" +rpds-py==0.18.0 +ruff==0.3.1 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==7.2.6 -sphinx-api-relink==0.0.8 ; python_version >= "3.7.0" +sphinx-api-relink==0.0.8 sphinx-autobuild==2024.2.4 -sphinx-book-theme==1.1.0 +sphinx-book-theme==1.1.2 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-pybtex-etal-style==0.0.2 ; python_version >= "3.7.0" +sphinx-pybtex-etal-style==0.0.2 sphinx-thebe==0.3.1 sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.8 @@ -170,23 +166,23 @@ sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.7 sphinxcontrib-serializinghtml==1.1.10 sphobjinv==2.3.1 -sqlalchemy==2.0.26 +sqlalchemy==2.0.28 stack-data==0.6.3 tabulate==0.9.0 terminado==0.18.0 tinycss2==1.2.1 tornado==6.4 -tox==4.12.1 +tox==4.14.1 tqdm==4.66.2 traitlets==5.14.1 types-python-dateutil==2.8.19.20240106 types-pyyaml==6.0.12.12 -types-setuptools==69.0.0.20240125 -typing-extensions==4.9.0 +types-setuptools==69.1.0.20240302 +typing-extensions==4.10.0 ujson==5.9.0 uri-template==1.3.0 -urllib3==2.2.0 -virtualenv==20.25.0 +urllib3==2.2.1 +virtualenv==20.25.1 wcwidth==0.2.13 webcolors==1.13 webencodings==0.5.1 @@ -195,5 +191,5 @@ wheel==0.42.0 widgetsnbextension==4.0.10 zipp==3.17.0 -# The following packages are considered to be unsafe in a requirements file: +# The following packages were excluded from the output: # setuptools diff --git a/.constraints/py3.12.txt b/.constraints/py3.12.txt index 42541d15..719c862c 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 -# +# 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 @@ -15,9 +11,9 @@ async-lru==2.0.4 attrs==23.2.0 babel==2.14.0 beautifulsoup4==4.12.3 -black==24.1.1 +black==24.2.0 bleach==6.1.0 -cachetools==5.3.2 +cachetools==5.3.3 cattrs==23.2.3 certifi==2024.2.2 cffi==1.16.0 @@ -27,12 +23,12 @@ charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 comm==0.2.1 -coverage==7.4.1 +coverage==7.4.3 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.20.1 execnet==2.0.2 executing==2.0.1 @@ -40,27 +36,27 @@ fastjsonschema==2.19.1 filelock==3.13.1 fqdn==1.5.1 gitdb==4.0.11 -gitpython==3.1.41 +gitpython==3.1.42 gprof2dot==2022.7.29 graphviz==0.20.1 greenlet==3.0.3 h11==0.14.0 hepunits==2.3.3 -httpcore==1.0.2 -httpx==0.26.0 -identify==2.5.34 +httpcore==1.0.4 +httpx==0.27.0 +identify==2.5.35 idna==3.6 imagesize==1.4.1 -importlib-metadata==7.0.1 +importlib-metadata==7.0.2 iniconfig==2.0.0 -ipykernel==6.29.2 -ipython==8.21.0 +ipykernel==6.29.3 +ipython==8.22.2 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.22 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 @@ -68,19 +64,19 @@ jupyter-cache==1.0.0 jupyter-client==8.6.0 jupyter-core==5.7.1 jupyter-events==0.9.0 -jupyter-lsp==2.2.2 -jupyter-server==2.12.5 +jupyter-lsp==2.2.4 +jupyter-server==2.13.0 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.2 -jupyterlab==4.1.0 +jupyterlab==4.1.4 jupyterlab-code-formatter==2.2.1 -jupyterlab-git==0.50.0 ; python_version >= "3.7.0" -jupyterlab-lsp==5.0.3 -jupyterlab-myst==2.1.0 ; python_version >= "3.7.0" +jupyterlab-git==0.50.0 +jupyterlab-lsp==5.1.0 +jupyterlab-myst==2.3.1 jupyterlab-pygments==0.3.0 -jupyterlab-server==2.25.2 +jupyterlab-server==2.25.3 jupyterlab-widgets==3.0.10 -latexcodec==2.0.1 +latexcodec==3.0.0 livereload==2.6.3 lsprotocol==2023.0.1 markdown-it-py==3.0.0 @@ -94,13 +90,13 @@ mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==2.0.0 nbclient==0.6.8 -nbconvert==7.16.0 +nbconvert==7.16.2 nbdime==4.0.1 nbformat==5.9.2 -nbmake==1.5.0 +nbmake==1.5.3 nest-asyncio==1.6.0 nodeenv==1.8.0 -notebook-shim==0.2.3 +notebook-shim==0.2.4 overrides==7.7.0 packaging==23.2 pandocfilters==1.5.1 @@ -110,8 +106,8 @@ pathspec==0.12.1 pexpect==4.9.0 platformdirs==4.2.0 pluggy==1.4.0 -pre-commit==3.6.1 -prometheus-client==0.19.0 +pre-commit==3.6.2 +prometheus-client==0.20.0 prompt-toolkit==3.0.43 psutil==5.9.8 ptyprocess==0.7.0 @@ -122,17 +118,17 @@ pycparser==2.21 pydata-sphinx-theme==0.15.2 pydot==1.4.2 pygments==2.17.2 -pyparsing==3.1.1 +pyparsing==3.1.2 pyproject-api==1.6.1 -pytest==8.0.0 +pytest==8.0.2 pytest-cov==4.1.0 pytest-profiling==1.7.0 pytest-xdist==3.5.0 -python-constraint==1.4.0 -python-dateutil==2.8.2 +python-constraint==1.3.1 +python-dateutil==2.9.0.post0 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.1.0 ; python_version >= "3.7.0" +python-lsp-ruff==2.2.0 python-lsp-server==1.10.0 pytoolconfig==1.3.1 pyyaml==6.0.1 @@ -142,24 +138,24 @@ requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.12.0 -rpds-py==0.17.1 -ruff==0.2.1 ; python_version >= "3.7.0" +rpds-py==0.18.0 +ruff==0.3.1 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==7.2.6 -sphinx-api-relink==0.0.8 ; python_version >= "3.7.0" +sphinx-api-relink==0.0.8 sphinx-autobuild==2024.2.4 -sphinx-book-theme==1.1.0 +sphinx-book-theme==1.1.2 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-pybtex-etal-style==0.0.2 ; python_version >= "3.7.0" +sphinx-pybtex-etal-style==0.0.2 sphinx-thebe==0.3.1 sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.8 @@ -170,23 +166,23 @@ sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.7 sphinxcontrib-serializinghtml==1.1.10 sphobjinv==2.3.1 -sqlalchemy==2.0.26 +sqlalchemy==2.0.28 stack-data==0.6.3 tabulate==0.9.0 terminado==0.18.0 tinycss2==1.2.1 tornado==6.4 -tox==4.12.1 +tox==4.14.1 tqdm==4.66.2 traitlets==5.14.1 types-python-dateutil==2.8.19.20240106 types-pyyaml==6.0.12.12 -types-setuptools==69.0.0.20240125 -typing-extensions==4.9.0 +types-setuptools==69.1.0.20240302 +typing-extensions==4.10.0 ujson==5.9.0 uri-template==1.3.0 -urllib3==2.2.0 -virtualenv==20.25.0 +urllib3==2.2.1 +virtualenv==20.25.1 wcwidth==0.2.13 webcolors==1.13 webencodings==0.5.1 @@ -195,5 +191,5 @@ wheel==0.42.0 widgetsnbextension==4.0.10 zipp==3.17.0 -# The following packages are considered to be unsafe in a requirements file: +# The following packages were excluded from the output: # setuptools diff --git a/.constraints/py3.7.txt b/.constraints/py3.7.txt index e7a99770..dd0724df 100644 --- a/.constraints/py3.7.txt +++ b/.constraints/py3.7.txt @@ -1,9 +1,5 @@ -# -# 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 --resolver=backtracking --strip-extras -# +# This file was autogenerated by uv via the following command: +# uv pip compile pyproject.toml -o .constraints/py3.7.txt --all-extras --no-annotate --python-version=3.7 --no-emit-package setuptools accessible-pygments==0.0.4 aiofiles==22.1.0 aiosqlite==0.19.0 @@ -19,7 +15,7 @@ beautifulsoup4==4.12.3 black==23.3.0 bleach==6.0.0 cached-property==1.5.2 -cachetools==5.3.2 +cachetools==5.3.3 cattrs==23.1.2 certifi==2024.2.2 cffi==1.15.1 @@ -34,7 +30,7 @@ debugpy==1.7.0 decorator==5.1.1 defusedxml==0.7.1 distlib==0.3.8 -docstring-to-markdown==0.13 +docstring-to-markdown==0.15 docutils==0.17.1 entrypoints==0.4 exceptiongroup==1.2.0 @@ -43,7 +39,7 @@ fastjsonschema==2.19.1 filelock==3.12.2 fqdn==1.5.1 gitdb==4.0.11 -gitpython==3.1.41 +gitpython==3.1.42 gprof2dot==2022.7.29 graphviz==0.20.1 greenlet==3.0.3 @@ -51,7 +47,7 @@ hepunits==2.3.3 identify==2.5.24 idna==3.6 imagesize==1.4.1 -importlib-metadata==6.7.0 ; python_version < "3.8.0" +importlib-metadata==6.7.0 importlib-resources==5.12.0 iniconfig==2.0.0 ipykernel==6.16.2 @@ -62,7 +58,7 @@ isoduration==20.11.0 isort==5.11.5 jedi==0.18.2 jinja2==3.1.3 -json5==0.9.14 +json5==0.9.16 jsonpointer==2.4 jsonschema==4.17.3 jupyter-cache==0.5.0 @@ -77,13 +73,13 @@ jupyter-server-ydoc==0.8.0 jupyter-ydoc==0.2.5 jupyterlab==3.6.7 jupyterlab-code-formatter==2.2.1 -jupyterlab-git==0.44.0 ; python_version >= "3.7.0" +jupyterlab-git==0.44.0 jupyterlab-lsp==3.10.2 -jupyterlab-myst==1.2.0 ; python_version >= "3.7.0" +jupyterlab-myst==1.2.0 jupyterlab-pygments==0.2.2 jupyterlab-server==2.24.0 jupyterlab-widgets==3.0.10 -latexcodec==2.0.1 +latexcodec==3.0.0 livereload==2.6.3 lsprotocol==2023.0.1 markdown-it-py==2.2.0 @@ -101,11 +97,11 @@ nbclient==0.5.13 nbconvert==7.6.0 nbdime==3.2.1 nbformat==5.8.0 -nbmake==1.2.1 ; python_version == "3.7.*" +nbmake==1.2.1 nest-asyncio==1.6.0 nodeenv==1.8.0 notebook==6.5.6 -notebook-shim==0.2.3 +notebook-shim==0.2.4 packaging==23.2 pandocfilters==1.5.1 parso==0.8.3 @@ -128,18 +124,18 @@ pydantic==1.10.14 pydata-sphinx-theme==0.13.3 pydot==1.4.2 pygments==2.17.2 -pyparsing==3.1.1 +pyparsing==3.1.2 pyproject-api==1.5.3 pyrsistent==0.19.3 pytest==7.4.4 pytest-cov==4.1.0 pytest-profiling==1.7.0 pytest-xdist==3.5.0 -python-constraint==1.4.0 -python-dateutil==2.8.2 +python-constraint==1.3.1 +python-dateutil==2.9.0.post0 python-json-logger==2.0.7 python-lsp-jsonrpc==1.0.0 -python-lsp-ruff==1.6.0 ; python_version >= "3.7.0" +python-lsp-ruff==1.6.0 python-lsp-server==1.7.4 pytoolconfig==1.3.0 pytz==2024.1 @@ -149,15 +145,15 @@ requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.9.0 -ruff==0.1.15 ; python_version >= "3.7.0" +ruff==0.1.15 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.4.1 sphinx==5.3.0 -sphinx-api-relink==0.0.8 ; python_version >= "3.7.0" +sphinx-api-relink==0.0.8 sphinx-autobuild==2021.3.14 sphinx-book-theme==1.0.1 sphinx-codeautolink==0.15.0 @@ -165,7 +161,7 @@ sphinx-comments==0.0.3 sphinx-copybutton==0.5.2 sphinx-design==0.4.1 sphinx-hep-pdgref==0.2.0 -sphinx-pybtex-etal-style==0.0.2 ; python_version >= "3.7.0" +sphinx-pybtex-etal-style==0.0.2 sphinx-thebe==0.2.1 sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.2 @@ -176,7 +172,7 @@ sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 sphobjinv==2.3.1 -sqlalchemy==1.4.51 +sqlalchemy==1.4.52 tabulate==0.9.0 terminado==0.17.1 tinycss2==1.2.1 @@ -188,11 +184,11 @@ traitlets==5.9.0 typed-ast==1.5.5 types-pyyaml==6.0.12.12 types-setuptools==69.0.0.0 -typing-extensions==4.7.1 ; python_version < "3.10.0" +typing-extensions==4.7.1 ujson==5.7.0 uri-template==1.3.0 urllib3==2.0.7 -virtualenv==20.25.0 +virtualenv==20.25.1 wcwidth==0.2.13 webcolors==1.13 webencodings==0.5.1 @@ -203,5 +199,5 @@ y-py==0.6.2 ypy-websocket==0.8.4 zipp==3.15.0 -# The following packages are considered to be unsafe in a requirements file: +# The following packages were excluded from the output: # setuptools diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index c3a587ec..efd25f29 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 -# +# 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 @@ -16,9 +12,9 @@ attrs==23.2.0 babel==2.14.0 backcall==0.2.0 beautifulsoup4==4.12.3 -black==24.1.1 +black==24.2.0 bleach==6.1.0 -cachetools==5.3.2 +cachetools==5.3.3 cattrs==23.2.3 certifi==2024.2.2 cffi==1.16.0 @@ -28,12 +24,12 @@ charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 comm==0.2.1 -coverage==7.4.1 +coverage==7.4.3 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.17.1 exceptiongroup==1.2.0 execnet==2.0.2 @@ -42,28 +38,28 @@ fastjsonschema==2.19.1 filelock==3.13.1 fqdn==1.5.1 gitdb==4.0.11 -gitpython==3.1.41 +gitpython==3.1.42 gprof2dot==2022.7.29 graphviz==0.20.1 greenlet==3.0.3 h11==0.14.0 hepunits==2.3.3 -httpcore==1.0.2 -httpx==0.26.0 -identify==2.5.34 +httpcore==1.0.4 +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.0.2 +importlib-resources==6.1.3 iniconfig==2.0.0 -ipykernel==6.29.2 +ipykernel==6.29.3 ipython==8.12.3 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.22 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 @@ -71,19 +67,19 @@ jupyter-cache==0.6.1 jupyter-client==8.6.0 jupyter-core==5.7.1 jupyter-events==0.9.0 -jupyter-lsp==2.2.2 -jupyter-server==2.12.5 +jupyter-lsp==2.2.4 +jupyter-server==2.13.0 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.2 -jupyterlab==4.1.0 +jupyterlab==4.1.4 jupyterlab-code-formatter==2.2.1 -jupyterlab-git==0.50.0 ; python_version >= "3.7.0" -jupyterlab-lsp==5.0.3 -jupyterlab-myst==2.1.0 ; python_version >= "3.7.0" +jupyterlab-git==0.50.0 +jupyterlab-lsp==5.1.0 +jupyterlab-myst==2.3.1 jupyterlab-pygments==0.3.0 -jupyterlab-server==2.25.2 +jupyterlab-server==2.25.3 jupyterlab-widgets==3.0.10 -latexcodec==2.0.1 +latexcodec==3.0.0 livereload==2.6.3 lsprotocol==2023.0.1 markdown-it-py==2.2.0 @@ -97,13 +93,13 @@ mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 nbclient==0.6.8 -nbconvert==7.16.0 +nbconvert==7.16.2 nbdime==4.0.1 nbformat==5.9.2 -nbmake==1.5.0 +nbmake==1.5.3 nest-asyncio==1.6.0 nodeenv==1.8.0 -notebook-shim==0.2.3 +notebook-shim==0.2.4 overrides==7.7.0 packaging==23.2 pandocfilters==1.5.1 @@ -116,7 +112,7 @@ pkgutil-resolve-name==1.3.10 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.8 ptyprocess==0.7.0 @@ -127,17 +123,17 @@ pycparser==2.21 pydata-sphinx-theme==0.14.4 pydot==1.4.2 pygments==2.17.2 -pyparsing==3.1.1 +pyparsing==3.1.2 pyproject-api==1.6.1 -pytest==8.0.0 +pytest==8.0.2 pytest-cov==4.1.0 pytest-profiling==1.7.0 pytest-xdist==3.5.0 -python-constraint==1.4.0 -python-dateutil==2.8.2 +python-constraint==1.3.1 +python-dateutil==2.9.0.post0 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.1.0 ; python_version >= "3.7.0" +python-lsp-ruff==2.2.0 python-lsp-server==1.10.0 pytoolconfig==1.3.1 pytz==2024.1 @@ -148,16 +144,16 @@ requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.12.0 -rpds-py==0.17.1 -ruff==0.2.1 ; python_version >= "3.7.0" +rpds-py==0.18.0 +ruff==0.3.1 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-api-relink==0.0.8 ; python_version >= "3.7.0" +sphinx-api-relink==0.0.8 sphinx-autobuild==2021.3.14 sphinx-book-theme==1.0.1 sphinx-codeautolink==0.15.0 @@ -165,7 +161,7 @@ sphinx-comments==0.0.3 sphinx-copybutton==0.5.2 sphinx-design==0.5.0 sphinx-hep-pdgref==0.2.0 -sphinx-pybtex-etal-style==0.0.2 ; python_version >= "3.7.0" +sphinx-pybtex-etal-style==0.0.2 sphinx-thebe==0.3.1 sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.4 @@ -176,24 +172,24 @@ sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 sphobjinv==2.3.1 -sqlalchemy==2.0.26 +sqlalchemy==2.0.28 stack-data==0.6.3 tabulate==0.9.0 terminado==0.18.0 tinycss2==1.2.1 tomli==2.0.1 tornado==6.4 -tox==4.12.1 +tox==4.14.1 tqdm==4.66.2 traitlets==5.14.1 types-python-dateutil==2.8.19.20240106 types-pyyaml==6.0.12.12 -types-setuptools==69.0.0.20240125 -typing-extensions==4.9.0 ; python_version < "3.10.0" +types-setuptools==69.1.0.20240302 +typing-extensions==4.10.0 ujson==5.9.0 uri-template==1.3.0 -urllib3==2.2.0 -virtualenv==20.25.0 +urllib3==2.2.1 +virtualenv==20.25.1 wcwidth==0.2.13 webcolors==1.13 webencodings==0.5.1 @@ -202,5 +198,5 @@ wheel==0.42.0 widgetsnbextension==4.0.10 zipp==3.17.0 -# The following packages are considered to be unsafe in a requirements file: +# The following packages were excluded from the output: # setuptools diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt index 1ef30b0d..ab800f2f 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 -# +# 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 @@ -15,9 +11,9 @@ async-lru==2.0.4 attrs==23.2.0 babel==2.14.0 beautifulsoup4==4.12.3 -black==24.1.1 +black==24.2.0 bleach==6.1.0 -cachetools==5.3.2 +cachetools==5.3.3 cattrs==23.2.3 certifi==2024.2.2 cffi==1.16.0 @@ -27,12 +23,12 @@ charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 comm==0.2.1 -coverage==7.4.1 +coverage==7.4.3 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.20.1 exceptiongroup==1.2.0 execnet==2.0.2 @@ -41,27 +37,27 @@ fastjsonschema==2.19.1 filelock==3.13.1 fqdn==1.5.1 gitdb==4.0.11 -gitpython==3.1.41 +gitpython==3.1.42 gprof2dot==2022.7.29 graphviz==0.20.1 greenlet==3.0.3 h11==0.14.0 hepunits==2.3.3 -httpcore==1.0.2 -httpx==0.26.0 -identify==2.5.34 +httpcore==1.0.4 +httpx==0.27.0 +identify==2.5.35 idna==3.6 imagesize==1.4.1 -importlib-metadata==7.0.1 +importlib-metadata==7.0.2 iniconfig==2.0.0 -ipykernel==6.29.2 +ipykernel==6.29.3 ipython==8.18.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.22 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 @@ -69,19 +65,19 @@ jupyter-cache==1.0.0 jupyter-client==8.6.0 jupyter-core==5.7.1 jupyter-events==0.9.0 -jupyter-lsp==2.2.2 -jupyter-server==2.12.5 +jupyter-lsp==2.2.4 +jupyter-server==2.13.0 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.2 -jupyterlab==4.1.0 +jupyterlab==4.1.4 jupyterlab-code-formatter==2.2.1 -jupyterlab-git==0.50.0 ; python_version >= "3.7.0" -jupyterlab-lsp==5.0.3 -jupyterlab-myst==2.1.0 ; python_version >= "3.7.0" +jupyterlab-git==0.50.0 +jupyterlab-lsp==5.1.0 +jupyterlab-myst==2.3.1 jupyterlab-pygments==0.3.0 -jupyterlab-server==2.25.2 +jupyterlab-server==2.25.3 jupyterlab-widgets==3.0.10 -latexcodec==2.0.1 +latexcodec==3.0.0 livereload==2.6.3 lsprotocol==2023.0.1 markdown-it-py==3.0.0 @@ -95,13 +91,13 @@ mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==2.0.0 nbclient==0.6.8 -nbconvert==7.16.0 +nbconvert==7.16.2 nbdime==4.0.1 nbformat==5.9.2 -nbmake==1.5.0 +nbmake==1.5.3 nest-asyncio==1.6.0 nodeenv==1.8.0 -notebook-shim==0.2.3 +notebook-shim==0.2.4 overrides==7.7.0 packaging==23.2 pandocfilters==1.5.1 @@ -111,8 +107,8 @@ pathspec==0.12.1 pexpect==4.9.0 platformdirs==4.2.0 pluggy==1.4.0 -pre-commit==3.6.1 -prometheus-client==0.19.0 +pre-commit==3.6.2 +prometheus-client==0.20.0 prompt-toolkit==3.0.43 psutil==5.9.8 ptyprocess==0.7.0 @@ -123,17 +119,17 @@ pycparser==2.21 pydata-sphinx-theme==0.15.2 pydot==1.4.2 pygments==2.17.2 -pyparsing==3.1.1 +pyparsing==3.1.2 pyproject-api==1.6.1 -pytest==8.0.0 +pytest==8.0.2 pytest-cov==4.1.0 pytest-profiling==1.7.0 pytest-xdist==3.5.0 -python-constraint==1.4.0 -python-dateutil==2.8.2 +python-constraint==1.3.1 +python-dateutil==2.9.0.post0 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.1.0 ; python_version >= "3.7.0" +python-lsp-ruff==2.2.0 python-lsp-server==1.10.0 pytoolconfig==1.3.1 pyyaml==6.0.1 @@ -143,24 +139,24 @@ requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.12.0 -rpds-py==0.17.1 -ruff==0.2.1 ; python_version >= "3.7.0" +rpds-py==0.18.0 +ruff==0.3.1 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==7.2.6 -sphinx-api-relink==0.0.8 ; python_version >= "3.7.0" +sphinx-api-relink==0.0.8 sphinx-autobuild==2024.2.4 -sphinx-book-theme==1.1.0 +sphinx-book-theme==1.1.2 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-pybtex-etal-style==0.0.2 ; python_version >= "3.7.0" +sphinx-pybtex-etal-style==0.0.2 sphinx-thebe==0.3.1 sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.8 @@ -171,24 +167,24 @@ sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.7 sphinxcontrib-serializinghtml==1.1.10 sphobjinv==2.3.1 -sqlalchemy==2.0.26 +sqlalchemy==2.0.28 stack-data==0.6.3 tabulate==0.9.0 terminado==0.18.0 tinycss2==1.2.1 tomli==2.0.1 tornado==6.4 -tox==4.12.1 +tox==4.14.1 tqdm==4.66.2 traitlets==5.14.1 types-python-dateutil==2.8.19.20240106 types-pyyaml==6.0.12.12 -types-setuptools==69.0.0.20240125 -typing-extensions==4.9.0 ; python_version < "3.10.0" +types-setuptools==69.1.0.20240302 +typing-extensions==4.10.0 ujson==5.9.0 uri-template==1.3.0 -urllib3==2.2.0 -virtualenv==20.25.0 +urllib3==2.2.1 +virtualenv==20.25.1 wcwidth==0.2.13 webcolors==1.13 webencodings==0.5.1 @@ -197,5 +193,5 @@ wheel==0.42.0 widgetsnbextension==4.0.10 zipp==3.17.0 -# The following packages are considered to be unsafe in a requirements file: +# The following packages were excluded from the output: # setuptools diff --git a/.github/workflows/pr-linting.yml b/.github/workflows/pr-linting.yml index cd3bb74f..0fab8410 100644 --- a/.github/workflows/pr-linting.yml +++ b/.github/workflows/pr-linting.yml @@ -10,24 +10,5 @@ on: - unlabeled jobs: - check-labels: - name: Check labels - runs-on: ubuntu-22.04 - steps: - - uses: docker://agilepathway/pull-request-label-checker:latest # cspell:ignore agilepathway - with: - any_of: >- - 🐛 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-22.04 - steps: - - uses: actions/checkout@v4 - - 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 + lint-pr: + uses: ComPWA/actions/.github/workflows/pr-linting.yml@v1 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a11921c4..de86956f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -40,7 +40,7 @@ repos: metadata.vscode - repo: https://github.com/ComPWA/policy - rev: 0.2.5 + rev: 0.3.0 hooks: - id: check-dev-files args: @@ -58,7 +58,7 @@ repos: - --extras-require=doc,viz - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.2.1 + rev: v0.3.1 hooks: - id: ruff args: [--fix] @@ -120,7 +120,7 @@ repos: pass_filenames: false - repo: https://github.com/streetsidesoftware/cspell-cli - rev: v8.3.0 + rev: v8.6.0 hooks: - id: cspell @@ -146,6 +146,6 @@ repos: - python - repo: https://github.com/ComPWA/mirrors-pyright - rev: v1.1.350 + rev: v1.1.352 hooks: - id: pyright diff --git a/.vscode/settings.json b/.vscode/settings.json index 5610dec3..aaa9bbbd 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -55,6 +55,10 @@ "multiDiffEditor.experimental.enabled": true, "mypy-type-checker.args": ["--config-file=${workspaceFolder}/pyproject.toml"], "mypy-type-checker.importStrategy": "fromEnvironment", + "notebook.codeActionsOnSave": { + "notebook.source.organizeImports": "explicit" + }, + "notebook.formatOnSave.enabled": true, "notebook.gotoSymbols.showAllSymbols": true, "python.analysis.autoImportCompletions": false, "python.analysis.inlayHints.pytestParameters": true, @@ -65,6 +69,7 @@ "redhat.telemetry.enabled": false, "rewrap.wrappingColumn": 88, "ruff.enable": true, + "ruff.importStrategy": "fromEnvironment", "ruff.organizeImports": true, "search.exclude": { "**/tests/**/__init__.py": true,