Snipped pytest output when trying to validate rules:
/path/to/my/venv/lib/python3.6/site-packages/stoplight/decorators.py:101: DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() or inspect.getfullargspec()
funcparams = inspect.getargspec(f)
and
/path/to/my/venv/lib/python3.6/site-packages/stoplight/rule.py:47: DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() or inspect.getfullargspec()
if inspect.getargspec(self.errfunc).args == []:
Deprecated since version 3.0: Use getfullargspec() for an updated API that is usually a drop-in replacement, but also correctly handles function annotations and keyword-only parameters.
Snipped pytest output when trying to validate rules:
and
Per the Python 3.6 docs: