Open chrisjsewell opened 4 years ago
Now that we are using typing, we could replace aiida/common/lang.py::type_check with a decorator, to test against the types.
aiida/common/lang.py::type_check
Something like this: https://github.com/prechelt/typecheck-decorator
not sure if we want to use this (requiring an extra dependency which maybe isn't that well maintained) or write our own (requiring a bit more maintenance on our part)
Now that we are using typing, we could replace
aiida/common/lang.py::type_check
with a decorator, to test against the types.Something like this: https://github.com/prechelt/typecheck-decorator