Sha256: a9885bc5a70c099de1f5330eea8eaa633caec6094c650086dda97364f68fe8bf
Contents?: true
Size: 270 Bytes
Versions: 5
Compression:
Stored size: 270 Bytes
Contents
module Overcommit::Hook::PreCommit # Runs `flake8` against any modified Python files. class PythonFlake8 < Base def run result = execute([executable] + applicable_files) return :pass if result.success? [:fail, result.stdout] end end end
Version data entries
5 entries across 5 versions & 2 rubygems