sk- / git-lint

improving source code one step at a time
Apache License 2.0
236 stars 78 forks source link

Add flag to disable cache #130

Open sk- opened 5 years ago

sk- commented 5 years ago

As reported by @w4-sjcho: I'd like to use git lint from CI server, where the build agent has no permissions to modify files under home dir.

It would be great to have an option to disable cache completely.

sk- commented 5 years ago

@w4-sjcho out of curiosity, what CI server are you using?

sjincho commented 5 years ago

I'm using teamcity, where each agents run on docker containers under kubernetes.

We're currently working around the issue by making a separate launcher which overrides gitlint.utils.save_output_in_cache with a no-op function.

quiin commented 5 years ago

This would be a handy feature indeed.