We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b681246 commit c472430Copy full SHA for c472430
1 file changed
src/main/kotlin/space/whitememory/pythoninlayparams/PythonInlayHintsProvider.kt
@@ -28,8 +28,8 @@ class PythonInlayHintsProvider : InlayParameterHintsProvider {
28
29
// Don't show hints if there's no arguments
30
// Or the only argument is unpacking (*list, **dict)
31
- element.arguments.let {
32
- if (it.isEmpty() || (it.size == 1 && it[0] is PyStarArgument)) return inlayInfos
+ if (element.arguments.isEmpty() || (element.arguments.size == 1 && element.arguments[0] is PyStarArgument)) {
+ return inlayInfos
33
}
34
35
// Try to resolve the object that made this call
0 commit comments