Fix a typo in PyPep8NamingInspection

GitOrigin-RevId: 24a679e4fd66bfe4c8f972eb460741a26cf98d63
This commit is contained in:
Mikhail Golubev
2022-09-15 22:17:58 +03:00
committed by intellij-monorepo-bot
parent b4ad8789d7
commit be2fbcd7a9

View File

@@ -104,7 +104,7 @@ public class PyPep8NamingInspection extends PyInspection {
}
}
protected LocalQuickFix[] createRenameAndIngoreErrorQuickFixes(@Nullable PsiElement node,
protected LocalQuickFix[] createRenameAndIgnoreErrorQuickFixes(@Nullable PsiElement node,
String errorCode) {
List<LocalQuickFix> fixes = new ArrayList<>();
if (node != null) {
@@ -251,7 +251,7 @@ public class PyPep8NamingInspection extends PyInspection {
protected void registerAndAddRenameAndIgnoreErrorQuickFixes(@Nullable final PsiElement node, @NotNull final String errorCode) {
if (getHolder() != null && getHolder().isOnTheFly()) {
registerProblem(node, ERROR_CODES_DESCRIPTION.get(errorCode).get(), createRenameAndIngoreErrorQuickFixes(node, errorCode));
registerProblem(node, ERROR_CODES_DESCRIPTION.get(errorCode).get(), createRenameAndIgnoreErrorQuickFixes(node, errorCode));
}
else {
registerProblem(node, ERROR_CODES_DESCRIPTION.get(errorCode).get(), new IgnoreErrorFix(errorCode));