Skip to content

Commit 270c88a

Browse files
committed
Add black formatting
1 parent 5d1cfd0 commit 270c88a

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

docs/conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@
3333
# Add any Sphinx extension module names here, as strings. They can be
3434
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
3535
extensions = [
36-
# fmt: off
36+
# fmt: off
3737
"sphinx.ext.autodoc",
3838
"sphinx_click.ext",
3939
"sphinx.ext.viewcode",
40-
# fmt: on
40+
# fmt: on
4141
]
4242

4343
# Add any paths that contain templates here, relative to this directory.
@@ -181,4 +181,4 @@
181181
"Miscellaneous",
182182
),
183183
# fmt: on
184-
]
184+
]

setup.py

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,17 @@
7171
try:
7272
from Cython.Build import cythonize
7373
import numpy as np
74-
ext_modules = cythonize([
75-
Extension("darknet.py.network", ["src/darknet/py/network.pyx"],
76-
include_dirs=[np.get_include()],
77-
libraries=["darknet"])
78-
])
74+
75+
ext_modules = cythonize(
76+
[
77+
Extension(
78+
"darknet.py.network",
79+
["src/darknet/py/network.pyx"],
80+
include_dirs=[np.get_include()],
81+
libraries=["darknet"],
82+
)
83+
]
84+
)
7985
except ModuleNotFoundError:
8086
pass
8187

0 commit comments

Comments
 (0)