diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index dfea940e..e8bf0a5e 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -40,8 +40,18 @@ repos:
.*\.svg
)$
+ - repo: https://github.com/jumanjihouse/pre-commit-hooks
+ rev: 2.1.6
+ hooks:
+ - id: forbid-binary
+ always_run: true
+ exclude: >
+ (?x)^(
+ docs/_static/favicon.ico
+ )$
+
- repo: https://github.com/ComPWA/repo-maintenance
- rev: 0.0.123
+ rev: 0.0.124
hooks:
- id: check-dev-files
args:
diff --git a/docs/adr/001/operators.ipynb b/docs/adr/001/operators.ipynb
index c30c40d2..5a870a3c 100644
--- a/docs/adr/001/operators.ipynb
+++ b/docs/adr/001/operators.ipynb
@@ -72,24 +72,11 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
- "tags": []
+ "tags": [
+ "remove-output"
+ ]
},
- "outputs": [
- {
- "data": {
- "application/vnd.jupyter.widget-view+json": {
- "model_id": "c7846d1422964a3a81627a061844c1b8",
- "version_major": 2,
- "version_minor": 0
- },
- "text/plain": [
- "Propagating quantum numbers: 0%| | 0/24 [00:00, ?it/s]"
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- }
- ],
+ "outputs": [],
"source": [
"import expertsystem as es\n",
"\n",
@@ -118,145 +105,7 @@
"metadata": {
"tags": []
},
- "outputs": [
- {
- "data": {
- "image/svg+xml": [
- "\n",
- "\n",
- "\n",
- "\n",
- "\n"
- ],
- "text/plain": [
- ""
- ]
- },
- "execution_count": null,
- "metadata": {},
- "output_type": "execute_result"
- }
- ],
+ "outputs": [],
"source": [
"import graphviz\n",
"\n",
@@ -265,11 +114,20 @@
"graphviz.Source(dot)"
]
},
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "![](https://user-images.githubusercontent.com/29308176/164985188-dbac5fdb-6149-409a-9975-bb2dfb074e57.svg)"
+ ]
+ },
{
"cell_type": "code",
"execution_count": null,
"metadata": {
- "tags": []
+ "tags": [
+ "keep_output"
+ ]
},
"outputs": [
{
@@ -321,7 +179,9 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
- "tags": []
+ "tags": [
+ "keep_output"
+ ]
},
"outputs": [
{
@@ -538,7 +398,6 @@
}
],
"metadata": {
- "keep_output": true,
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
diff --git a/docs/adr/001/sympy.ipynb b/docs/adr/001/sympy.ipynb
index 38bde130..74e91950 100644
--- a/docs/adr/001/sympy.ipynb
+++ b/docs/adr/001/sympy.ipynb
@@ -143,7 +143,9 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
- "tags": []
+ "tags": [
+ "keep_output"
+ ]
},
"outputs": [
{
@@ -170,7 +172,9 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
- "tags": []
+ "tags": [
+ "keep_output"
+ ]
},
"outputs": [
{
@@ -202,7 +206,9 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
- "tags": []
+ "tags": [
+ "keep_output"
+ ]
},
"outputs": [
{
@@ -234,7 +240,9 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
- "tags": []
+ "tags": [
+ "keep_output"
+ ]
},
"outputs": [
{
@@ -315,2468 +323,33 @@
"metadata": {
"tags": []
},
- "outputs": [
- {
- "data": {
- "image/svg+xml": [
- "\n",
- "\n",
- "