(
boltquotes: Dict[int, List[Quote]],
boltnum: int,
filename: str,
line: int,
quote: str,
)
| 17 | |
| 18 | |
| 19 | def add_quote( |
| 20 | boltquotes: Dict[int, List[Quote]], |
| 21 | boltnum: int, |
| 22 | filename: str, |
| 23 | line: int, |
| 24 | quote: str, |
| 25 | ) -> None: |
| 26 | if boltnum not in boltquotes: |
| 27 | boltquotes[boltnum] = [] |
| 28 | boltquotes[boltnum].append( |
| 29 | Quote(filename, line, collapse_whitespace(quote.strip())) |
| 30 | ) |
| 31 | |
| 32 | |
| 33 | def included_commit(args: Namespace, boltprefix: str) -> bool: |
no test coverage detected