Skip to content

Merge pull request #414 from koxudaxi/fix_wsl_detection_on_2024.1 #284

Merge pull request #414 from koxudaxi/fix_wsl_detection_on_2024.1

Merge pull request #414 from koxudaxi/fix_wsl_detection_on_2024.1 #284

Triggered via push April 7, 2024 14:46
Status Success
Total duration 26s
Artifacts

docs.yml

on: push
build-deploy
18s
build-deploy
Fit to window
Zoom out
Zoom in

Annotations

6 errors, 15 warnings, and 5 notices
Usage of API marked for removal: src/com/koxudaxi/ruff/RuffNoqaDocumentationTarget.kt#L36
'com.intellij.webSymbols.utils.HtmlMarkdownUtils' is deprecated and marked for removal
Usage of API marked for removal: src/com/koxudaxi/ruff/RuffPackageManagerListener.kt#L7
'com.jetbrains.python.packaging.PyPackageManager' is deprecated and marked for removal
Usage of API marked for removal: src/com/koxudaxi/ruff/RuffNoqaDocumentationTarget.kt#L36
'com.intellij.webSymbols.utils.HtmlMarkdownUtils' is deprecated and marked for removal
Usage of API marked for removal: src/com/koxudaxi/ruff/RuffPackageManagerListener.kt#L9
'com.jetbrains.python.packaging.PyPackageManager' is deprecated and marked for removal
Usage of API marked for removal: src/com/koxudaxi/ruff/RuffNoqaDocumentationTarget.kt#L12
'com.intellij.webSymbols.utils.HtmlMarkdownUtils' is deprecated and marked for removal
Usage of API marked for removal: src/com/koxudaxi/ruff/RuffPackageManagerListener.kt#L9
'com.jetbrains.python.packaging.PyPackageManager' is deprecated and marked for removal
build-deploy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: peaceiris/actions-gh-pages@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Incorrect string capitalization: src/com/koxudaxi/ruff/Ruff.kt#L274
String 'Error Running Ruff' is not properly capitalized. It should have sentence capitalization
Usage of redundant or deprecated syntax or deprecated symbols: src/com/koxudaxi/ruff/RuffNoqaDocumentationTarget.kt#L36
Elvis operator (?:) always returns the left operand of non-nullable type String
Unused import directive: src/com/koxudaxi/ruff/Ruff.kt#L19
Unused import directive
Unused import directive: src/com/koxudaxi/ruff/Ruff.kt#L40
Unused import directive
Unstable API Usage: src/com/koxudaxi/ruff/RuffProjectInitializer.kt#L60
'stopAndRestartIfNeeded(java.lang.Class)' is declared in unstable 'com.intellij.platform.lsp.api.LspServerManager' marked with @ApiStatus.Experimental
Unstable API Usage: src/com/koxudaxi/ruff/RuffProjectInitializer.kt#L62
'getInstance(com.intellij.openapi.project.Project)' is declared in unstable 'com.intellij.platform.lsp.api.LspServerManager' marked with @ApiStatus.Experimental
Unstable API Usage: src/com/koxudaxi/ruff/RuffProjectInitializer.kt#L62
'com.intellij.platform.lsp.api.LspServerManager.Companion' is declared in unstable 'com.intellij.platform.lsp.api.LspServerManager' marked with @ApiStatus.Experimental
Unstable API Usage: src/com/koxudaxi/ruff/RuffProjectInitializer.kt#L63
'stopAndRestartIfNeeded(java.lang.Class)' is declared in unstable 'com.intellij.platform.lsp.api.LspServerManager' marked with @ApiStatus.Experimental
Unused symbol: src/com/koxudaxi/ruff/Ruff.kt#L375
Function "runRuffInBackground" is never used
Unused symbol: src/com/koxudaxi/ruff/RuffRun.kt#L24
Property "actionID" is never used
Unused symbol: src/com/koxudaxi/ruff/RuffExternalAnnotator.kt#L117
Function "isForFile" is never used
Array property in data class: src/com/koxudaxi/ruff/Ruff.kt#L318
Property with 'Array' type in a 'data' class: it is recommended to override 'equals()' and 'hashCode()'
Const property naming convention: src/com/koxudaxi/ruff/RuffRun.kt#L24
Const property name `actionID` should not contain lowercase letters
Regular expression can be simplified: src/com/koxudaxi/ruff/Ruff.kt#L515
`[\\s]` can be simplified to '\\s'