This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import yaml | |
from collections import OrderedDict | |
class PerfectDumper(yaml.Dumper): | |
def increase_indent(self, flow=False, indentless=False): | |
return super(PerfectDumper, self).increase_indent(flow, False) | |
class UnsortableList(list): | |
def sort(self, *args, **kwargs): |