Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
)
pandas_dataframe_css = File(
path="pandas-dataframe.css",
src_dir=templates_dir,
dest_dir=css_dest_dir,
use_directory_urls=False,
)
jupyter_cells_css = File(
path="jupyter-cells.css",
src_dir=templates_dir,
dest_dir=css_dest_dir,
use_directory_urls=False,
)
files = Files(
[
NotebookFile(f, **config)
if str(f.abs_src_path).endswith("ipynb")
else f
for f in files
]
+ [ansi_colours_css, pandas_dataframe_css, jupyter_cells_css]
)
return files