14 lines
223 B
Python
Executable File
14 lines
223 B
Python
Executable File
#!/usr/bin/env python3
|
|
# encoding: utf-8
|
|
import sys
|
|
|
|
from flake8.main import git
|
|
|
|
if __name__ == '__main__':
|
|
sys.exit(
|
|
git.hook(
|
|
strict=True,
|
|
lazy=git.config_for('lazy'),
|
|
)
|
|
)
|