Skip to content

Commit

Permalink
add .py to the list of jupytext-readable extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
parmentelat committed Nov 16, 2020
1 parent 53fa92c commit 55aec8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipypublish/convert/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def _default_pre_conversion_funcs(self):
# this is deprecated in newer versions
from jupytext import readf as read # noqa: F401

return {".Rmd": read, ".md": read}
return {".Rmd": read, ".md": read, ".py": read}

@validate("pre_conversion_funcs")
def _validate_pre_conversion_funcs(self, proposal):
Expand Down

0 comments on commit 55aec8a

Please sign in to comment.