[minor] Added pre-commit as dev dependency