lint and docstrings