]> git.openstreetmap.org Git - nominatim.git/blobdiff - CMakeLists.txt
whitelist pyosmium for pylint
[nominatim.git] / CMakeLists.txt
index c6f63a8b4366e146570ad2b34d33e486087886b4..d579bf1add496338a166cb08fa5e9e52592c4681 100644 (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.")