Sha256: bd31857a496a7cd5d92d7232884b83ee20e8eb7ee04e6f70e8d691f1bb8f3bad
Contents?: true
Size: 318 Bytes
Versions: 13
Compression:
Stored size: 318 Bytes
Contents
module Overcommit::Hook::PrePush # Runs `nose` test suite before push # # @see https://nose.readthedocs.io/en/latest/ class PythonNose < Base def run result = execute(command) return :pass if result.success? output = result.stdout + result.stderr [:fail, output] end end end
Version data entries
13 entries across 11 versions & 2 rubygems