summaryrefslogtreecommitdiff
path: root/tools/flake8_hook.py
blob: c4b5691195ca2f2d3649e42e90bcbf4361df0f92 (plain)
1
2
3
4
5
6
7
8
9
10
11
import sys

from flake8.main import git

if __name__ == '__main__':
    sys.exit(
        git.hook(
            strict=True,
            lazy=git.config_for('lazy'),
        )
    )