Skip to content

Commit 82c2b35

Browse files
redeboerweb-flow
andauthored
ci: upgrade pinned requirements (#269)
* docs: update first notebook cell Co-authored-by: GitHub <[email protected]>
1 parent 0737f49 commit 82c2b35

File tree

9 files changed

+28
-13
lines changed

9 files changed

+28
-13
lines changed

.constraints/py3.6.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ flake8-polyfill==1.0.2
5151
flake8-pytest-style==1.4.1
5252
flake8-rst-docstrings==0.2.3
5353
flake8-use-fstring==1.1
54-
flake8==3.9.1
54+
flake8==3.9.2
5555
flatbuffers==1.12
5656
fuzzywuzzy==0.18.0
5757
gast==0.3.3

.constraints/py3.7.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ flake8-polyfill==1.0.2
4949
flake8-pytest-style==1.4.1
5050
flake8-rst-docstrings==0.2.3
5151
flake8-use-fstring==1.1
52-
flake8==3.9.1
52+
flake8==3.9.2
5353
flatbuffers==1.12
5454
fuzzywuzzy==0.18.0
5555
gast==0.3.3
@@ -103,7 +103,7 @@ markdown-it-py==0.6.2
103103
markdown==3.3.4
104104
markupsafe==1.1.1
105105
matplotlib-inline==0.1.2
106-
matplotlib==3.4.1
106+
matplotlib==3.4.2
107107
mccabe==0.6.1
108108
mdit-py-plugins==0.2.6
109109
mistune==0.8.4

.constraints/py3.8.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ flake8-polyfill==1.0.2
4949
flake8-pytest-style==1.4.1
5050
flake8-rst-docstrings==0.2.3
5151
flake8-use-fstring==1.1
52-
flake8==3.9.1
52+
flake8==3.9.2
5353
flatbuffers==1.12
5454
fuzzywuzzy==0.18.0
5555
gast==0.3.3
@@ -103,7 +103,7 @@ markdown-it-py==0.6.2
103103
markdown==3.3.4
104104
markupsafe==1.1.1
105105
matplotlib-inline==0.1.2
106-
matplotlib==3.4.1
106+
matplotlib==3.4.2
107107
mccabe==0.6.1
108108
mdit-py-plugins==0.2.6
109109
mistune==0.8.4

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ repos:
2828
- id: trailing-whitespace
2929

3030
- repo: https://github.com/ComPWA/repo-maintenance
31-
rev: 0.0.16
31+
rev: 0.0.18
3232
hooks:
3333
- id: check-dev-files
3434
- id: fix-first-nbcell
@@ -44,7 +44,7 @@ repos:
4444
- id: blacken-docs
4545

4646
- repo: https://github.com/ComPWA/mirrors-cspell
47-
rev: v5.3.12
47+
rev: v5.4.0
4848
hooks:
4949
- id: cspell
5050

@@ -84,7 +84,7 @@ repos:
8484
language_version: 12.18.2 # prettier does not specify node correctly
8585

8686
- repo: https://github.com/ComPWA/mirrors-pyright
87-
rev: v1.1.136
87+
rev: v1.1.138
8888
hooks:
8989
- id: pyright
9090

docs/usage.ipynb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
"%%capture\n",
2020
"%config Completer.use_jedi = False\n",
2121
"%config InlineBackend.figure_formats = ['svg']\n",
22+
"import os\n",
23+
"\n",
24+
"STATIC_WEB_PAGE = {\"EXECUTE_NB\", \"READTHEDOCS\"}.intersection(os.environ)\n",
2225
"\n",
2326
"# Install on Google Colab\n",
2427
"import subprocess\n",
@@ -28,7 +31,7 @@
2831
"\n",
2932
"install_packages = \"google.colab\" in str(get_ipython())\n",
3033
"if install_packages:\n",
31-
" for package in [\"tensorwaves\", \"graphviz\"]:\n",
34+
" for package in [\"tensorwaves[doc]\", \"graphviz\"]:\n",
3235
" subprocess.check_call(\n",
3336
" [sys.executable, \"-m\", \"pip\", \"install\", package]\n",
3437
" )"

docs/usage/basics.ipynb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
"%%capture\n",
2020
"%config Completer.use_jedi = False\n",
2121
"%config InlineBackend.figure_formats = ['svg']\n",
22+
"import os\n",
23+
"\n",
24+
"STATIC_WEB_PAGE = {\"EXECUTE_NB\", \"READTHEDOCS\"}.intersection(os.environ)\n",
2225
"\n",
2326
"# Install on Google Colab\n",
2427
"import subprocess\n",
@@ -28,7 +31,7 @@
2831
"\n",
2932
"install_packages = \"google.colab\" in str(get_ipython())\n",
3033
"if install_packages:\n",
31-
" for package in [\"tensorwaves\", \"graphviz\"]:\n",
34+
" for package in [\"tensorwaves[doc]\", \"graphviz\"]:\n",
3235
" subprocess.check_call(\n",
3336
" [sys.executable, \"-m\", \"pip\", \"install\", package]\n",
3437
" )"

docs/usage/step1.ipynb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
"%%capture\n",
2020
"%config Completer.use_jedi = False\n",
2121
"%config InlineBackend.figure_formats = ['svg']\n",
22+
"import os\n",
23+
"\n",
24+
"STATIC_WEB_PAGE = {\"EXECUTE_NB\", \"READTHEDOCS\"}.intersection(os.environ)\n",
2225
"\n",
2326
"# Install on Google Colab\n",
2427
"import subprocess\n",
@@ -28,7 +31,7 @@
2831
"\n",
2932
"install_packages = \"google.colab\" in str(get_ipython())\n",
3033
"if install_packages:\n",
31-
" for package in [\"tensorwaves\", \"graphviz\"]:\n",
34+
" for package in [\"tensorwaves[doc]\", \"graphviz\"]:\n",
3235
" subprocess.check_call(\n",
3336
" [sys.executable, \"-m\", \"pip\", \"install\", package]\n",
3437
" )"

docs/usage/step2.ipynb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
"%%capture\n",
2020
"%config Completer.use_jedi = False\n",
2121
"%config InlineBackend.figure_formats = ['svg']\n",
22+
"import os\n",
23+
"\n",
24+
"STATIC_WEB_PAGE = {\"EXECUTE_NB\", \"READTHEDOCS\"}.intersection(os.environ)\n",
2225
"\n",
2326
"# Install on Google Colab\n",
2427
"import subprocess\n",
@@ -28,7 +31,7 @@
2831
"\n",
2932
"install_packages = \"google.colab\" in str(get_ipython())\n",
3033
"if install_packages:\n",
31-
" for package in [\"tensorwaves\", \"graphviz\"]:\n",
34+
" for package in [\"tensorwaves[doc]\", \"graphviz\"]:\n",
3235
" subprocess.check_call(\n",
3336
" [sys.executable, \"-m\", \"pip\", \"install\", package]\n",
3437
" )"

docs/usage/step3.ipynb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
"%%capture\n",
2020
"%config Completer.use_jedi = False\n",
2121
"%config InlineBackend.figure_formats = ['svg']\n",
22+
"import os\n",
23+
"\n",
24+
"STATIC_WEB_PAGE = {\"EXECUTE_NB\", \"READTHEDOCS\"}.intersection(os.environ)\n",
2225
"\n",
2326
"# Install on Google Colab\n",
2427
"import subprocess\n",
@@ -28,7 +31,7 @@
2831
"\n",
2932
"install_packages = \"google.colab\" in str(get_ipython())\n",
3033
"if install_packages:\n",
31-
" for package in [\"tensorwaves\", \"graphviz\"]:\n",
34+
" for package in [\"tensorwaves[doc]\", \"graphviz\"]:\n",
3235
" subprocess.check_call(\n",
3336
" [sys.executable, \"-m\", \"pip\", \"install\", package]\n",
3437
" )"

0 commit comments

Comments
 (0)