mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cleanup
This commit is contained in:
+4
-4
@@ -24,14 +24,14 @@ import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
public class PyStudySmartChecker {
|
||||
class PyStudySmartChecker {
|
||||
private PyStudySmartChecker() {
|
||||
|
||||
}
|
||||
|
||||
private static final Logger LOG = Logger.getInstance(PyStudySmartChecker.class);
|
||||
|
||||
public static void smartCheck(@NotNull final AnswerPlaceholder placeholder,
|
||||
private static void smartCheck(@NotNull final AnswerPlaceholder placeholder,
|
||||
@NotNull final Project project,
|
||||
@NotNull final VirtualFile answerFile,
|
||||
@NotNull final TaskFile answerTaskFile,
|
||||
@@ -82,7 +82,7 @@ public class PyStudySmartChecker {
|
||||
}
|
||||
}
|
||||
|
||||
public static void runSmartTestProcess(@NotNull final VirtualFile taskDir,
|
||||
static void runSmartTestProcess(@NotNull final VirtualFile taskDir,
|
||||
@NotNull final PyStudyTestRunner testRunner,
|
||||
@NotNull final String taskFileName,
|
||||
@NotNull final TaskFile taskFile,
|
||||
@@ -112,7 +112,7 @@ public class PyStudySmartChecker {
|
||||
}
|
||||
}
|
||||
|
||||
private static Pair<VirtualFile, TaskFile> getCopyWithAnswers(@NotNull final VirtualFile taskDir,
|
||||
static Pair<VirtualFile, TaskFile> getCopyWithAnswers(@NotNull final VirtualFile taskDir,
|
||||
@NotNull final VirtualFile file,
|
||||
@NotNull final TaskFile source) {
|
||||
try {
|
||||
|
||||
+3
-3
@@ -18,7 +18,7 @@ import org.jetbrains.annotations.NotNull;
|
||||
import java.io.File;
|
||||
import java.util.Map;
|
||||
|
||||
public class PyStudyTestRunner {
|
||||
class PyStudyTestRunner {
|
||||
private static final String PYTHONPATH = "PYTHONPATH";
|
||||
@NotNull private final Task myTask;
|
||||
@NotNull private final VirtualFile myTaskDir;
|
||||
@@ -29,7 +29,7 @@ public class PyStudyTestRunner {
|
||||
myTaskDir = taskDir;
|
||||
}
|
||||
|
||||
public Process createCheckProcess(@NotNull final Project project, @NotNull final String executablePath) throws ExecutionException {
|
||||
Process createCheckProcess(@NotNull final Project project, @NotNull final String executablePath) throws ExecutionException {
|
||||
final Sdk sdk = PythonSdkType.findPythonSdk(ModuleManager.getInstance(project).getModules()[0]);
|
||||
PyEduPluginConfigurator configurator = new PyEduPluginConfigurator();
|
||||
String testsFileName = configurator.getTestFileName();
|
||||
@@ -59,7 +59,7 @@ public class PyStudyTestRunner {
|
||||
return null;
|
||||
}
|
||||
|
||||
public GeneralCommandLine getCommandLine() {
|
||||
GeneralCommandLine getCommandLine() {
|
||||
return myCommandLine;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user