JelleZijlstra / autotyping

Automatically add simple type annotations to your code
238 stars 20 forks source link

Add pre-commit support? #75

Closed exitflynn closed 2 months ago

exitflynn commented 2 months ago

I've discovered the project pretty recently and find it really neat! I've been using it as a local pre-commit hook for a while and I think it could benefit from having pre-commit support? (discussions in a similar vein in other projects was originally how i found out about autotyping in the first place haha)

JelleZijlstra commented 2 months ago

I'd be happy to take a PR adding a pre-commit hook and/or documentation for how to integrate the tool with pre-commit.