Skip to content

Commit 487f1b7

Browse files
committed
Run hooks
1 parent e6f0f9e commit 487f1b7

File tree

5 files changed

+18
-12
lines changed

5 files changed

+18
-12
lines changed

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ $ pytask src/scipy_dev/task_test_installations.py
2727

2828
**Installation:**
2929

30-
- marp: Can be installed from the [README instructions](https://github.com/marp-team/marp-cli)
31-
- decktape: Can be installed via ``npm install -g decktape``
30+
- marp: Can be installed from the
31+
[README instructions](https://github.com/marp-team/marp-cli)
32+
- decktape: Can be installed via `npm install -g decktape`
3233

3334
## Credits
3435

setup.cfg

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
[metadata]
22
name = scipy_dev
3-
description =
43
long_description = file: README.md
54
long_description_content_type = text/markdown
65
url = hhttps://github.com/opensourceeconomics/scipy-2022-dev

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
from setuptools import setup
22

3-
if __name__ == '__main__':
3+
if __name__ == "__main__":
44
setup()

src/scipy_dev/presentation/custom.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ section.split {
1212
display: grid;
1313
grid-template-columns: 500px 500px;
1414
grid-template-rows: 100px auto;
15-
grid-template-areas:
15+
grid-template-areas:
1616
"slideheading slideheading"
1717
"leftpanel rightpanel";
1818
}
@@ -21,4 +21,4 @@ section.split h3 {
2121
font-size: 50px;
2222
}
2323
section.split .leftcol { grid-area: leftpanel; }
24-
section.split .rightcol { grid-area: rightpanel; }
24+
section.split .rightcol { grid-area: rightpanel; }

src/scipy_dev/task_render_presentation.py

+12-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import pytask
21
import subprocess
32

3+
import pytask
44
from scipy_dev.config import BLD
55
from scipy_dev.config import SRC
66

@@ -16,7 +16,9 @@
1616

1717
kwargs = {
1818
"depends_on": SRC.joinpath("presentation", f"{file}.md"),
19-
"produces": BLD.joinpath("public", "presentation", f"{file}.{output_format}"),
19+
"produces": BLD.joinpath(
20+
"public", "presentation", f"{file}.{output_format}"
21+
),
2022
}
2123

2224
@pytask.mark.task(id=f"{file}-{output_format}", kwargs=kwargs)
@@ -25,11 +27,15 @@ def task_render_presentation(depends_on, produces):
2527
commands = [
2628
"marp", # executable
2729
"--html", # allows html code in markdown files
28-
"--theme-set", str(CSS_PATH), # use custom css file
29-
"--output", str(produces), # output file
30+
"--theme-set",
31+
str(CSS_PATH), # use custom css file
32+
"--output",
33+
str(produces), # output file
3034
# meta data
31-
"--title", "Scipy 2022: Estimagic Tutorial",
32-
"--author", "Janos Gabler and Tim Mensinger",
35+
"--title",
36+
"Scipy 2022: Estimagic Tutorial",
37+
"--author",
38+
"Janos Gabler and Tim Mensinger",
3339
]
3440

3541
if "pdf" in produces.suffix:

0 commit comments

Comments
 (0)