tests: add another directory to search path for pylint

Some IDEs (e.g., emacs+lsp) run pylint from the root directory and so
we need to add `tests/topotests` so that `lib` and `munet` are found
by pylint when used in imports

Signed-off-by: Christian Hopps <chopps@labn.net>
This commit is contained in:
Christian Hopps 2025-03-24 05:07:28 +00:00
parent c288e5fbaf
commit 3d4dee5f0c

View file

@ -1,5 +1,5 @@
[MASTER] [MASTER]
init-hook="import sys; sys.path.insert(0, '..')" init-hook="import sys; sys.path.extend(['..', 'tests/topotests']);"
signature-mutators=common_config.retry,retry signature-mutators=common_config.retry,retry
[FORMAT] [FORMAT]