Skip to content

Commit

Permalink
style: switch to black's default 88 line width (#157)
Browse files Browse the repository at this point in the history
* ci: increase `nbmake` cell timeout
* 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
* ci: update to `actions/setup-python@v4`
* fix: resolve `x21` version conflict with `quadpy`
* fix: switch to `numpy.emath`
  This is the new, preferred domain over `numpy.lib.scimath`
* 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 Jun 27, 2022
1 parent 6c6f92b commit 29c6f81
Show file tree
Hide file tree
Showing 46 changed files with 902 additions and 1,075 deletions.
60 changes: 30 additions & 30 deletions .constraints/py3.7.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ aquirdturtle-collapsible-headings==3.1.0
argon2-cffi==21.3.0
argon2-cffi-bindings==21.2.0
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
cycler==0.11.0
debugpy==1.6.0
decorator==5.1.1
Expand All @@ -30,39 +30,39 @@ docutils==0.17.1
entrypoints==0.4
execnet==1.9.0
fastjsonschema==2.15.3
filelock==3.7.0
filelock==3.7.1
fonttools==4.33.3
graphviz==0.20
greenlet==1.1.2
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.0
ipykernel==6.15.0
ipympl==0.9.1
ipython==7.33.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
json5==0.9.8
jsonschema==3.2.0
jupyter==1.0.0
jupyter-cache==0.5.0
jupyter-client==7.3.1
jupyter-console==6.4.3
jupyter-client==7.3.4
jupyter-console==6.4.4
jupyter-core==4.10.0
jupyter-server==1.17.0
jupyterlab==3.4.2
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
jupyterlab-pygments==0.2.2
jupyterlab-server==2.14.0
jupyterlab-widgets==1.1.0
kiwisolver==1.4.2
jupyterlab-widgets==1.1.1
kiwisolver==1.4.3
latexcodec==2.0.1
livereload==2.6.3
markdown-it-py==2.1.0
Expand All @@ -72,18 +72,18 @@ matplotlib-inline==0.1.3
mdit-py-plugins==0.3.0
mdurl==0.1.1
mistune==0.8.4
mpl-interactions==0.21.0
mpl-interactions==0.22.0
mypy-extensions==0.4.3
myst-nb==0.15.0
myst-parser==0.17.2
myst-nb==0.16.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
notebook==6.4.11
nodeenv==1.7.0
notebook==6.4.12
notebook-shim==0.1.0
numpy==1.21.6
packaging==21.3
Expand All @@ -102,7 +102,7 @@ psutil==5.9.1
ptyprocess==0.7.0
py==1.11.0
pybtex==0.24.0
pybtex-docutils==1.0.1
pybtex-docutils==1.0.2
pycparser==2.21
pydantic==1.9.1
pydata-sphinx-theme==0.8.1
Expand All @@ -115,10 +115,10 @@ pytest-xdist==2.5.0
python-dateutil==2.8.2
pytz==2022.1
pyyaml==6.0
pyzmq==23.0.0
qtconsole==5.3.0
pyzmq==23.2.0
qtconsole==5.3.1
qtpy==2.1.0
requests==2.27.1
requests==2.28.0
requests-file==1.5.1
send2trash==1.8.0
six==1.16.0
Expand All @@ -128,7 +128,7 @@ soupsieve==2.3.2.post1
sphinx==4.3.2 ; python_version < "3.8.0"
sphinx-autobuild==2021.3.14
sphinx-book-theme==0.3.2
sphinx-codeautolink==0.10.0
sphinx-codeautolink==0.11.0
sphinx-comments==0.0.3
sphinx-copybutton==0.5.0
sphinx-data-viewer==0.1.2
Expand All @@ -146,24 +146,24 @@ sphinxcontrib-needs==0.7.9
sphinxcontrib-plantuml==0.23
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.5
sqlalchemy==1.4.36
tabulate==0.8.9
sqlalchemy==1.4.39
tabulate==0.8.10
terminado==0.15.0
tinycss2==1.1.1
toml==0.10.2
tomli==2.0.1
tornado==6.1
tox==3.25.0
traitlets==5.2.1.post0
traitlets==5.3.0
typed-ast==1.5.4
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
zipp==3.8.0

# The following packages are considered to be unsafe in a requirements file:
Expand Down
64 changes: 32 additions & 32 deletions .constraints/py3.8.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ argon2-cffi==21.3.0
argon2-cffi-bindings==21.2.0
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
cycler==0.11.0
debugpy==1.6.0
decorator==5.1.1
Expand All @@ -32,39 +32,39 @@ entrypoints==0.4
execnet==1.9.0
executing==0.8.3
fastjsonschema==2.15.3
filelock==3.7.0
filelock==3.7.1
fonttools==4.33.3
graphviz==0.20
greenlet==1.1.2
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.0
ipykernel==6.15.0
ipympl==0.9.1
ipython==8.3.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
json5==0.9.8
jsonschema==3.2.0
jupyter==1.0.0
jupyter-cache==0.5.0
jupyter-client==7.3.1
jupyter-console==6.4.3
jupyter-client==7.3.4
jupyter-console==6.4.4
jupyter-core==4.10.0
jupyter-server==1.17.0
jupyterlab==3.4.2
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
jupyterlab-pygments==0.2.2
jupyterlab-server==2.14.0
jupyterlab-widgets==1.1.0
kiwisolver==1.4.2
jupyterlab-widgets==1.1.1
kiwisolver==1.4.3
latexcodec==2.0.1
livereload==2.6.3
markdown-it-py==2.1.0
Expand All @@ -74,20 +74,20 @@ matplotlib-inline==0.1.3
mdit-py-plugins==0.3.0
mdurl==0.1.1
mistune==0.8.4
mpl-interactions==0.21.0
mpl-interactions==0.22.0
mypy-extensions==0.4.3
myst-nb==0.15.0
myst-parser==0.17.2
myst-nb==0.16.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
notebook==6.4.11
nodeenv==1.7.0
notebook==6.4.12
notebook-shim==0.1.0
numpy==1.22.4
numpy==1.23.0
packaging==21.3
pandocfilters==1.5.0
parso==0.8.3
Expand All @@ -105,7 +105,7 @@ ptyprocess==0.7.0
pure-eval==0.2.2
py==1.11.0
pybtex==0.24.0
pybtex-docutils==1.0.1
pybtex-docutils==1.0.2
pycparser==2.21
pydantic==1.9.1
pydata-sphinx-theme==0.8.1
Expand All @@ -118,10 +118,10 @@ pytest-xdist==2.5.0
python-dateutil==2.8.2
pytz==2022.1
pyyaml==6.0
pyzmq==23.0.0
qtconsole==5.3.0
pyzmq==23.2.0
qtconsole==5.3.1
qtpy==2.1.0
requests==2.27.1
requests==2.28.0
requests-file==1.5.1
send2trash==1.8.0
six==1.16.0
Expand All @@ -131,7 +131,7 @@ soupsieve==2.3.2.post1
sphinx==4.5.0
sphinx-autobuild==2021.3.14
sphinx-book-theme==0.3.2
sphinx-codeautolink==0.10.0
sphinx-codeautolink==0.11.0
sphinx-comments==0.0.3
sphinx-copybutton==0.5.0
sphinx-data-viewer==0.1.2
Expand All @@ -149,24 +149,24 @@ sphinxcontrib-needs==0.7.9
sphinxcontrib-plantuml==0.23
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.5
sqlalchemy==1.4.36
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
tomli==2.0.1
tornado==6.1
tox==3.25.0
traitlets==5.2.1.post0
traitlets==5.3.0
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
zipp==3.8.0

# The following packages are considered to be unsafe in a requirements file:
Expand Down
Loading

0 comments on commit 29c6f81

Please sign in to comment.