Sha256: b3c1aacaeceb4232973df9c07187b93a0e9fe9db46944f643218d53152e7318a
Contents?: true
Size: 349 Bytes
Versions: 28
Compression:
Stored size: 349 Bytes
Contents
# frozen_string_literal: true 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
28 entries across 28 versions & 2 rubygems