summaryrefslogtreecommitdiffstats
path: root/gitlint/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitlint/utils.py')
-rw-r--r--gitlint/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlint/utils.py b/gitlint/utils.py
index 6976aac..c91184b 100644
--- a/gitlint/utils.py
+++ b/gitlint/utils.py
@@ -71,7 +71,7 @@ def getpreferredencoding():
# This scenario is fairly common on Windows where git sets LC_CTYPE=C when invoking the commit-msg hook, which
# is not a valid encoding in Python on Windows.
try:
- codecs.lookup(default_encoding)
+ codecs.lookup(default_encoding) # pylint: disable=no-member
except LookupError:
default_encoding = fallback_encoding