Files
b2txt25/language_model/tools/flake8_hook.py
2025-07-02 12:18:09 -07:00

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'),
)
)