mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
13 lines
221 B
Python
Executable file
13 lines
221 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('{}\n'.format(i))
|
|
f.flush()
|
|
|
|
|
|
if __name__ == '__main__':
|
|
exit(main())
|