Commit 0a48c8b2 authored by Timo Koch's avatar Timo Koch
Browse files

[python][pylint] Fixup init hook

parent a8a8d434
Pipeline #18214 passed with stage
......@@ -32,7 +32,10 @@ ignore-patterns=
# Python code to execute, usually for sys.path manipulation such as
# pygtk.require().
init-hook="find_pylintrc; import os, sys; sys.path.append(os.path.join(os.path.dirname(find_pylintrc()), 'bin/testing'))"
init-hook=
import os, sys
from pylint.config import PYLINTRC
sys.path.append(os.path.join(os.path.dirname(PYLINTRC), 'bin/testing'))
# Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the
# number of processors available to use.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment