Check if running in an interactive TTY.
()
| 10 | |
| 11 | |
| 12 | def is_tty() -> bool: |
| 13 | """Check if running in an interactive TTY.""" |
| 14 | return sys.stdin.isatty() and sys.stdout.isatty() |
| 15 | |
| 16 | |
| 17 | def _has_inquirerpy() -> bool: |
no outgoing calls
no test coverage detected