Skip to content

Commit

Permalink
fix: add back hide-code extension (#68)
Browse files Browse the repository at this point in the history
* fix: add back hide-code extension
  Mistakenly removed in 1d9fe07
* fix: install notebook along with pip-tools
* style: switch to "-" for package listings
* ci: upgrade pinned requirements (automatic)

Co-authored-by: GitHub Action <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
redeboer and github-actions[bot] committed Sep 28, 2021
1 parent b8340de commit 2a3ae0b
Show file tree
Hide file tree
Showing 8 changed files with 37 additions and 26 deletions.
10 changes: 6 additions & 4 deletions .constraints/py3.6.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#
absl-py==0.14.0
alabaster==0.7.12
ampform==0.11.2
ampform==0.11.3
anyio==3.3.2
appdirs==1.4.4
aquirdturtle-collapsible-headings==3.1.0
Expand Down Expand Up @@ -42,7 +42,7 @@ dm-tree==0.1.6
docutils==0.16
entrypoints==0.3
execnet==1.9.0
filelock==3.0.12
filelock==3.1.0
flake8==3.9.2
flake8-blind-except==0.2.0
flake8-bugbear==21.9.1
Expand All @@ -63,9 +63,10 @@ google-auth-oauthlib==0.4.6
google-pasta==0.2.0
graphviz==0.17
greenlet==1.1.1
grpcio==1.40.0
grpcio==1.41.0
h5py==3.1.0
hepunits==2.1.1
hide-code==0.6.0
identify==2.2.15
idna==3.2
imagesize==1.2.0
Expand Down Expand Up @@ -99,7 +100,7 @@ jupyter-nbextensions-configurator==0.4.1
jupyter-server==1.11.0
jupyter-server-mathjax==0.2.3
jupyter-sphinx==0.3.2
jupyterlab==3.1.13
jupyterlab==3.1.14
jupyterlab-code-formatter==1.4.10
jupyterlab-server==2.8.2
jupyterlab-widgets==1.0.2
Expand Down Expand Up @@ -139,6 +140,7 @@ pandocfilters==1.5.0
parso==0.8.2
particle==0.16.1
pathspec==0.9.0
pdfkit==0.6.1
pep517==0.11.0
pep8-naming==0.12.1
pexpect==4.8.0
Expand Down
12 changes: 7 additions & 5 deletions .constraints/py3.7.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#
absl-py==0.14.0
alabaster==0.7.12
ampform==0.11.2
ampform==0.11.3
anyio==3.3.2
appdirs==1.4.4
aquirdturtle-collapsible-headings==3.1.0
Expand Down Expand Up @@ -41,7 +41,7 @@ dm-tree==0.1.6
docutils==0.16
entrypoints==0.3
execnet==1.9.0
filelock==3.0.12
filelock==3.1.0
flake8==3.9.2
flake8-blind-except==0.2.0
flake8-bugbear==21.9.1
Expand All @@ -62,9 +62,10 @@ google-auth-oauthlib==0.4.6
google-pasta==0.2.0
graphviz==0.17
greenlet==1.1.1
grpcio==1.40.0
grpcio==1.41.0
h5py==3.1.0
hepunits==2.1.1
hide-code==0.6.0
identify==2.2.15
idna==3.2
imagesize==1.2.0
Expand Down Expand Up @@ -97,7 +98,7 @@ jupyter-nbextensions-configurator==0.4.1
jupyter-server==1.11.0
jupyter-server-mathjax==0.2.3
jupyter-sphinx==0.3.2
jupyterlab==3.1.13
jupyterlab==3.1.14
jupyterlab-code-formatter==1.4.10
jupyterlab-server==2.8.2
jupyterlab-widgets==1.0.2
Expand Down Expand Up @@ -138,6 +139,7 @@ pandocfilters==1.5.0
parso==0.8.2
particle==0.16.1
pathspec==0.9.0
pdfkit==0.6.1
pep517==0.11.0
pep8-naming==0.12.1
pexpect==4.8.0
Expand Down Expand Up @@ -225,7 +227,7 @@ tomli==1.2.1
tornado==6.1
tox==3.24.4
tqdm==4.62.3
traitlets==5.1.0
traitlets==4.3.3
typed-ast==1.4.3
typing-extensions==3.7.4.3
urllib3==1.26.7
Expand Down
12 changes: 7 additions & 5 deletions .constraints/py3.8.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#
absl-py==0.14.0
alabaster==0.7.12
ampform==0.11.2
ampform==0.11.3
anyio==3.3.2
appdirs==1.4.4
aquirdturtle-collapsible-headings==3.1.0
Expand Down Expand Up @@ -39,7 +39,7 @@ dm-tree==0.1.6
docutils==0.16
entrypoints==0.3
execnet==1.9.0
filelock==3.0.12
filelock==3.1.0
flake8==3.9.2
flake8-blind-except==0.2.0
flake8-bugbear==21.9.1
Expand All @@ -60,9 +60,10 @@ google-auth-oauthlib==0.4.6
google-pasta==0.2.0
graphviz==0.17
greenlet==1.1.1
grpcio==1.40.0
grpcio==1.41.0
h5py==3.1.0
hepunits==2.1.1
hide-code==0.6.0
identify==2.2.15
idna==3.2
imagesize==1.2.0
Expand Down Expand Up @@ -95,7 +96,7 @@ jupyter-nbextensions-configurator==0.4.1
jupyter-server==1.11.0
jupyter-server-mathjax==0.2.3
jupyter-sphinx==0.3.2
jupyterlab==3.1.13
jupyterlab==3.1.14
jupyterlab-code-formatter==1.4.10
jupyterlab-server==2.8.2
jupyterlab-widgets==1.0.2
Expand Down Expand Up @@ -136,6 +137,7 @@ pandocfilters==1.5.0
parso==0.8.2
particle==0.16.1
pathspec==0.9.0
pdfkit==0.6.1
pep517==0.11.0
pep8-naming==0.12.1
pexpect==4.8.0
Expand Down Expand Up @@ -223,7 +225,7 @@ tomli==1.2.1
tornado==6.1
tox==3.24.4
tqdm==4.62.3
traitlets==5.1.0
traitlets==4.3.3
typing-extensions==3.7.4.3
urllib3==1.26.7
virtualenv==20.8.1
Expand Down
12 changes: 7 additions & 5 deletions .constraints/py3.9.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#
absl-py==0.14.0
alabaster==0.7.12
ampform==0.11.2
ampform==0.11.3
anyio==3.3.2
appdirs==1.4.4
aquirdturtle-collapsible-headings==3.1.0
Expand Down Expand Up @@ -39,7 +39,7 @@ dm-tree==0.1.6
docutils==0.16
entrypoints==0.3
execnet==1.9.0
filelock==3.0.12
filelock==3.1.0
flake8==3.9.2
flake8-blind-except==0.2.0
flake8-bugbear==21.9.1
Expand All @@ -60,9 +60,10 @@ google-auth-oauthlib==0.4.6
google-pasta==0.2.0
graphviz==0.17
greenlet==1.1.1
grpcio==1.40.0
grpcio==1.41.0
h5py==3.1.0
hepunits==2.1.1
hide-code==0.6.0
identify==2.2.15
idna==3.2
imagesize==1.2.0
Expand Down Expand Up @@ -95,7 +96,7 @@ jupyter-nbextensions-configurator==0.4.1
jupyter-server==1.11.0
jupyter-server-mathjax==0.2.3
jupyter-sphinx==0.3.2
jupyterlab==3.1.13
jupyterlab==3.1.14
jupyterlab-code-formatter==1.4.10
jupyterlab-server==2.8.2
jupyterlab-widgets==1.0.2
Expand Down Expand Up @@ -136,6 +137,7 @@ pandocfilters==1.5.0
parso==0.8.2
particle==0.16.1
pathspec==0.9.0
pdfkit==0.6.1
pep517==0.11.0
pep8-naming==0.12.1
pexpect==4.8.0
Expand Down Expand Up @@ -223,7 +225,7 @@ tomli==1.2.1
tornado==6.1
tox==3.24.4
tqdm==4.62.3
traitlets==5.1.0
traitlets==4.3.3
typing-extensions==3.7.4.3
urllib3==1.26.7
virtualenv==20.8.1
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/requirements-cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ jobs:
- name: Install pip-tools
run: |
python -m pip install --upgrade pip
pip install pip-tools
pip install pip-tools notebook
# notebook required because it is imported in hide-code's setup.py...
# https://github.com/kirbs-/hide_code/tree/v0.6.0/setup.py#L9
- name: Upgrade pinned requirements
run: python3 .constraints/pin_requirements.py
- uses: actions/upload-artifact@v2
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/requirements-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ jobs:
if: steps.git-diff.outputs.dependency-changes != ''
run: |
python -m pip install --upgrade pip
pip install pip-tools
pip install pip-tools notebook
# notebook required because it is imported in hide-code's setup.py...
# https://github.com/kirbs-/hide_code/tree/v0.6.0/setup.py#L9
- name: Upgrade dependencies
if: steps.git-diff.outputs.dependency-changes != ''
run: python3 .constraints/pin_requirements.py
Expand Down
2 changes: 0 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ repos:
rev: 0.0.41
hooks:
- id: check-dev-files
args:
- --pin-requirements
- id: fix-nbformat-version
- id: format-setup-cfg
- id: pin-nb-requirements
Expand Down
7 changes: 4 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,10 @@ dev =
%(doc)s
%(sty)s
%(test)s
aquirdturtle_collapsible_headings
jupyter_contrib_nbextensions
jupyter_nbextensions_configurator
aquirdturtle-collapsible-headings
hide-code
jupyter-contrib-nbextensions
jupyter-nbextensions-configurator
jupyterlab >=3.0.0
jupyterlab-code-formatter
pip-tools >=6.1.0 # for extras_require
Expand Down

0 comments on commit 2a3ae0b

Please sign in to comment.