mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/21305 Differential Revision: D15613078 Pulled By: ezyang fbshipit-source-id: 1fedf4368d65db406b617a51402ee8a20968aff7
13 lines
205 B
Python
Executable file
13 lines
205 B
Python
Executable file
#!/usr/bin/env python
|
|
|
|
import sys
|
|
|
|
from flake8.main import git
|
|
|
|
if __name__ == '__main__':
|
|
sys.exit(
|
|
git.hook(
|
|
strict=True,
|
|
lazy=git.config_for('lazy'),
|
|
)
|
|
)
|