Split more of doctest.py functionality into external modules
openstack-
Blueprint information
- Status:
- Complete
- Approver:
- Tom Fifield
- Priority:
- Low
- Drafter:
- Roger Luethi
- Direction:
- Approved
- Assignee:
- Roger Luethi
- Definition:
- Approved
- Series goal:
- Accepted for juno
- Implementation:
- Implemented
- Milestone target:
- juno
- Started by
- Roger Luethi
- Completed by
- Tom Fifield
Related branches
Related bugs
Sprints
Whiteboard
I'll start with the JSON check. There's already an (unused) external module in the repo which provides functionality that is not yet covered by doctest.
Gerrit topic: https:/
Addressed by: https:/
jsoncheck: split process_one_file from main
Addressed by: https:/
remove jsoncheck's check_format()
Addressed by: https:/
jsoncheck: make formatting check optional
Addressed by: https:/
Add a public interface to jsoncheck.py
Addressed by: https:/
jsoncheck: fix handling of formatting argument
Addressed by: https:/
jsoncheck: fix _indent_note for pre-formatted strings
Addressed by: https:/
jsoncheck: indent strings only when printing them
Addressed by: https:/
jsoncheck: use ValueError to pass errors to outside callers
Addressed by: https:/
Use jsoncheck in doctest