Commit bfede400 authored by Semyon Proshev's avatar Semyon Proshev
Browse files

Make AddToRequirementsFix.getFamilyName context-independent

parent ca130c1c
Showing with 8 additions and 0 deletions
+8 -0
......@@ -659,9 +659,17 @@ public class PyPackageRequirementsInspection extends PyInspection {
return false;
}
@Nls(capitalization = Nls.Capitalization.Sentence)
@NotNull
@Override
public String getFamilyName() {
return "Add requirement";
}
@Nls(capitalization = Nls.Capitalization.Sentence)
@NotNull
@Override
public String getName() {
return String.format("Add requirement '%s' to %s", myPackageName, calculateTarget());
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment