Update progress for a module. Args: module_name: Name of the module cached: Whether the module was loaded from cache
(self, module_name: str, cached: bool = False)
| 199 | |
| 200 | if self.verbose: |
| 201 | status = "✓ (cached)" if cached else "⟳ (generating)" |
| 202 | click.echo(f" [{self.current_module}/{self.total_modules}] {module_name}... {status}") |
| 203 | elif self.bar: |
| 204 | self.bar.update(1) |
| 205 | |
| 206 | def finish(self): |
| 207 | """Finish progress bar.""" |
| 208 | if self.bar: |
| 209 | self.bar.__exit__(None, None, None) |
| 210 | self.bar = None |
no outgoing calls
no test coverage detected