diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index 1129c701..f4d5c00d 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -5,17 +5,17 @@ # pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.10.txt --strip-extras # accessible-pygments==0.0.4 -alabaster==0.7.13 -anyio==4.1.0 +alabaster==0.7.16 +anyio==4.2.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 asttokens==2.4.1 async-lru==2.0.4 -attrs==23.1.0 -babel==2.13.1 +attrs==23.2.0 +babel==2.14.0 beautifulsoup4==4.12.2 -black==23.11.0 +black==23.12.1 bleach==6.1.0 cachetools==5.3.2 cattrs==23.2.3 @@ -26,51 +26,51 @@ chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 -comm==0.2.0 -coverage==7.3.2 +comm==0.2.1 +coverage==7.4.0 debugpy==1.8.0 decorator==5.1.1 defusedxml==0.7.1 -distlib==0.3.7 +distlib==0.3.8 docstring-to-markdown==0.13 -docutils==0.19 +docutils==0.20.1 exceptiongroup==1.2.0 execnet==2.0.2 executing==2.0.1 -fastjsonschema==2.19.0 +fastjsonschema==2.19.1 filelock==3.13.1 fqdn==1.5.1 gitdb==4.0.11 -gitpython==3.1.40 +gitpython==3.1.41 gprof2dot==2022.7.29 graphviz==0.20.1 -greenlet==3.0.2 -hepunits==2.3.2 +greenlet==3.0.3 +hepunits==2.3.3 identify==2.5.33 idna==3.6 imagesize==1.4.1 -importlib-metadata==7.0.0 +importlib-metadata==7.0.1 iniconfig==2.0.0 -ipykernel==6.27.1 -ipython==8.18.1 +ipykernel==6.28.0 +ipython==8.20.0 ipywidgets==8.1.1 isoduration==20.11.0 -isort==5.12.0 +isort==5.13.2 jedi==0.19.1 -jinja2==3.1.2 +jinja2==3.1.3 json5==0.9.14 jsonpointer==2.4 jsonschema==4.20.0 -jsonschema-specifications==2023.11.2 +jsonschema-specifications==2023.12.1 jupyter-cache==1.0.0 jupyter-client==8.6.0 -jupyter-core==5.5.0 +jupyter-core==5.7.1 jupyter-events==0.9.0 jupyter-lsp==2.2.1 -jupyter-server==2.12.1 +jupyter-server==2.12.4 jupyter-server-mathjax==0.2.6 -jupyter-server-terminals==0.4.4 -jupyterlab==4.0.9 +jupyter-server-terminals==0.5.1 +jupyterlab==4.0.10 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.0 ; python_version >= "3.7.0" jupyterlab-lsp==5.0.1 @@ -80,19 +80,19 @@ jupyterlab-server==2.25.2 jupyterlab-widgets==3.0.9 latexcodec==2.0.1 livereload==2.6.3 -lsprotocol==2023.0.0 +lsprotocol==2023.0.1 markdown-it-py==3.0.0 markupsafe==2.1.3 matplotlib-inline==0.1.6 mdit-py-plugins==0.4.0 mdurl==0.1.2 mistune==3.0.2 -mypy==1.7.1 +mypy==1.8.0 mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==2.0.0 nbclient==0.6.8 -nbconvert==7.12.0 +nbconvert==7.14.1 nbdime==4.0.1 nbformat==5.9.2 nbmake==1.4.6 @@ -104,25 +104,25 @@ packaging==23.2 pandocfilters==1.5.0 parso==0.8.3 particle==0.23.1 -pathspec==0.11.2 +pathspec==0.12.1 pexpect==4.9.0 platformdirs==4.1.0 pluggy==1.3.0 -pre-commit==3.5.0 +pre-commit==3.6.0 prometheus-client==0.19.0 -prompt-toolkit==3.0.41 -psutil==5.9.6 +prompt-toolkit==3.0.43 +psutil==5.9.7 ptyprocess==0.7.0 pure-eval==0.2.2 pybtex==0.24.0 pybtex-docutils==1.0.3 pycparser==2.21 -pydata-sphinx-theme==0.14.4 +pydata-sphinx-theme==0.15.1 pydot==1.4.2 pygments==2.17.2 pyparsing==3.1.1 pyproject-api==1.6.1 -pytest==7.4.3 +pytest==7.4.4 pytest-cov==4.1.0 pytest-profiling==1.7.0 pytest-xdist==3.5.0 @@ -130,28 +130,28 @@ python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.0.0 ; python_version >= "3.7.0" +python-lsp-ruff==2.0.2 ; python_version >= "3.7.0" python-lsp-server==1.9.0 -pytoolconfig==1.2.6 +pytoolconfig==1.3.1 pyyaml==6.0.1 pyzmq==25.1.2 -referencing==0.32.0 +referencing==0.32.1 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.11.0 -rpds-py==0.13.2 -ruff==0.1.7 ; python_version >= "3.7.0" +rpds-py==0.16.2 +ruff==0.1.13 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 smmap==5.0.1 sniffio==1.3.0 snowballstemmer==2.2.0 soupsieve==2.5 -sphinx==6.2.1 -sphinx-api-relink==0.0.6 ; python_version >= "3.7.0" +sphinx==7.2.6 +sphinx-api-relink==0.0.8 ; python_version >= "3.7.0" sphinx-autobuild==2021.3.14 -sphinx-book-theme==1.0.1 +sphinx-book-theme==1.1.0 sphinx-codeautolink==0.15.0 sphinx-comments==0.0.3 sphinx-copybutton==0.5.2 @@ -161,32 +161,32 @@ sphinx-pybtex-etal-style==0.0.2 ; python_version >= "3.7.0" sphinx-thebe==0.3.0 sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.7 -sphinxcontrib-bibtex==2.5.0 +sphinxcontrib-bibtex==2.6.2 sphinxcontrib-devhelp==1.0.5 sphinxcontrib-htmlhelp==2.0.4 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.6 sphinxcontrib-serializinghtml==1.1.9 sphobjinv==2.3.1 -sqlalchemy==2.0.23 +sqlalchemy==2.0.25 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.11.4 +tox==4.12.0 tqdm==4.66.1 -traitlets==5.14.0 -types-python-dateutil==2.8.19.14 +traitlets==5.14.1 +types-python-dateutil==2.8.19.20240106 types-pyyaml==6.0.12.12 -types-setuptools==69.0.0.0 -typing-extensions==4.8.0 -ujson==5.8.0 +types-setuptools==69.0.0.20240106 +typing-extensions==4.9.0 +ujson==5.9.0 uri-template==1.3.0 urllib3==2.1.0 virtualenv==20.25.0 -wcwidth==0.2.12 +wcwidth==0.2.13 webcolors==1.13 webencodings==0.5.1 websocket-client==1.7.0 diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt index 0092e9ea..65d0c780 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -5,17 +5,17 @@ # pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.11.txt --strip-extras # accessible-pygments==0.0.4 -alabaster==0.7.13 -anyio==4.1.0 +alabaster==0.7.16 +anyio==4.2.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 asttokens==2.4.1 async-lru==2.0.4 -attrs==23.1.0 -babel==2.13.1 +attrs==23.2.0 +babel==2.14.0 beautifulsoup4==4.12.2 -black==23.11.0 +black==23.12.1 bleach==6.1.0 cachetools==5.3.2 cattrs==23.2.3 @@ -26,50 +26,50 @@ chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 -comm==0.2.0 -coverage==7.3.2 +comm==0.2.1 +coverage==7.4.0 debugpy==1.8.0 decorator==5.1.1 defusedxml==0.7.1 -distlib==0.3.7 +distlib==0.3.8 docstring-to-markdown==0.13 -docutils==0.19 +docutils==0.20.1 execnet==2.0.2 executing==2.0.1 -fastjsonschema==2.19.0 +fastjsonschema==2.19.1 filelock==3.13.1 fqdn==1.5.1 gitdb==4.0.11 -gitpython==3.1.40 +gitpython==3.1.41 gprof2dot==2022.7.29 graphviz==0.20.1 -greenlet==3.0.2 -hepunits==2.3.2 +greenlet==3.0.3 +hepunits==2.3.3 identify==2.5.33 idna==3.6 imagesize==1.4.1 -importlib-metadata==7.0.0 +importlib-metadata==7.0.1 iniconfig==2.0.0 -ipykernel==6.27.1 -ipython==8.18.1 +ipykernel==6.28.0 +ipython==8.20.0 ipywidgets==8.1.1 isoduration==20.11.0 -isort==5.12.0 +isort==5.13.2 jedi==0.19.1 -jinja2==3.1.2 +jinja2==3.1.3 json5==0.9.14 jsonpointer==2.4 jsonschema==4.20.0 -jsonschema-specifications==2023.11.2 +jsonschema-specifications==2023.12.1 jupyter-cache==1.0.0 jupyter-client==8.6.0 -jupyter-core==5.5.0 +jupyter-core==5.7.1 jupyter-events==0.9.0 jupyter-lsp==2.2.1 -jupyter-server==2.12.1 +jupyter-server==2.12.4 jupyter-server-mathjax==0.2.6 -jupyter-server-terminals==0.4.4 -jupyterlab==4.0.9 +jupyter-server-terminals==0.5.1 +jupyterlab==4.0.10 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.0 ; python_version >= "3.7.0" jupyterlab-lsp==5.0.1 @@ -79,19 +79,19 @@ jupyterlab-server==2.25.2 jupyterlab-widgets==3.0.9 latexcodec==2.0.1 livereload==2.6.3 -lsprotocol==2023.0.0 +lsprotocol==2023.0.1 markdown-it-py==3.0.0 markupsafe==2.1.3 matplotlib-inline==0.1.6 mdit-py-plugins==0.4.0 mdurl==0.1.2 mistune==3.0.2 -mypy==1.7.1 +mypy==1.8.0 mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==2.0.0 nbclient==0.6.8 -nbconvert==7.12.0 +nbconvert==7.14.1 nbdime==4.0.1 nbformat==5.9.2 nbmake==1.4.6 @@ -103,25 +103,25 @@ packaging==23.2 pandocfilters==1.5.0 parso==0.8.3 particle==0.23.1 -pathspec==0.11.2 +pathspec==0.12.1 pexpect==4.9.0 platformdirs==4.1.0 pluggy==1.3.0 -pre-commit==3.5.0 +pre-commit==3.6.0 prometheus-client==0.19.0 -prompt-toolkit==3.0.41 -psutil==5.9.6 +prompt-toolkit==3.0.43 +psutil==5.9.7 ptyprocess==0.7.0 pure-eval==0.2.2 pybtex==0.24.0 pybtex-docutils==1.0.3 pycparser==2.21 -pydata-sphinx-theme==0.14.4 +pydata-sphinx-theme==0.15.1 pydot==1.4.2 pygments==2.17.2 pyparsing==3.1.1 pyproject-api==1.6.1 -pytest==7.4.3 +pytest==7.4.4 pytest-cov==4.1.0 pytest-profiling==1.7.0 pytest-xdist==3.5.0 @@ -129,28 +129,28 @@ python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.0.0 ; python_version >= "3.7.0" +python-lsp-ruff==2.0.2 ; python_version >= "3.7.0" python-lsp-server==1.9.0 -pytoolconfig==1.2.6 +pytoolconfig==1.3.1 pyyaml==6.0.1 pyzmq==25.1.2 -referencing==0.32.0 +referencing==0.32.1 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.11.0 -rpds-py==0.13.2 -ruff==0.1.7 ; python_version >= "3.7.0" +rpds-py==0.16.2 +ruff==0.1.13 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 smmap==5.0.1 sniffio==1.3.0 snowballstemmer==2.2.0 soupsieve==2.5 -sphinx==6.2.1 -sphinx-api-relink==0.0.6 ; python_version >= "3.7.0" +sphinx==7.2.6 +sphinx-api-relink==0.0.8 ; python_version >= "3.7.0" sphinx-autobuild==2021.3.14 -sphinx-book-theme==1.0.1 +sphinx-book-theme==1.1.0 sphinx-codeautolink==0.15.0 sphinx-comments==0.0.3 sphinx-copybutton==0.5.2 @@ -160,31 +160,31 @@ sphinx-pybtex-etal-style==0.0.2 ; python_version >= "3.7.0" sphinx-thebe==0.3.0 sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.7 -sphinxcontrib-bibtex==2.5.0 +sphinxcontrib-bibtex==2.6.2 sphinxcontrib-devhelp==1.0.5 sphinxcontrib-htmlhelp==2.0.4 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.6 sphinxcontrib-serializinghtml==1.1.9 sphobjinv==2.3.1 -sqlalchemy==2.0.23 +sqlalchemy==2.0.25 stack-data==0.6.3 tabulate==0.9.0 terminado==0.18.0 tinycss2==1.2.1 tornado==6.4 -tox==4.11.4 +tox==4.12.0 tqdm==4.66.1 -traitlets==5.14.0 -types-python-dateutil==2.8.19.14 +traitlets==5.14.1 +types-python-dateutil==2.8.19.20240106 types-pyyaml==6.0.12.12 -types-setuptools==69.0.0.0 -typing-extensions==4.8.0 -ujson==5.8.0 +types-setuptools==69.0.0.20240106 +typing-extensions==4.9.0 +ujson==5.9.0 uri-template==1.3.0 urllib3==2.1.0 virtualenv==20.25.0 -wcwidth==0.2.12 +wcwidth==0.2.13 webcolors==1.13 webencodings==0.5.1 websocket-client==1.7.0 diff --git a/.constraints/py3.12.txt b/.constraints/py3.12.txt index 7c9dc1cd..307f103b 100644 --- a/.constraints/py3.12.txt +++ b/.constraints/py3.12.txt @@ -5,17 +5,17 @@ # pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.12.txt --strip-extras # accessible-pygments==0.0.4 -alabaster==0.7.13 -anyio==4.1.0 +alabaster==0.7.16 +anyio==4.2.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 asttokens==2.4.1 async-lru==2.0.4 -attrs==23.1.0 -babel==2.13.1 +attrs==23.2.0 +babel==2.14.0 beautifulsoup4==4.12.2 -black==23.11.0 +black==23.12.1 bleach==6.1.0 cachetools==5.3.2 cattrs==23.2.3 @@ -26,50 +26,50 @@ chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 -comm==0.2.0 -coverage==7.3.2 +comm==0.2.1 +coverage==7.4.0 debugpy==1.8.0 decorator==5.1.1 defusedxml==0.7.1 -distlib==0.3.7 +distlib==0.3.8 docstring-to-markdown==0.13 -docutils==0.19 +docutils==0.20.1 execnet==2.0.2 executing==2.0.1 -fastjsonschema==2.19.0 +fastjsonschema==2.19.1 filelock==3.13.1 fqdn==1.5.1 gitdb==4.0.11 -gitpython==3.1.40 +gitpython==3.1.41 gprof2dot==2022.7.29 graphviz==0.20.1 -greenlet==3.0.2 -hepunits==2.3.2 +greenlet==3.0.3 +hepunits==2.3.3 identify==2.5.33 idna==3.6 imagesize==1.4.1 -importlib-metadata==7.0.0 +importlib-metadata==7.0.1 iniconfig==2.0.0 -ipykernel==6.27.1 -ipython==8.18.1 +ipykernel==6.28.0 +ipython==8.20.0 ipywidgets==8.1.1 isoduration==20.11.0 -isort==5.12.0 +isort==5.13.2 jedi==0.19.1 -jinja2==3.1.2 +jinja2==3.1.3 json5==0.9.14 jsonpointer==2.4 jsonschema==4.20.0 -jsonschema-specifications==2023.11.2 +jsonschema-specifications==2023.12.1 jupyter-cache==1.0.0 jupyter-client==8.6.0 -jupyter-core==5.5.0 +jupyter-core==5.7.1 jupyter-events==0.9.0 jupyter-lsp==2.2.1 -jupyter-server==2.12.1 +jupyter-server==2.12.4 jupyter-server-mathjax==0.2.6 -jupyter-server-terminals==0.4.4 -jupyterlab==4.0.9 +jupyter-server-terminals==0.5.1 +jupyterlab==4.0.10 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.0 ; python_version >= "3.7.0" jupyterlab-lsp==5.0.1 @@ -79,19 +79,19 @@ jupyterlab-server==2.25.2 jupyterlab-widgets==3.0.9 latexcodec==2.0.1 livereload==2.6.3 -lsprotocol==2023.0.0 +lsprotocol==2023.0.1 markdown-it-py==3.0.0 markupsafe==2.1.3 matplotlib-inline==0.1.6 mdit-py-plugins==0.4.0 mdurl==0.1.2 mistune==3.0.2 -mypy==1.7.1 +mypy==1.8.0 mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==2.0.0 nbclient==0.6.8 -nbconvert==7.12.0 +nbconvert==7.14.1 nbdime==4.0.1 nbformat==5.9.2 nbmake==1.4.6 @@ -103,25 +103,25 @@ packaging==23.2 pandocfilters==1.5.0 parso==0.8.3 particle==0.23.1 -pathspec==0.11.2 +pathspec==0.12.1 pexpect==4.9.0 platformdirs==4.1.0 pluggy==1.3.0 -pre-commit==3.5.0 +pre-commit==3.6.0 prometheus-client==0.19.0 -prompt-toolkit==3.0.41 -psutil==5.9.6 +prompt-toolkit==3.0.43 +psutil==5.9.7 ptyprocess==0.7.0 pure-eval==0.2.2 pybtex==0.24.0 pybtex-docutils==1.0.3 pycparser==2.21 -pydata-sphinx-theme==0.14.4 +pydata-sphinx-theme==0.15.1 pydot==1.4.2 pygments==2.17.2 pyparsing==3.1.1 pyproject-api==1.6.1 -pytest==7.4.3 +pytest==7.4.4 pytest-cov==4.1.0 pytest-profiling==1.7.0 pytest-xdist==3.5.0 @@ -129,28 +129,28 @@ python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.0.0 ; python_version >= "3.7.0" +python-lsp-ruff==2.0.2 ; python_version >= "3.7.0" python-lsp-server==1.9.0 -pytoolconfig==1.2.6 +pytoolconfig==1.3.1 pyyaml==6.0.1 pyzmq==25.1.2 -referencing==0.32.0 +referencing==0.32.1 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.11.0 -rpds-py==0.13.2 -ruff==0.1.7 ; python_version >= "3.7.0" +rpds-py==0.16.2 +ruff==0.1.13 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 smmap==5.0.1 sniffio==1.3.0 snowballstemmer==2.2.0 soupsieve==2.5 -sphinx==6.2.1 -sphinx-api-relink==0.0.6 ; python_version >= "3.7.0" +sphinx==7.2.6 +sphinx-api-relink==0.0.8 ; python_version >= "3.7.0" sphinx-autobuild==2021.3.14 -sphinx-book-theme==1.0.1 +sphinx-book-theme==1.1.0 sphinx-codeautolink==0.15.0 sphinx-comments==0.0.3 sphinx-copybutton==0.5.2 @@ -160,31 +160,31 @@ sphinx-pybtex-etal-style==0.0.2 ; python_version >= "3.7.0" sphinx-thebe==0.3.0 sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.7 -sphinxcontrib-bibtex==2.5.0 +sphinxcontrib-bibtex==2.6.2 sphinxcontrib-devhelp==1.0.5 sphinxcontrib-htmlhelp==2.0.4 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.6 sphinxcontrib-serializinghtml==1.1.9 sphobjinv==2.3.1 -sqlalchemy==2.0.23 +sqlalchemy==2.0.25 stack-data==0.6.3 tabulate==0.9.0 terminado==0.18.0 tinycss2==1.2.1 tornado==6.4 -tox==4.11.4 +tox==4.12.0 tqdm==4.66.1 -traitlets==5.14.0 -types-python-dateutil==2.8.19.14 +traitlets==5.14.1 +types-python-dateutil==2.8.19.20240106 types-pyyaml==6.0.12.12 -types-setuptools==69.0.0.0 -typing-extensions==4.8.0 -ujson==5.8.0 +types-setuptools==69.0.0.20240106 +typing-extensions==4.9.0 +ujson==5.9.0 uri-template==1.3.0 urllib3==2.1.0 virtualenv==20.25.0 -wcwidth==0.2.12 +wcwidth==0.2.13 webcolors==1.13 webencodings==0.5.1 websocket-client==1.7.0 diff --git a/.constraints/py3.6.txt b/.constraints/py3.6.txt index 59056258..1d5bc184 100644 --- a/.constraints/py3.6.txt +++ b/.constraints/py3.6.txt @@ -27,7 +27,7 @@ coverage==6.2 dataclasses==0.8 decorator==5.1.1 defusedxml==0.7.1 -distlib==0.3.7 +distlib==0.3.8 docutils==0.16 entrypoints==0.4 execnet==1.9.0 @@ -146,7 +146,7 @@ sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 sphobjinv==2.3.1 -sqlalchemy==1.4.50 +sqlalchemy==1.4.51 terminado==0.12.1 testpath==0.6.0 toml==0.10.2 @@ -162,7 +162,7 @@ typing-extensions==4.1.1 ; python_version < "3.10.0" ujson==4.3.0 urllib3==1.26.18 virtualenv==20.15.1 ; python_version < "3.7.0" -wcwidth==0.2.12 +wcwidth==0.2.13 webencodings==0.5.1 websocket-client==1.3.1 wheel==0.37.1 diff --git a/.constraints/py3.7.txt b/.constraints/py3.7.txt index 4815c0c5..4afce382 100644 --- a/.constraints/py3.7.txt +++ b/.constraints/py3.7.txt @@ -12,8 +12,8 @@ anyio==3.7.1 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.2.3 -attrs==23.1.0 -babel==2.13.1 +attrs==23.2.0 +babel==2.14.0 backcall==0.2.0 beautifulsoup4==4.12.2 black==23.3.0 @@ -33,21 +33,21 @@ coverage==7.2.7 debugpy==1.7.0 decorator==5.1.1 defusedxml==0.7.1 -distlib==0.3.7 +distlib==0.3.8 docstring-to-markdown==0.13 docutils==0.17.1 entrypoints==0.4 exceptiongroup==1.2.0 execnet==2.0.2 -fastjsonschema==2.19.0 +fastjsonschema==2.19.1 filelock==3.12.2 fqdn==1.5.1 gitdb==4.0.11 -gitpython==3.1.40 +gitpython==3.1.41 gprof2dot==2022.7.29 graphviz==0.20.1 -greenlet==3.0.2 -hepunits==2.3.2 +greenlet==3.0.3 +hepunits==2.3.3 identify==2.5.24 idna==3.6 imagesize==1.4.1 @@ -61,7 +61,7 @@ ipywidgets==8.1.1 isoduration==20.11.0 isort==5.11.5 jedi==0.18.2 -jinja2==3.1.2 +jinja2==3.1.3 json5==0.9.14 jsonpointer==2.4 jsonschema==4.17.3 @@ -71,7 +71,7 @@ jupyter-core==4.12.0 jupyter-events==0.6.3 jupyter-lsp==1.5.1 jupyter-server==1.24.0 -jupyter-server-fileid==0.9.0 +jupyter-server-fileid==0.9.1 jupyter-server-mathjax==0.2.6 jupyter-server-ydoc==0.8.0 jupyter-ydoc==0.2.5 @@ -85,7 +85,7 @@ jupyterlab-server==2.24.0 jupyterlab-widgets==3.0.9 latexcodec==2.0.1 livereload==2.6.3 -lsprotocol==2023.0.0 +lsprotocol==2023.0.1 markdown-it-py==2.2.0 markupsafe==2.1.3 matplotlib-inline==0.1.6 @@ -118,8 +118,8 @@ platformdirs==4.0.0 pluggy==1.2.0 pre-commit==2.21.0 prometheus-client==0.17.1 -prompt-toolkit==3.0.41 -psutil==5.9.6 +prompt-toolkit==3.0.43 +psutil==5.9.7 ptyprocess==0.7.0 pybtex==0.24.0 pybtex-docutils==1.0.3 @@ -131,7 +131,7 @@ pygments==2.17.2 pyparsing==3.1.1 pyproject-api==1.5.3 pyrsistent==0.19.3 -pytest==7.4.3 +pytest==7.4.4 pytest-cov==4.1.0 pytest-profiling==1.7.0 pytest-xdist==3.5.0 @@ -141,7 +141,7 @@ 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-server==1.7.4 -pytoolconfig==1.2.6 +pytoolconfig==1.3.0 pytz==2023.3.post1 pyyaml==6.0.1 pyzmq==24.0.1 @@ -149,7 +149,7 @@ requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.9.0 -ruff==0.1.7 ; python_version >= "3.7.0" +ruff==0.1.13 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 smmap==5.0.1 @@ -157,7 +157,7 @@ sniffio==1.3.0 snowballstemmer==2.2.0 soupsieve==2.4.1 sphinx==5.3.0 -sphinx-api-relink==0.0.6 ; python_version >= "3.7.0" +sphinx-api-relink==0.0.8 ; python_version >= "3.7.0" sphinx-autobuild==2021.3.14 sphinx-book-theme==1.0.1 sphinx-codeautolink==0.15.0 @@ -169,14 +169,14 @@ sphinx-pybtex-etal-style==0.0.2 ; python_version >= "3.7.0" sphinx-thebe==0.2.1 sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.2 -sphinxcontrib-bibtex==2.6.1 +sphinxcontrib-bibtex==2.6.2 sphinxcontrib-devhelp==1.0.2 sphinxcontrib-htmlhelp==2.0.0 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 sphobjinv==2.3.1 -sqlalchemy==1.4.50 +sqlalchemy==1.4.51 tabulate==0.9.0 terminado==0.17.1 tinycss2==1.2.1 @@ -193,7 +193,7 @@ ujson==5.7.0 uri-template==1.3.0 urllib3==2.0.7 virtualenv==20.25.0 -wcwidth==0.2.12 +wcwidth==0.2.13 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.1 diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index 1d499e46..f9a9a2ed 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -6,17 +6,17 @@ # accessible-pygments==0.0.4 alabaster==0.7.13 -anyio==4.1.0 +anyio==4.2.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 asttokens==2.4.1 async-lru==2.0.4 -attrs==23.1.0 -babel==2.13.1 +attrs==23.2.0 +babel==2.14.0 backcall==0.2.0 beautifulsoup4==4.12.2 -black==23.11.0 +black==23.12.1 bleach==6.1.0 cachetools==5.3.2 cattrs==23.2.3 @@ -27,52 +27,52 @@ chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 -comm==0.2.0 -coverage==7.3.2 +comm==0.2.1 +coverage==7.4.0 debugpy==1.8.0 decorator==5.1.1 defusedxml==0.7.1 -distlib==0.3.7 +distlib==0.3.8 docstring-to-markdown==0.13 docutils==0.17.1 exceptiongroup==1.2.0 execnet==2.0.2 executing==2.0.1 -fastjsonschema==2.19.0 +fastjsonschema==2.19.1 filelock==3.13.1 fqdn==1.5.1 gitdb==4.0.11 -gitpython==3.1.40 +gitpython==3.1.41 gprof2dot==2022.7.29 graphviz==0.20.1 -greenlet==3.0.2 -hepunits==2.3.2 +greenlet==3.0.3 +hepunits==2.3.3 identify==2.5.33 idna==3.6 imagesize==1.4.1 -importlib-metadata==7.0.0 +importlib-metadata==7.0.1 importlib-resources==6.1.1 iniconfig==2.0.0 -ipykernel==6.27.1 +ipykernel==6.28.0 ipython==8.12.3 ipywidgets==8.1.1 isoduration==20.11.0 -isort==5.12.0 +isort==5.13.2 jedi==0.19.1 -jinja2==3.1.2 +jinja2==3.1.3 json5==0.9.14 jsonpointer==2.4 jsonschema==4.20.0 -jsonschema-specifications==2023.11.2 +jsonschema-specifications==2023.12.1 jupyter-cache==0.6.1 jupyter-client==8.6.0 -jupyter-core==5.5.0 +jupyter-core==5.7.1 jupyter-events==0.9.0 jupyter-lsp==2.2.1 -jupyter-server==2.12.1 +jupyter-server==2.12.4 jupyter-server-mathjax==0.2.6 -jupyter-server-terminals==0.4.4 -jupyterlab==4.0.9 +jupyter-server-terminals==0.5.1 +jupyterlab==4.0.10 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.0 ; python_version >= "3.7.0" jupyterlab-lsp==5.0.1 @@ -82,19 +82,19 @@ jupyterlab-server==2.25.2 jupyterlab-widgets==3.0.9 latexcodec==2.0.1 livereload==2.6.3 -lsprotocol==2023.0.0 +lsprotocol==2023.0.1 markdown-it-py==2.2.0 markupsafe==2.1.3 matplotlib-inline==0.1.6 mdit-py-plugins==0.3.5 mdurl==0.1.2 mistune==3.0.2 -mypy==1.7.1 +mypy==1.8.0 mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 nbclient==0.6.8 -nbconvert==7.12.0 +nbconvert==7.14.1 nbdime==4.0.1 nbformat==5.9.2 nbmake==1.4.6 @@ -106,7 +106,7 @@ packaging==23.2 pandocfilters==1.5.0 parso==0.8.3 particle==0.23.1 -pathspec==0.11.2 +pathspec==0.12.1 pexpect==4.9.0 pickleshare==0.7.5 pkgutil-resolve-name==1.3.10 @@ -114,8 +114,8 @@ platformdirs==4.1.0 pluggy==1.3.0 pre-commit==3.5.0 prometheus-client==0.19.0 -prompt-toolkit==3.0.41 -psutil==5.9.6 +prompt-toolkit==3.0.43 +psutil==5.9.7 ptyprocess==0.7.0 pure-eval==0.2.2 pybtex==0.24.0 @@ -126,7 +126,7 @@ pydot==1.4.2 pygments==2.17.2 pyparsing==3.1.1 pyproject-api==1.6.1 -pytest==7.4.3 +pytest==7.4.4 pytest-cov==4.1.0 pytest-profiling==1.7.0 pytest-xdist==3.5.0 @@ -134,19 +134,19 @@ python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.0.0 ; python_version >= "3.7.0" +python-lsp-ruff==2.0.2 ; python_version >= "3.7.0" python-lsp-server==1.9.0 -pytoolconfig==1.2.6 +pytoolconfig==1.3.1 pytz==2023.3.post1 pyyaml==6.0.1 pyzmq==25.1.2 -referencing==0.32.0 +referencing==0.32.1 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.11.0 -rpds-py==0.13.2 -ruff==0.1.7 ; python_version >= "3.7.0" +rpds-py==0.16.2 +ruff==0.1.13 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 smmap==5.0.1 @@ -154,7 +154,7 @@ sniffio==1.3.0 snowballstemmer==2.2.0 soupsieve==2.5 sphinx==5.3.0 -sphinx-api-relink==0.0.6 ; python_version >= "3.7.0" +sphinx-api-relink==0.0.8 ; python_version >= "3.7.0" sphinx-autobuild==2021.3.14 sphinx-book-theme==1.0.1 sphinx-codeautolink==0.15.0 @@ -166,32 +166,32 @@ sphinx-pybtex-etal-style==0.0.2 ; python_version >= "3.7.0" sphinx-thebe==0.3.0 sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.4 -sphinxcontrib-bibtex==2.6.1 +sphinxcontrib-bibtex==2.6.2 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 sphobjinv==2.3.1 -sqlalchemy==2.0.23 +sqlalchemy==2.0.25 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.11.4 +tox==4.12.0 tqdm==4.66.1 -traitlets==5.14.0 -types-python-dateutil==2.8.19.14 +traitlets==5.14.1 +types-python-dateutil==2.8.19.20240106 types-pyyaml==6.0.12.12 -types-setuptools==69.0.0.0 -typing-extensions==4.8.0 ; python_version < "3.10.0" -ujson==5.8.0 +types-setuptools==69.0.0.20240106 +typing-extensions==4.9.0 ; python_version < "3.10.0" +ujson==5.9.0 uri-template==1.3.0 urllib3==2.1.0 virtualenv==20.25.0 -wcwidth==0.2.12 +wcwidth==0.2.13 webcolors==1.13 webencodings==0.5.1 websocket-client==1.7.0 diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt index 60e804ce..d420d77a 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -5,17 +5,17 @@ # pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.9.txt --strip-extras # accessible-pygments==0.0.4 -alabaster==0.7.13 -anyio==4.1.0 +alabaster==0.7.16 +anyio==4.2.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 asttokens==2.4.1 async-lru==2.0.4 -attrs==23.1.0 -babel==2.13.1 +attrs==23.2.0 +babel==2.14.0 beautifulsoup4==4.12.2 -black==23.11.0 +black==23.12.1 bleach==6.1.0 cachetools==5.3.2 cattrs==23.2.3 @@ -26,51 +26,51 @@ chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 -comm==0.2.0 -coverage==7.3.2 +comm==0.2.1 +coverage==7.4.0 debugpy==1.8.0 decorator==5.1.1 defusedxml==0.7.1 -distlib==0.3.7 +distlib==0.3.8 docstring-to-markdown==0.13 -docutils==0.19 +docutils==0.20.1 exceptiongroup==1.2.0 execnet==2.0.2 executing==2.0.1 -fastjsonschema==2.19.0 +fastjsonschema==2.19.1 filelock==3.13.1 fqdn==1.5.1 gitdb==4.0.11 -gitpython==3.1.40 +gitpython==3.1.41 gprof2dot==2022.7.29 graphviz==0.20.1 -greenlet==3.0.2 -hepunits==2.3.2 +greenlet==3.0.3 +hepunits==2.3.3 identify==2.5.33 idna==3.6 imagesize==1.4.1 -importlib-metadata==7.0.0 +importlib-metadata==7.0.1 iniconfig==2.0.0 -ipykernel==6.27.1 +ipykernel==6.28.0 ipython==8.18.1 ipywidgets==8.1.1 isoduration==20.11.0 -isort==5.12.0 +isort==5.13.2 jedi==0.19.1 -jinja2==3.1.2 +jinja2==3.1.3 json5==0.9.14 jsonpointer==2.4 jsonschema==4.20.0 -jsonschema-specifications==2023.11.2 +jsonschema-specifications==2023.12.1 jupyter-cache==1.0.0 jupyter-client==8.6.0 -jupyter-core==5.5.0 +jupyter-core==5.7.1 jupyter-events==0.9.0 jupyter-lsp==2.2.1 -jupyter-server==2.12.1 +jupyter-server==2.12.4 jupyter-server-mathjax==0.2.6 -jupyter-server-terminals==0.4.4 -jupyterlab==4.0.9 +jupyter-server-terminals==0.5.1 +jupyterlab==4.0.10 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.0 ; python_version >= "3.7.0" jupyterlab-lsp==5.0.1 @@ -80,19 +80,19 @@ jupyterlab-server==2.25.2 jupyterlab-widgets==3.0.9 latexcodec==2.0.1 livereload==2.6.3 -lsprotocol==2023.0.0 +lsprotocol==2023.0.1 markdown-it-py==3.0.0 markupsafe==2.1.3 matplotlib-inline==0.1.6 mdit-py-plugins==0.4.0 mdurl==0.1.2 mistune==3.0.2 -mypy==1.7.1 +mypy==1.8.0 mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==2.0.0 nbclient==0.6.8 -nbconvert==7.12.0 +nbconvert==7.14.1 nbdime==4.0.1 nbformat==5.9.2 nbmake==1.4.6 @@ -104,25 +104,25 @@ packaging==23.2 pandocfilters==1.5.0 parso==0.8.3 particle==0.23.1 -pathspec==0.11.2 +pathspec==0.12.1 pexpect==4.9.0 platformdirs==4.1.0 pluggy==1.3.0 -pre-commit==3.5.0 +pre-commit==3.6.0 prometheus-client==0.19.0 -prompt-toolkit==3.0.41 -psutil==5.9.6 +prompt-toolkit==3.0.43 +psutil==5.9.7 ptyprocess==0.7.0 pure-eval==0.2.2 pybtex==0.24.0 pybtex-docutils==1.0.3 pycparser==2.21 -pydata-sphinx-theme==0.14.4 +pydata-sphinx-theme==0.15.1 pydot==1.4.2 pygments==2.17.2 pyparsing==3.1.1 pyproject-api==1.6.1 -pytest==7.4.3 +pytest==7.4.4 pytest-cov==4.1.0 pytest-profiling==1.7.0 pytest-xdist==3.5.0 @@ -130,28 +130,28 @@ python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.0.0 ; python_version >= "3.7.0" +python-lsp-ruff==2.0.2 ; python_version >= "3.7.0" python-lsp-server==1.9.0 -pytoolconfig==1.2.6 +pytoolconfig==1.3.1 pyyaml==6.0.1 pyzmq==25.1.2 -referencing==0.32.0 +referencing==0.32.1 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.11.0 -rpds-py==0.13.2 -ruff==0.1.7 ; python_version >= "3.7.0" +rpds-py==0.16.2 +ruff==0.1.13 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 smmap==5.0.1 sniffio==1.3.0 snowballstemmer==2.2.0 soupsieve==2.5 -sphinx==6.2.1 -sphinx-api-relink==0.0.6 ; python_version >= "3.7.0" +sphinx==7.2.6 +sphinx-api-relink==0.0.8 ; python_version >= "3.7.0" sphinx-autobuild==2021.3.14 -sphinx-book-theme==1.0.1 +sphinx-book-theme==1.1.0 sphinx-codeautolink==0.15.0 sphinx-comments==0.0.3 sphinx-copybutton==0.5.2 @@ -161,32 +161,32 @@ sphinx-pybtex-etal-style==0.0.2 ; python_version >= "3.7.0" sphinx-thebe==0.3.0 sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.7 -sphinxcontrib-bibtex==2.5.0 +sphinxcontrib-bibtex==2.6.2 sphinxcontrib-devhelp==1.0.5 sphinxcontrib-htmlhelp==2.0.4 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.6 sphinxcontrib-serializinghtml==1.1.9 sphobjinv==2.3.1 -sqlalchemy==2.0.23 +sqlalchemy==2.0.25 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.11.4 +tox==4.12.0 tqdm==4.66.1 -traitlets==5.14.0 -types-python-dateutil==2.8.19.14 +traitlets==5.14.1 +types-python-dateutil==2.8.19.20240106 types-pyyaml==6.0.12.12 -types-setuptools==69.0.0.0 -typing-extensions==4.8.0 ; python_version < "3.10.0" -ujson==5.8.0 +types-setuptools==69.0.0.20240106 +typing-extensions==4.9.0 ; python_version < "3.10.0" +ujson==5.9.0 uri-template==1.3.0 urllib3==2.1.0 virtualenv==20.25.0 -wcwidth==0.2.12 +wcwidth==0.2.13 webcolors==1.13 webencodings==0.5.1 websocket-client==1.7.0 diff --git a/.gitpod.yml b/.gitpod.yml index ecc489a7..b24ad646 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -20,7 +20,6 @@ vscode: - editorconfig.editorconfig - esbenp.prettier-vscode - executablebookproject.myst-highlight - - garaioag.garaio-vscode-unwanted-recommendations - github.vscode-github-actions - github.vscode-pull-request-github - joaompinto.vscode-graphviz @@ -32,6 +31,7 @@ vscode: - ms-vsliveshare.vsliveshare - redhat.vscode-yaml - ryanluker.vscode-coverage-gutters + - Soulcode.vscode-unwanted-extensions - stkb.rewrap - streetsidesoftware.code-spell-checker - tamasfe.even-better-toml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1dbae0a1..e5dcfa14 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,8 +14,8 @@ repos: - id: check-hooks-apply - id: check-useless-excludes - - repo: https://github.com/ComPWA/repo-maintenance - rev: 0.1.9 + - repo: https://github.com/ComPWA/policy + rev: 0.2.0 hooks: - id: check-dev-files args: @@ -57,7 +57,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/psf/black-pre-commit-mirror - rev: 23.11.0 + rev: 23.12.1 hooks: - id: black - id: black-jupyter @@ -83,7 +83,7 @@ repos: pass_filenames: false - repo: https://github.com/streetsidesoftware/cspell-cli - rev: v8.1.1 + rev: v8.3.0 hooks: - id: cspell @@ -134,17 +134,17 @@ repos: metadata.vscode - repo: https://github.com/pre-commit/mirrors-prettier - rev: v4.0.0-alpha.3-1 + rev: v4.0.0-alpha.8 hooks: - id: prettier - repo: https://github.com/ComPWA/mirrors-pyright - rev: v1.1.339 + rev: v1.1.345 hooks: - id: pyright - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.7 + rev: v0.1.13 hooks: - id: ruff args: [--fix] diff --git a/.vscode/extensions.json b/.vscode/extensions.json index f3f38e9f..49c33328 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -6,7 +6,6 @@ "editorconfig.editorconfig", "esbenp.prettier-vscode", "executablebookproject.myst-highlight", - "garaioag.garaio-vscode-unwanted-recommendations", "github.vscode-github-actions", "github.vscode-pull-request-github", "joaompinto.vscode-graphviz", @@ -18,6 +17,7 @@ "ms-vsliveshare.vsliveshare", "redhat.vscode-yaml", "ryanluker.vscode-coverage-gutters", + "Soulcode.vscode-unwanted-extensions", "stkb.rewrap", "streetsidesoftware.code-spell-checker", "tamasfe.even-better-toml", @@ -27,6 +27,7 @@ "unwantedRecommendations": [ "bungcip.better-toml", "davidanson.vscode-markdownlint", + "garaioag.garaio-vscode-unwanted-recommendations", "ms-python.flake8", "ms-python.isort", "ms-python.pylint", diff --git a/pyproject.toml b/pyproject.toml index ebeaba5d..bf4a477a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -126,13 +126,14 @@ reportUnusedVariable = true typeCheckingMode = "strict" [tool.pytest.ini_options] -addopts = """ ---color=yes ---doctest-continue-on-failure ---doctest-modules ---durations=3 ---ignore=docs/abbreviate_signature.py ---ignore=docs/conf.py""" +addopts = [ + "--color=yes", + "--doctest-continue-on-failure", + "--doctest-modules", + "--durations=3", + "--ignore=docs/abbreviate_signature.py", + "--ignore=docs/conf.py", +] filterwarnings = [ "error", "ignore:'importlib.abc.Traversable' is deprecated and slated for removal in Python 3.14:DeprecationWarning", @@ -232,7 +233,10 @@ task-tags = ["cspell"] "S113", "T201", ] -"docs/conf.py" = ["A001"] +"docs/conf.py" = [ + "A001", + "D100", +] "setup.py" = ["D100"] "tests/*" = [ "D", diff --git a/setup.cfg b/setup.cfg index 5cf9101f..f9b8914b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -82,7 +82,7 @@ test = ipython nbmake nbmake <1.3; python_version=="3.7.*" - pydot + pydot <2 # problem with pydot.graph_from_dot_data pytest pytest-cov pytest-profiling diff --git a/src/qrules/particle.py b/src/qrules/particle.py index 3e28c41f..b976f2c2 100644 --- a/src/qrules/particle.py +++ b/src/qrules/particle.py @@ -369,9 +369,7 @@ def find(self, search_term: Union[int, str]) -> Particle: msg = f"Cannot search for a search term of type {type(search_term)}" raise NotImplementedError(msg) - def filter( # noqa: A003 - self, function: Callable[[Particle], bool] - ) -> "ParticleCollection": + def filter(self, function: Callable[[Particle], bool]) -> "ParticleCollection": """Search by `Particle` properties using a :code:`lambda` function. For example: diff --git a/src/qrules/settings.py b/src/qrules/settings.py index f6b5cb7c..3d5c0231 100644 --- a/src/qrules/settings.py +++ b/src/qrules/settings.py @@ -211,9 +211,9 @@ def create_interaction_settings( ) strong_node_settings = deepcopy(em_node_settings) - strong_node_settings.conservation_rules.update({ - isospin_conservation, g_parity_conservation - }) + strong_node_settings.conservation_rules.update( + {isospin_conservation, g_parity_conservation} + ) strong_node_settings.interaction_strength = 60 strong_edge_settings = deepcopy(em_edge_settings) @@ -280,7 +280,7 @@ def get(cls) -> int: return cls.__n_cores @classmethod - def set(cls, n_cores: Optional[int]) -> None: # noqa: A003 + def set(cls, n_cores: Optional[int]) -> None: """Set the number of threads; use `None` for all available cores.""" if n_cores is not None and not isinstance(n_cores, int): msg = ( diff --git a/src/qrules/topology.py b/src/qrules/topology.py index 7f9540c4..2fad0463 100644 --- a/src/qrules/topology.py +++ b/src/qrules/topology.py @@ -739,12 +739,14 @@ def create_n_body_topology( """ n_in = number_of_initial_states n_out = number_of_final_states - builder = SimpleStateTransitionTopologyBuilder([ - InteractionNode( - number_of_ingoing_edges=n_in, - number_of_outgoing_edges=n_out, - ) - ]) + builder = SimpleStateTransitionTopologyBuilder( + [ + InteractionNode( + number_of_ingoing_edges=n_in, + number_of_outgoing_edges=n_out, + ) + ] + ) topologies = builder.build( number_of_initial_edges=n_in, number_of_final_edges=n_out, diff --git a/tests/channels/test_nbody_reactions.py b/tests/channels/test_nbody_reactions.py index 501324c1..186a1178 100644 --- a/tests/channels/test_nbody_reactions.py +++ b/tests/channels/test_nbody_reactions.py @@ -32,13 +32,11 @@ def reduce_violated_rules( ), ( (["eta"], ["pi+", "pi-"]), - { - ( - "c_parity_conservation", - "parity_conservation", - "spin_magnitude_conservation", - ) - }, + {( + "c_parity_conservation", + "parity_conservation", + "spin_magnitude_conservation", + )}, ), ( (["Sigma0"], ["Lambda", "pi0"]),