diff options
author | Joris Roovers <joris.roovers@gmail.com> | 2017-12-03 14:05:42 +0100 |
---|---|---|
committer | Joris Roovers <jroovers@cisco.com> | 2017-12-03 14:12:03 +0100 |
commit | 5ac545d0aa751d36b11670a5b5a4ee4aef3af59e (patch) | |
tree | d48e8b5fb9f4c5248fd2a7238249a5526ab57b6f /.pylintrc | |
parent | 47ccf27e1c1a3db189ede722726a6dd5c9d7c95c (diff) |
Don't require a TTY connected to STDIN to read from local git repo (#44)
Before this commit, gitlint defaulted to reading the latest commit message
from the local git repository when it found a TTY connected to STDIN,
falling back to reading from STDIN in all other cases.
With this commit, gitlint will do the opposite which is more sane: it will
only read from STDIN in case there's input on STDIN, falling back to reading
from the local git repo in all other cases.
This is especially useful for environments where there is no TTY attached to
STDIN like in many CI environments.
This fixes #40, #42.
Diffstat (limited to '.pylintrc')
-rw-r--r-- | .pylintrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -28,7 +28,7 @@ argument-rgx=[a-z_][a-z0-9_]{1,30}$ method-rgx=([a-z_][a-z0-9_]{2,50}|setUp|tearDown)$ # Allow 'id' as variable name everywhere -good-names=id,c +good-names=id,c,_ bad-names=__author__ |