whitelist pyosmium for pylint

This commit is contained in:
Sarah Hoffmann
2021-01-30 15:52:49 +01:00
parent 4cb6dc01f3
commit 01e0fd7e13
3 changed files with 3 additions and 3 deletions

View File

@@ -191,7 +191,7 @@ if (BUILD_TESTS)
if (PYLINT)
message(STATUS "Using pylint binary ${PYLINT}")
add_test(NAME pylint
COMMAND ${PYLINT} nominatim
COMMAND ${PYLINT} --extension-pkg-whitelist=osmium nominatim
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR})
else()
message(WARNING "pylint not found. Python linting tests disabled.")