Skip to content
Snippets Groups Projects
Commit f0d9c0c4 authored by Erik Oudsen's avatar Erik Oudsen
Browse files

MR related changes V2

parent 75ebcb04
Branches
Tags
2 merge requests!78Master merge,!57Pylint
Pipeline #170975 passed
......@@ -65,8 +65,7 @@ public class PyLint extends JobAnalyzer {
final var zipPath = Files.createTempFile(this.settings.getTemp(), "stream", ".zip");
try (var in = PyLint.class.getResourceAsStream(
"/nl/tudelft/ewi/auta/worker/checker/python/pylint.zip"
);
"/nl/tudelft/ewi/auta/worker/checker/python/pylint.zip");
var out = Files.newOutputStream(zipPath)) {
IOUtils.copy(in, out);
}
......@@ -162,8 +161,11 @@ public class PyLint extends JobAnalyzer {
}
}
var moduleName = fileNames.get(i).replace("\\", "/");
moduleName = moduleName.substring(moduleName.lastIndexOf("/") + 1);
// Create the module entity
final var moduleEntity = new Entity(projectEntity, "ModuleName",
final var moduleEntity = new Entity(projectEntity, moduleName,
false, EntityLevel.MODULE
);
final var moduleEntityWithMetrics = this.createModuleEntityStructure(
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment