mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
12 lines
247 B
Python
Executable file
12 lines
247 B
Python
Executable file
#!/usr/bin/env python
|
|
import sys
|
|
|
|
|
|
def main():
|
|
print('stdin: {}'.format(sys.stdin.isatty()))
|
|
print('stdout: {}'.format(sys.stdout.isatty()))
|
|
print('stderr: {}'.format(sys.stderr.isatty()))
|
|
|
|
|
|
if __name__ == '__main__':
|
|
exit(main())
|