Commit 00ebef23 authored by Timo Koch's avatar Timo Koch
Browse files

[python][pylint] Use path relative to pylintrc in init-hook

parent df85511a
Pipeline #18210 waiting for manual action with stage
......@@ -32,7 +32,7 @@ ignore-patterns=
# Python code to execute, usually for sys.path manipulation such as
# pygtk.require().
init-hook='import sys; sys.path.append("bin/testing")'
init-hook="find_pylintrc; import os, sys; sys.path.append(os.path.join(os.path.dirname(find_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