summaryrefslogtreecommitdiffstats
path: root/pre_commit/meta_hooks/identity.py
blob: 3e20bbc685dc2880d3a4fc38c82a5d5a77bdf951 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from __future__ import annotations

import sys
from collections.abc import Sequence

from pre_commit import output


def main(argv: Sequence[str] | None = None) -> int:
    argv = argv if argv is not None else sys.argv[1:]
    for arg in argv:
        output.write_line(arg)
    return 0


if __name__ == '__main__':
    raise SystemExit(main())