summaryrefslogtreecommitdiffstats
path: root/.pylintrc
diff options
context:
space:
mode:
authorJoris Roovers <joris.roovers@gmail.com>2017-12-03 14:05:42 +0100
committerJoris Roovers <jroovers@cisco.com>2017-12-03 14:12:03 +0100
commit5ac545d0aa751d36b11670a5b5a4ee4aef3af59e (patch)
treed48e8b5fb9f4c5248fd2a7238249a5526ab57b6f /.pylintrc
parent47ccf27e1c1a3db189ede722726a6dd5c9d7c95c (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--.pylintrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.pylintrc b/.pylintrc
index 891107e..f4adf04 100644
--- a/.pylintrc
+++ b/.pylintrc
@@ -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__