Skip to content

Conversation

@sophstad
Copy link
Member

@sophstad sophstad requested review from i80and and mango-db June 23, 2020 20:28
CHANGELOG.md Outdated
### Added

- fail_on_diagnostics toml flag (DOP-1132)
- Support additional ordered list labels
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Optionally include the ticket number here!!

snooty/parser.py Outdated
self.state.append(n.ListNode((line,), [], n.ListEnumType.unordered))
elif isinstance(node, docutils.nodes.enumerated_list):
self.state.append(n.ListNode((line,), [], True))
self.state.append(n.ListNode((line,), [], node["enumtype"]))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this valid? Isn't this passing a string where ListEnumType is expected? Do we need to use n.ListEnumType[node["enumtype"]]?

@i80and i80and merged commit ff45dea into master Jun 24, 2020
@i80and i80and deleted the DOP-1129 branch June 24, 2020 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants