Lines Matching refs:cls
82 def extract_top_version(cls, changelog_file_content):
97 def version_title_text(cls, version_title):
102 def split_categories(cls, version_body):
111 def format_category(cls, title, body):
120 def is_released_version(cls, title):
128 def extract_top_version(cls, changelog_file_content):
130 m = re.search(cls._top_version_re, changelog_file_content)
135 name = re.match(cls._name_re, top_version_title).group(1)
136 if cls.is_released_version(top_version_title):
138 top_version_title = cls._unreleased_version_text.format(name) + '\n\n'
145 def version_title_text(cls, version_title):
150 def split_categories(cls, version_body):
154 title_matches = list(re.finditer(cls._category_title_re, version_body))
171 def format_category(cls, title, body):
323 def merge_hash(cls, some_hash):
332 ancestry = frozenset(cls.list_merges(some_hash, target,
336 first_parents = cls.list_merges(some_hash, target,