Skip to content

Commit

Permalink
style: switch to black's default 88 line width (#188)
Browse files Browse the repository at this point in the history
* ci: set indent size for notebooks to 4 spaces
  This indent was intended for the JSON format of notebooks, but also
  affects the Jupyter view in VSCode and has therefore been removed.
* ci: update pip constraints and pre-commit config
* style: format Prettier with 88 characters as well
* style: format Python source code with 88 chars line width
* style: rewrap docstrings to 88 characters

Co-authored-by: GitHub <noreply@github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
3 people committed Apr 5, 2023
1 parent 8ee11df commit 4bd52e1
Show file tree
Hide file tree
Showing 54 changed files with 718 additions and 1,261 deletions.
52 changes: 26 additions & 26 deletions .constraints/py3.10.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,20 @@ anyio==3.6.1
aquirdturtle-collapsible-headings==3.1.0
argon2-cffi==21.3.0
argon2-cffi-bindings==21.2.0
astroid==2.11.5
astroid==2.11.6
asttokens==2.0.5
attrs==21.4.0
babel==2.10.1
babel==2.10.3
backcall==0.2.0
beautifulsoup4==4.11.1
black==22.3.0
bleach==5.0.0
certifi==2022.5.18.1
certifi==2022.6.15
cffi==1.15.0
cfgv==3.3.1
charset-normalizer==2.0.12
click==8.1.3
colorama==0.4.4
colorama==0.4.5
coverage==6.4.1
debugpy==1.6.0
decorator==5.1.1
Expand All @@ -37,7 +37,7 @@ fastjsonschema==2.15.3
filelock==3.7.1
flake8==4.0.1
flake8-blind-except==0.2.1
flake8-bugbear==22.4.25
flake8-bugbear==22.6.22
flake8-builtins==1.5.3
flake8-comprehensions==3.10.0
flake8-plugin-utils==1.3.2
Expand All @@ -52,12 +52,12 @@ hepunits==2.2.0
identify==2.5.1
idna==3.3
imagesize==1.3.0
importlib-metadata==4.11.4
importlib-metadata==4.12.0
iniconfig==1.1.1
ipykernel==6.13.1
ipykernel==6.15.0
ipython==8.4.0
ipython-genutils==0.2.0
ipywidgets==7.7.0
ipywidgets==7.7.1
isort==5.10.1
jedi==0.18.1
jinja2==3.1.2
Expand All @@ -66,16 +66,16 @@ jsonschema==4.6.0
jupyter==1.0.0
jupyter-cache==0.5.0
jupyter-client==7.3.4
jupyter-console==6.4.3
jupyter-console==6.4.4
jupyter-core==4.10.0
jupyter-server==1.17.1
jupyter-server==1.18.0
jupyterlab==3.4.3
jupyterlab-code-formatter==1.4.11
jupyterlab-markup==1.1.0
jupyterlab-myst==0.1.6 ; python_version >= "3.7.0"
jupyterlab-pygments==0.2.2
jupyterlab-server==2.14.0
jupyterlab-widgets==1.1.0
jupyterlab-widgets==1.1.1
latexcodec==2.0.1
lazy-object-proxy==1.7.1
livereload==2.6.3
Expand All @@ -88,15 +88,15 @@ mdurl==0.1.1
mistune==0.8.4
mypy==0.961
mypy-extensions==0.4.3
myst-nb==0.15.0 ; python_version >= "3.8.0"
myst-parser==0.17.2
myst-nb==0.16.0 ; python_version >= "3.8.0"
myst-parser==0.18.0
nbclassic==0.3.7
nbclient==0.5.13
nbconvert==6.5.0
nbformat==5.4.0
nbmake==1.3.0
nest-asyncio==1.5.5
nodeenv==1.6.0
nodeenv==1.7.0
notebook==6.4.12
notebook-shim==0.1.0
packaging==21.3
Expand Down Expand Up @@ -126,7 +126,7 @@ pydocstyle==6.1.1
pydot==1.4.2
pyflakes==2.4.0
pygments==2.12.0
pylint==2.14.1
pylint==2.14.3
pyparsing==3.0.9
pyrsistent==0.18.1
pytest==7.1.2
Expand All @@ -138,7 +138,7 @@ python-constraint==1.4.0
python-dateutil==2.8.2
pytz==2022.1
pyyaml==6.0
pyzmq==23.1.0
pyzmq==23.2.0
qtconsole==5.3.1
qtpy==2.1.0
requests==2.28.0
Expand Down Expand Up @@ -166,9 +166,9 @@ sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.5
sphobjinv==2.2.2
sqlalchemy==1.4.37
stack-data==0.2.0
tabulate==0.8.9
sqlalchemy==1.4.39
stack-data==0.3.0
tabulate==0.8.10
terminado==0.15.0
tinycss2==1.1.1
toml==0.10.2
Expand All @@ -177,21 +177,21 @@ tomlkit==0.11.0
tornado==6.1
tox==3.25.0
tqdm==4.64.0
traitlets==5.2.2.post1
traitlets==5.3.0
types-docutils==0.18.3
types-pkg-resources==0.1.3
types-pyyaml==6.0.8
types-requests==2.27.30
types-setuptools==57.4.17
types-pyyaml==6.0.9
types-requests==2.28.0
types-setuptools==57.4.18
types-urllib3==1.26.15
typing-extensions==4.2.0
urllib3==1.26.9
virtualenv==20.14.1
virtualenv==20.15.0
wcwidth==0.2.5
webencodings==0.5.1
websocket-client==1.3.2
websocket-client==1.3.3
wheel==0.37.1
widgetsnbextension==3.6.0
widgetsnbextension==3.6.1
wrapt==1.14.1
zipp==3.8.0

Expand Down
28 changes: 14 additions & 14 deletions .constraints/py3.6.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,20 @@ anyio==3.6.1
aquirdturtle-collapsible-headings==3.1.0
argon2-cffi==21.3.0
argon2-cffi-bindings==21.2.0
astroid==2.11.5
astroid==2.11.6
async-generator==1.10
attrs==21.4.0
babel==2.10.1
babel==2.10.3
backcall==0.2.0
beautifulsoup4==4.11.1
black==22.3.0
bleach==4.1.0
certifi==2022.5.18.1
certifi==2022.6.15
cffi==1.15.0
cfgv==3.3.1
charset-normalizer==2.0.12
click==8.0.4
colorama==0.4.4
colorama==0.4.5
contextvars==2.4
coverage==6.2
dataclasses==0.8
Expand All @@ -36,7 +36,7 @@ execnet==1.9.0
filelock==3.4.1
flake8==4.0.1
flake8-blind-except==0.2.1
flake8-bugbear==22.4.25
flake8-bugbear==22.6.22
flake8-builtins==1.5.3
flake8-comprehensions==3.7.0
flake8-plugin-utils==1.3.2
Expand All @@ -59,7 +59,7 @@ iniconfig==1.1.1
ipykernel==5.5.6
ipython==7.16.3
ipython-genutils==0.2.0
ipywidgets==7.7.0
ipywidgets==7.7.1
isort==5.10.1
jedi==0.17.2
jinja2==3.0.3
Expand All @@ -77,7 +77,7 @@ jupyterlab==3.2.9
jupyterlab-code-formatter==1.4.11
jupyterlab-pygments==0.1.2
jupyterlab-server==2.10.3
jupyterlab-widgets==1.1.0
jupyterlab-widgets==1.1.1
latexcodec==2.0.1
lazy-object-proxy==1.7.1
livereload==2.6.3
Expand Down Expand Up @@ -136,7 +136,7 @@ python-constraint==1.4.0
python-dateutil==2.8.2
pytz==2022.1
pyyaml==6.0
pyzmq==23.1.0
pyzmq==23.2.0
qtconsole==5.2.2
qtpy==2.0.1
requests==2.27.1
Expand Down Expand Up @@ -165,7 +165,7 @@ sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.5
sphobjinv==2.2.2
sqlalchemy==1.4.37
sqlalchemy==1.4.39
terminado==0.12.1
testpath==0.6.0
toml==0.10.2
Expand All @@ -177,18 +177,18 @@ traitlets==4.3.3
typed-ast==1.5.4
types-docutils==0.18.3
types-pkg-resources==0.1.3
types-pyyaml==6.0.8
types-requests==2.27.30
types-setuptools==57.4.17
types-pyyaml==6.0.9
types-requests==2.28.0
types-setuptools==57.4.18
types-urllib3==1.26.15
typing-extensions==4.1.1 ; python_version < "3.10.0"
urllib3==1.26.9
virtualenv==20.14.1
virtualenv==20.15.0
wcwidth==0.2.5
webencodings==0.5.1
websocket-client==1.3.1
wheel==0.37.1
widgetsnbextension==3.6.0
widgetsnbextension==3.6.1
wrapt==1.14.1
zipp==3.6.0

Expand Down
44 changes: 22 additions & 22 deletions .constraints/py3.7.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ anyio==3.6.1
aquirdturtle-collapsible-headings==3.1.0
argon2-cffi==21.3.0
argon2-cffi-bindings==21.2.0
astroid==2.11.5
astroid==2.11.6
attrs==21.4.0
babel==2.10.1
babel==2.10.3
backcall==0.2.0
beautifulsoup4==4.11.1
black==22.3.0
bleach==5.0.0
certifi==2022.5.18.1
certifi==2022.6.15
cffi==1.15.0
cfgv==3.3.1
charset-normalizer==2.0.12
click==8.1.3
colorama==0.4.4
colorama==0.4.5
coverage==6.4.1
debugpy==1.6.0
decorator==5.1.1
Expand All @@ -35,7 +35,7 @@ fastjsonschema==2.15.3
filelock==3.7.1
flake8==4.0.1
flake8-blind-except==0.2.1
flake8-bugbear==22.4.25
flake8-bugbear==22.6.22
flake8-builtins==1.5.3
flake8-comprehensions==3.10.0
flake8-plugin-utils==1.3.2
Expand All @@ -52,12 +52,12 @@ identify==2.5.1
idna==3.3
imagesize==1.3.0
importlib-metadata==4.2.0
importlib-resources==5.7.1
importlib-resources==5.8.0
iniconfig==1.1.1
ipykernel==6.13.1
ipykernel==6.15.0
ipython==7.34.0
ipython-genutils==0.2.0
ipywidgets==7.7.0
ipywidgets==7.7.1
isort==5.10.1
jedi==0.18.1
jinja2==3.1.2
Expand All @@ -66,9 +66,9 @@ jsonschema==4.6.0
jupyter==1.0.0
jupyter-cache==0.4.3
jupyter-client==7.3.4
jupyter-console==6.4.3
jupyter-console==6.4.4
jupyter-core==4.10.0
jupyter-server==1.17.1
jupyter-server==1.18.0
jupyter-server-mathjax==0.2.5
jupyter-sphinx==0.3.2
jupyterlab==3.4.3
Expand All @@ -77,7 +77,7 @@ jupyterlab-markup==1.1.0
jupyterlab-myst==0.1.6 ; python_version >= "3.7.0"
jupyterlab-pygments==0.2.2
jupyterlab-server==2.14.0
jupyterlab-widgets==1.1.0
jupyterlab-widgets==1.1.1
latexcodec==2.0.1
lazy-object-proxy==1.7.1
livereload==2.6.3
Expand All @@ -98,7 +98,7 @@ nbdime==3.1.1
nbformat==5.4.0
nbmake==1.3.0
nest-asyncio==1.5.5
nodeenv==1.6.0
nodeenv==1.7.0
notebook==6.4.12
notebook-shim==0.1.0
packaging==21.3
Expand Down Expand Up @@ -127,7 +127,7 @@ pydocstyle==6.1.1
pydot==1.4.2
pyflakes==2.4.0
pygments==2.12.0
pylint==2.14.1
pylint==2.14.3
pyparsing==3.0.9
pyrsistent==0.18.1
pytest==7.1.2
Expand All @@ -139,7 +139,7 @@ python-constraint==1.4.0
python-dateutil==2.8.2
pytz==2022.1
pyyaml==6.0
pyzmq==23.1.0
pyzmq==23.2.0
qtconsole==5.3.1
qtpy==2.1.0
requests==2.28.0
Expand Down Expand Up @@ -168,7 +168,7 @@ sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.5
sphobjinv==2.2.2
sqlalchemy==1.4.37
sqlalchemy==1.4.39
terminado==0.15.0
tinycss2==1.1.1
toml==0.10.2
Expand All @@ -177,22 +177,22 @@ tomlkit==0.11.0
tornado==6.1
tox==3.25.0
tqdm==4.64.0
traitlets==5.2.2.post1
traitlets==5.3.0
typed-ast==1.5.4
types-docutils==0.18.3
types-pkg-resources==0.1.3
types-pyyaml==6.0.8
types-requests==2.27.30
types-setuptools==57.4.17
types-pyyaml==6.0.9
types-requests==2.28.0
types-setuptools==57.4.18
types-urllib3==1.26.15
typing-extensions==4.2.0 ; python_version < "3.10.0"
urllib3==1.26.9
virtualenv==20.14.1
virtualenv==20.15.0
wcwidth==0.2.5
webencodings==0.5.1
websocket-client==1.3.2
websocket-client==1.3.3
wheel==0.37.1
widgetsnbextension==3.6.0
widgetsnbextension==3.6.1
wrapt==1.14.1
zipp==3.8.0

Expand Down
Loading

0 comments on commit 4bd52e1

Please sign in to comment.