-
Notifications
You must be signed in to change notification settings - Fork 391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix multiline comments instruction for percent #403
Conversation
Codecov Report
@@ Coverage Diff @@
## master #403 +/- ##
==========================================
+ Coverage 99.05% 99.05% +<.01%
==========================================
Files 75 75
Lines 7538 7545 +7
==========================================
+ Hits 7467 7474 +7
Misses 71 71
Continue to review full report at Codecov.
|
Hello @zhuoqiang , thanks for spotting this. I would say it is not required to double the triple quote, i.e. jupytext/tests/test_read_simple_percent.py Lines 207 to 361 in 4df17b0
|
@mwouts the problem is, if configured using single "tripper quotes" like following python file: # ---
# jupyter:
# jupytext:
# cell_markers: '"""'
# formats: ipynb,.py:percent
# text_representation:
# extension: .py
# format_name: percent
# ---
# %%
print("hello") It could not be opened in jupyter with the following error:
change config to double the "tripper quotes" |
Oh that's interesting! Probably a bug, then... I'll have a look. |
Now it should be ok with triple quotes x1 - I have added a test that reproduces the issue you quoted (Thanks!!). If you're ok with this I'll do the merge. |
please, thanks for the quick fix. |
No description provided.