Skip to content

Commit 8271be2

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 0308531 commit 8271be2

File tree

5 files changed

+8
-11
lines changed

5 files changed

+8
-11
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ ipympl/labextension
3434
.DS_Store
3535

3636
# sphinx build dir
37-
docs/_build
37+
docs/_build

dev-environment.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,3 @@ dependencies:
2424
- sphinx-togglebutton
2525
- sphinx-book-them
2626
- sphinx-autobuild
27-

docs/conf.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,12 @@
77
# -- Path setup --------------------------------------------------------------
88

99
import inspect
10+
1011
# If extensions (or modules to document with autodoc) are in another directory,
1112
# add these directories to sys.path here. If the directory is relative to the
1213
# documentation root, use os.path.abspath to make it absolute, like shown here.
1314
#
1415
import os
15-
import shutil
16-
import subprocess
1716
import sys
1817

1918
try:
@@ -22,7 +21,6 @@
2221
release = "unknown"
2322

2423

25-
2624
# -- Project information -----------------------------------------------------
2725

2826
project = "ipympl"
@@ -48,7 +46,6 @@
4846
]
4947

5048

51-
5249
# Cross-referencing configuration
5350
default_role = "py:obj"
5451
primary_domain = "py"
@@ -183,4 +180,6 @@ def linkcode_resolve(domain, info):
183180

184181
fn = os.path.relpath(fn, start=os.path.dirname("../ipympl"))
185182

186-
return f"https://github.com/matplotlib/ipympl/blob/main/ipympl/{fn}{linespec}" # noqa
183+
return (
184+
f"https://github.com/matplotlib/ipympl/blob/main/ipympl/{fn}{linespec}" # noqa
185+
)

docs/installing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Installing
22

3-
In most cases all you need to do is
3+
In most cases all you need to do is
44
```bash
55
pip install ipympl
66
```

setup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,12 @@
6868
],
6969
extra_requires={
7070
"docs": [
71-
"myst-nb"
72-
"Sphinx >= 1.5",
71+
"myst-nb" "Sphinx >= 1.5",
7372
"sphinx-copybutton",
7473
"sphinx-panels",
7574
"sphinx-thebe",
7675
"sphinx-togglebutton",
77-
"sphinx-book-theme"
76+
"sphinx-book-theme",
7877
]
7978
},
8079
packages=find_packages(),

0 commit comments

Comments
 (0)