diff options
author | Brad Warren <bmw@users.noreply.github.com> | 2021-03-23 23:01:01 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-23 23:01:01 +0300 |
commit | 1d7ddb0c0c1b587d56c6cce1d45ae1edceed7254 (patch) | |
tree | eedde7c29945129b882ef932046976eb500a0abb /.pylintrc | |
parent | 54b0b98988ec3dbc28cefe69bae627eecb347235 (diff) |
fix pylint (#8729)
Diffstat (limited to '.pylintrc')
-rw-r--r-- | .pylintrc | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |