Skip to content

Commit

Permalink
style: switch to black's default 88 line width (#169)
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
* fix: remove pylint `no-self-use` option
* 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 authored Jun 27, 2022
1 parent 4106696 commit 269afd2
Show file tree
Hide file tree
Showing 21 changed files with 245 additions and 275 deletions.
90 changes: 45 additions & 45 deletions .constraints/py3.10.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,22 @@ alabaster==0.7.12
anyio==3.6.1
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
chardet==4.0.0
charset-normalizer==2.0.12
click==8.1.3
colorama==0.4.4
coverage==6.3.3
colorama==0.4.5
coverage==6.4.1
cycler==0.11.0
dataproperty==0.55.0
debugpy==1.6.0
Expand All @@ -39,48 +39,47 @@ execnet==1.9.0
executing==0.8.3
fastjsonschema==2.15.3
feynman==2.0.2
filelock==3.7.0
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
flake8-polyfill==1.0.2
flake8-pytest-style==1.6.0
flake8-rst-docstrings==0.2.5
flake8-rst-docstrings==0.2.6
flake8-type-ignore==0.1.0.post2 ; python_version >= "3.8.0"
flake8-use-fstring==1.3
fonttools==4.33.3
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
ipython==8.3.0
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
json5==0.9.8
jsonschema==4.5.1
jsonschema==4.6.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 ; python_version >= "3.7.0"
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
lazy-object-proxy==1.7.1
livereload==2.6.3
Expand All @@ -94,30 +93,30 @@ mdit-py-plugins==0.3.0
mdurl==0.1.1
mistune==0.8.4
mpmath==1.2.1
mypy==0.950
mypy==0.961
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
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
pathspec==0.9.0
pathvalidate==2.5.0
pep517==0.12.0
pep8-naming==0.12.1
pep8-naming==0.13.0
pexpect==4.8.0
pickleshare==0.7.5
pillow==9.1.1
pip-tools==6.6.1
pip-tools==6.6.2
platformdirs==2.5.2
pluggy==1.0.0
pre-commit==2.19.0
Expand All @@ -128,7 +127,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
pycodestyle==2.8.0
pycparser==2.21
pydantic==1.9.1
Expand All @@ -138,7 +137,7 @@ pyflakes==2.4.0
pygithub==1.55
pygments==2.12.0
pyjwt==2.4.0
pylint==2.13.9
pylint==2.14.3
pynacl==1.5.0
pyparsing==3.0.9
pyrsistent==0.18.1
Expand All @@ -148,13 +147,13 @@ pytest-cov==3.0.0
pytest-forked==1.4.0
pytest-xdist==2.5.0
python-dateutil==2.8.2
python-gitlab==3.4.0
python-gitlab==3.5.0
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-toolbelt==0.9.1
restructuredtext-lint==1.4.0
send2trash==1.8.0
Expand All @@ -165,7 +164,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-panels==0.6.0
Expand All @@ -179,33 +178,34 @@ sphinxcontrib-htmlhelp==2.0.0
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.5
sqlalchemy==1.4.36
stack-data==0.2.0
sqlalchemy==1.4.39
stack-data==0.3.0
sympy==1.10.1
tabledata==1.3.0
tabulate==0.8.9
tabulate==0.8.10
tcolorpy==0.1.2
terminado==0.15.0
tinycss2==1.1.1
toml==0.10.2
tomli==2.0.1
tomlkit==0.11.0
tornado==6.1
tox==3.25.0
traitlets==5.2.1.post0
traitlets==5.3.0
typepy==1.3.0
types-docutils==0.18.3
types-pkg-resources==0.1.3
types-python-dateutil==2.8.16
types-pyyaml==6.0.7
types-setuptools==57.4.14
types-python-dateutil==2.8.18
types-pyyaml==6.0.9
types-setuptools==57.4.18
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
39 changes: 19 additions & 20 deletions .constraints/py3.6.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,21 @@ alabaster==0.7.12
anyio==3.6.1
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
chardet==4.0.0
charset-normalizer==2.0.12
click==8.0.4
colorama==0.4.4
colorama==0.4.5
contextvars==2.4
coverage==6.2
cycler==0.11.0
Expand All @@ -41,11 +41,10 @@ feynman==2.0.2
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
flake8-polyfill==1.0.2
flake8-pytest-style==1.6.0
flake8-rst-docstrings==0.2.5
flake8-use-fstring==1.3
Expand All @@ -55,14 +54,14 @@ greenlet==1.1.2
identify==2.4.4
idna==3.3
imagesize==1.3.0
immutables==0.17
immutables==0.18
importlib-metadata==4.2.0
importlib-resources==3.0.0
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 @@ -80,7 +79,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
kiwisolver==1.3.1
latexcodec==2.0.1
lazy-object-proxy==1.7.1
Expand All @@ -93,7 +92,7 @@ mccabe==0.6.1
mdit-py-plugins==0.2.8
mistune==0.8.4
mpmath==1.2.1
mypy==0.950
mypy==0.961
mypy-extensions==0.4.3
myst-nb==0.13.2
myst-parser==0.15.2
Expand All @@ -112,7 +111,7 @@ parso==0.7.1
pathspec==0.9.0
pathvalidate==2.5.0
pep517==0.12.0
pep8-naming==0.12.1
pep8-naming==0.13.0
pexpect==4.8.0
pickleshare==0.7.5
pillow==8.4.0
Expand All @@ -125,7 +124,7 @@ prompt-toolkit==3.0.29
ptyprocess==0.7.0
py==1.11.0
pybtex==0.24.0
pybtex-docutils==1.0.1
pybtex-docutils==1.0.2
pycodestyle==2.8.0
pycparser==2.21
pydantic==1.9.1
Expand All @@ -148,7 +147,7 @@ python-dateutil==2.8.2
python-gitlab==2.10.1
pytz==2022.1
pyyaml==6.0
pyzmq==23.0.0
pyzmq==23.2.0
qtconsole==5.2.2
qtpy==2.0.1
requests==2.27.1
Expand All @@ -163,7 +162,7 @@ soupsieve==2.3.2.post1
sphinx==4.3.2 ; python_version < "3.8.0"
sphinx-autobuild==2021.3.14
sphinx-book-theme==0.2.0
sphinx-codeautolink==0.10.0
sphinx-codeautolink==0.11.0
sphinx-comments==0.0.3
sphinx-copybutton==0.5.0
sphinx-panels==0.6.0
Expand All @@ -177,7 +176,7 @@ sphinxcontrib-htmlhelp==2.0.0
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.5
sqlalchemy==1.4.36
sqlalchemy==1.4.39
sympy==1.9
tabledata==1.3.0
tcolorpy==0.1.2
Expand All @@ -192,17 +191,17 @@ typed-ast==1.5.4
typepy==1.3.0
types-docutils==0.18.3
types-pkg-resources==0.1.3
types-python-dateutil==2.8.16
types-pyyaml==6.0.7
types-setuptools==57.4.14
types-python-dateutil==2.8.18
types-pyyaml==6.0.9
types-setuptools==57.4.18
typing-extensions==4.1.1
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
Loading

0 comments on commit 269afd2

Please sign in to comment.