src-d / hercules

Gaining advanced insights from Git repository history.
Other
2.63k stars 334 forks source link

Labours: Package refactor + type hints + reformat #317

Closed akx closed 5 years ago

akx commented 5 years ago

As discussed in #314's comments, this PR refactors the monolithic labours.py file into multiple files.

I also ran Monkeytype to add some type hints and Black to reformat some long lines.

A future improvement would be to get rid of args being passed around as-is.