fidelity / spock

spock is a framework that helps manage complex parameter configurations during research and development of Python applications
https://fidelity.github.io/spock/
Apache License 2.0
122 stars 13 forks source link

Typing updates + post hook methods #245

Closed ncilfone closed 2 years ago

ncilfone commented 2 years ago

What does this PR do?

fixes to some typing stubs. added in a new post hook util to check lengths of a list of iterables. added allow optional to all post hook methods to deal with optional types

Checklist

coveralls commented 2 years ago

Pull Request Test Coverage Report for Build 2185598700

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
spock/utils.py 36 41 87.8%
<!-- Total: 45 50 90.0% -->
Totals Coverage Status
Change from base Build 2168031906: -0.04%
Covered Lines: 1950
Relevant Lines: 2036

💛 - Coveralls