- Notifications
You must be signed in to change notification settings - Fork 84
✨ NEW: Add SyntaxTreeNode #129
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
Conversation
Codecov Report
@@ Coverage Diff @@ ## master #129 +/- ## ========================================== - Coverage 96.42% 96.19% -0.23% ========================================== Files 71 72 +1 Lines 2966 3104 +138 ========================================== + Hits 2860 2986 +126 - Misses 106 118 +12
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
| Thanks firstly can you move this to a separate file: tree.py and also note in the module that this is not part of upstream markdown-it |
| @chrisjsewell 👍 done |
| thanks, next can you add docstrings for all the methods and were we going to have |
Sure thing.
What do you think? I realized I don't have much need for these.
So basically just didn't add these because they weren't useful to me, but have no problem with adding them. |
| yeh I think at least add the |
| We could enforce def __init__(self, __internal_call=False): if not __internal_call: raise Exception("this is private API")just an idea, not sure if a good one 😄 |
yeh not necessarily a bad idea lol, but probably overkill |
| Added docstrings and |
I would say yes (basically copied from the comments in |
| Yep, makes sense. Copied those from |
| lastly, can you add a few extra bits to the test module, to increase the test coverage |
| Added. Tell me if you think there's something else in particular that you want tested. |
| nah thats great cheers |
Context: read the thread here hukkin/mdformat#132 (comment)