mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 04:51:24 +07:00
more tests and improvements for python requirements generation (PY-18847)
GitOrigin-RevId: 2176648fd9021b3734e29c72b9daaa98e81a108a
This commit is contained in:
committed by
intellij-monorepo-bot
parent
539dab2069
commit
6cb5115bed
@@ -63,7 +63,9 @@ public interface PyRequirement {
|
||||
|
||||
|
||||
default boolean isEditable() {
|
||||
return getInstallOptions().size() > 0 && "-e".equals(getInstallOptions().get(0));
|
||||
if (getInstallOptions().isEmpty()) return false;
|
||||
String firstOption = getInstallOptions().get(0);
|
||||
return "-e".equals(firstOption) || "--editable".equals(firstOption);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user