Caffe2 - Python API
A deep learning, cross platform ML framework
flake8_hook.py
1 import sys
2 
3 from flake8.main import git
4 
5 if __name__ == '__main__':
6  sys.exit(
7  git.hook(
8  strict=True,
9  lazy=git.config_for('lazy'),
10  )
11  )