Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Warren <bmw@users.noreply.github.com>2021-03-23 23:01:01 +0300
committerGitHub <noreply@github.com>2021-03-23 23:01:01 +0300
commit1d7ddb0c0c1b587d56c6cce1d45ae1edceed7254 (patch)
treeeedde7c29945129b882ef932046976eb500a0abb /.pylintrc
parent54b0b98988ec3dbc28cefe69bae627eecb347235 (diff)
fix pylint (#8729)
Diffstat (limited to '.pylintrc')
-rw-r--r--.pylintrc5
1 files changed, 4 insertions, 1 deletions
diff --git a/.pylintrc b/.pylintrc
index a2468b0cf..e19077d8d 100644
--- a/.pylintrc
+++ b/.pylintrc
@@ -8,7 +8,10 @@ jobs=0
# Python code to execute, usually for sys.path manipulation such as
# pygtk.require().
-#init-hook=
+# CERTBOT COMMENT
+# This is needed for pylint to import linter_plugin.py since
+# https://github.com/PyCQA/pylint/pull/3396.
+init-hook="import pylint.config, os, sys; sys.path.append(os.path.dirname(pylint.config.PYLINTRC))"
# Profiled execution.
profile=no