(self, opts: argparse.Namespace)
| 184 | display.pprint(requests, colorize=colour) |
| 185 | |
| 186 | def print_results(self, opts: argparse.Namespace) -> None: |
| 187 | colour = not opts.nocolour |
| 188 | |
| 189 | if opts.verbose: |
| 190 | for level in range(1, self.max_level + 1): |
| 191 | print(f"\n>>> DEPTH LEVEL: {level} <<<") |
| 192 | if not opts.noitems: |
| 193 | self.print_items(level, colour) |
| 194 | if not opts.nolinks: |
| 195 | self.print_requests(level, colour) |
| 196 | else: |
| 197 | print(f"\n>>> STATUS DEPTH LEVEL {self.max_level} <<<") |
| 198 | if not opts.noitems: |
| 199 | self.print_items(colour=colour) |
| 200 | if not opts.nolinks: |
| 201 | self.print_requests(colour=colour) |
| 202 | |
| 203 | def _get_items_and_requests( |
| 204 | self, |
no test coverage detected