Add src to path when running pylint

- this will allow pylint to run in the main directory without complaining about
This commit is contained in:
Peter Šurda 2018-08-27 18:59:15 +02:00
parent 50ee7fa740
commit 0bc1dfdc8b
Signed by untrusted user: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

View File

@ -11,7 +11,11 @@ ignore = E722,F841
# F841: pylint is preferred for unused-variable
# pylint honours the [MESSAGES CONTROL] section
# as well as [MASTER] section
# invalid-name: needs fixing during a large, project-wide refactor
# bare-except,broad-except: Need fixing once thorough testing is easier
init-hook = import sys;sys.path.append('src')