(commit_hash)
| 279 | |
| 280 | |
| 281 | def get_features(commit_hash): |
| 282 | title, body, files_changed = ( |
| 283 | commit_title(commit_hash), |
| 284 | commit_body(commit_hash), |
| 285 | commit_files_changed(commit_hash), |
| 286 | ) |
| 287 | pr_number = parse_pr_number(body, commit_hash, title) |
| 288 | labels = [] |
| 289 | author = "" |
| 290 | accepters = tuple() |
| 291 | if pr_number is not None: |
| 292 | labels, author, accepters = github_data(pr_number) |
| 293 | result = Features(title, body, pr_number, files_changed, labels, author, accepters) |
| 294 | return result |
| 295 | |
| 296 | |
| 297 | _commit_data_cache = None |
no test coverage detected
searching dependent graphs…