See https://lgtm.com/help/lgtm/lgtm.yml-configuration-file
I will be extended further if it works.
--- /dev/null
+##########################################################################################
+# Customize file classifications. #
+# Results from files under any classifier will be excluded from LGTM #
+# statistics. #
+##########################################################################################
+
+##########################################################################################
+# Use the `path_classifiers` block to define changes to the default classification of #
+# files. #
+##########################################################################################
+
+path_classifiers:
+ smpi_colls:
+ - src/smpi/colls/