diff options
| author | Christian Hopps <chopps@labn.net> | 2025-03-24 05:07:28 +0000 |
|---|---|---|
| committer | Christian Hopps <chopps@labn.net> | 2025-03-24 05:10:36 +0000 |
| commit | 3d4dee5f0cb0b32cbf405f0198e112d17249e0f3 (patch) | |
| tree | 0428af8f1c2303f6ef24c335c8221b659a6cd441 | |
| parent | c288e5fbaf73bafb9aa15ade13969fc321e321db (diff) | |
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>
| -rw-r--r-- | .pylintrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,5 +1,5 @@ [MASTER] -init-hook="import sys; sys.path.insert(0, '..')" +init-hook="import sys; sys.path.extend(['..', 'tests/topotests']);" signature-mutators=common_config.retry,retry [FORMAT] |
