Skip to content

Commit

Permalink
Remove braces
Browse files Browse the repository at this point in the history
  • Loading branch information
koxudaxi committed Jan 22, 2023
1 parent fe5490f commit 448a23e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/koxudaxi/ruff/RuffInspection.kt
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class RuffInspection : PyInspection() {
val psiElement = getPyElement(it, pyFile, document) ?: return@forEach
registerProblem(
psiElement,
if(showRuleCode) "${it.code} ${it.message}" else {it.message},
if(showRuleCode) "${it.code} ${it.message}" else it.message,
it.fix?.let { fix ->
RuffQuickFix.create(fix, document)
})
Expand Down

0 comments on commit 448a23e

Please sign in to comment.