Merge pull request #414 from koxudaxi/fix_wsl_detection_on_2024.1 #284
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/RuffApplyService.kt#L8
Unused import directive
|
Unused import directive:
src/com/koxudaxi/ruff/RuffExternalAnnotator.kt#L17
Unused import directive
|
Unused import directive:
src/com/koxudaxi/ruff/RuffApplyService.kt#L4
Unused import directive
|
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
|
Class member can have 'private' visibility:
src/com/koxudaxi/ruff/RuffQuickFix.kt#L10
Property 'message' could be private
|
Package name does not match containing directory:
src/com/koxudaxi/ruff/RuffLspServerSupportProvider.kt#L15
Package directive does not match the file location
|
Regular expression can be simplified:
src/com/koxudaxi/ruff/Ruff.kt#L515
`[\\s]` can be simplified to '\\s'
|