1- import pytask
21import subprocess
32
3+ import pytask
44from scipy_dev .config import BLD
55from scipy_dev .config import SRC
66
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