Add flycheck hook.