mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-19 00:54:42 +04:00
13 lines
213 B
Python
Executable file
13 lines
213 B
Python
Executable file
#!/usr/bin/env python
|
|
import sys
|
|
|
|
|
|
def main():
|
|
for i in range(6):
|
|
f = sys.stdout if i % 2 == 0 else sys.stderr
|
|
f.write(f'{i}\n')
|
|
f.flush()
|
|
|
|
|
|
if __name__ == '__main__':
|
|
exit(main())
|