update .gitignore and type hints