more type hints
pycharm: increased right margin to 150
py.test: test on assertion error and exception