Merge pull request #391 from koxudaxi/migrate_formatter_to_AsyncDocum… #951
29 new problems found by Qodana Community for JVM
Qodana Community for JVM
29 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Usage of API marked for removal |
🔴 Failure | 3 |
Unused symbol |
🔶 Warning | 9 |
Incorrect string capitalization |
🔶 Warning | 3 |
Unused import directive |
🔶 Warning | 3 |
Usage of redundant or deprecated syntax or deprecated symbols |
🔶 Warning | 1 |
Unstable API Usage |
🔶 Warning | 1 |
Class member can have 'private' visibility |
◽️ Notice | 2 |
Package name does not match containing directory |
◽️ Notice | 2 |
Array property in data class |
◽️ Notice | 1 |
Const property naming convention |
◽️ Notice | 1 |
Lambda argument inside parentheses |
◽️ Notice | 1 |
Private property naming convention |
◽️ Notice | 1 |
Regular expression can be simplified |
◽️ Notice | 1 |
💡 Qodana analysis was run in the pull request mode: only the changed files were checked
View the detailed Qodana report
To be able to view the detailed Qodana report, you can either:
- Register at Qodana Cloud and configure the action
- Use GitHub Code Scanning with Qodana
- Host Qodana report at GitHub Pages
- Inspect and use
qodana.sarif.json
(see the Qodana SARIF format for details)
To get *.log
files or any other Qodana artifacts, run the action with upload-result
option set to true
,
so that the action will upload the files as the job artifacts:
- name: 'Qodana Scan'
uses: JetBrains/qodana-action@v2024.2.2
with:
upload-result: true
Contact Qodana team
Contact us at qodana-support@jetbrains.com
- Or via our issue tracker: https://jb.gg/qodana-issue
- Or share your feedback: https://jb.gg/qodana-discussions
Details
This result was published with Qodana GitHub Action
Annotations
Check notice on line 392 in src/com/koxudaxi/ruff/Ruff.kt
github-actions / Qodana Community for JVM
Array property in data class
Property with 'Array' type in a 'data' class: it is recommended to override 'equals()' and 'hashCode()'
Check notice on line 24 in src/com/koxudaxi/ruff/RuffRun.kt
github-actions / Qodana Community for JVM
Const property naming convention
Const property name `actionID` should not contain lowercase letters
Check warning on line 348 in src/com/koxudaxi/ruff/Ruff.kt
github-actions / Qodana Community for JVM
Incorrect string capitalization
String 'Error Running Ruff' is not properly capitalized. It should have sentence capitalization
Check warning on line 71 in src/com/koxudaxi/ruff/RuffAsyncFormatter.kt
github-actions / Qodana Community for JVM
Incorrect string capitalization
String 'Ruff Error' is not properly capitalized. It should have sentence capitalization
Check warning on line 54 in src/com/koxudaxi/ruff/RuffAsyncFormatter.kt
github-actions / Qodana Community for JVM
Incorrect string capitalization
String 'Ruff Error' is not properly capitalized. It should have sentence capitalization
Check warning on line 39 in src/com/koxudaxi/ruff/RuffNoqaDocumentationTarget.kt
github-actions / Qodana Community for JVM
Usage of redundant or deprecated syntax or deprecated symbols
Elvis operator (?:) always returns the left operand of non-nullable type String
Check warning on line 8 in src/com/koxudaxi/ruff/RuffApplyService.kt
github-actions / Qodana Community for JVM
Unused import directive
Unused import directive
Check warning on line 2 in src/com/koxudaxi/ruff/lsp/lsp4ij/RuffLanguageServerFactory.kt
github-actions / Qodana Community for JVM
Unused import directive
Unused import directive
Check warning on line 4 in src/com/koxudaxi/ruff/RuffApplyService.kt
github-actions / Qodana Community for JVM
Unused import directive
Unused import directive
Check failure on line 11 in src/com/koxudaxi/ruff/RuffPackageManagerListener.kt
github-actions / Qodana Community for JVM
Usage of API marked for removal
'com.jetbrains.python.packaging.PyPackageManager' is deprecated and marked for removal
Check failure on line 7 in src/com/koxudaxi/ruff/RuffPackageManagerListener.kt
github-actions / Qodana Community for JVM
Usage of API marked for removal
'com.jetbrains.python.packaging.PyPackageManager' is deprecated and marked for removal
Check failure on line 11 in src/com/koxudaxi/ruff/RuffPackageManagerListener.kt
github-actions / Qodana Community for JVM
Usage of API marked for removal
'com.jetbrains.python.packaging.PyPackageManager' is deprecated and marked for removal
Check notice on line 359 in src/com/koxudaxi/ruff/Ruff.kt
github-actions / Qodana Community for JVM
Class member can have 'private' visibility
Property 'text' could be private
Check notice on line 10 in src/com/koxudaxi/ruff/RuffQuickFix.kt
github-actions / Qodana Community for JVM
Class member can have 'private' visibility
Property 'message' could be private
Check notice on line 74 in src/com/koxudaxi/ruff/RuffConfigPanel.kt
github-actions / Qodana Community for JVM
Lambda argument inside parentheses
Lambda argument should be moved out of parentheses
Check notice on line 11 in src/com/koxudaxi/ruff/lsp/RuffLspClientManager.kt
github-actions / Qodana Community for JVM
Package name does not match containing directory
Package directive does not match the file location
Check notice on line 13 in src/com/koxudaxi/ruff/lsp/intellij/RuffLspServerSupportProvider.kt
github-actions / Qodana Community for JVM
Package name does not match containing directory
Package directive does not match the file location
Check notice on line 20 in src/com/koxudaxi/ruff/RuffAsyncFormatter.kt
github-actions / Qodana Community for JVM
Private property naming convention
Private property name `FEATURES` should not start with an uppercase letter
Check notice on line 588 in src/com/koxudaxi/ruff/Ruff.kt
github-actions / Qodana Community for JVM
Regular expression can be simplified
`[\\s]` can be simplified to '\\s'
Check warning on line 51 in src/com/koxudaxi/ruff/RuffExternalAnnotator.kt
github-actions / Qodana Community for JVM
Unstable API Usage
'isAcceptedFor(java.lang.@org.jetbrains.annotations.NotNull Class)' is marked unstable with @ApiStatus.Internal
Check warning on line 95 in src/com/koxudaxi/ruff/lsp/intellij/RuffLspServerSupportProvider.kt
github-actions / Qodana Community for JVM
Unused symbol
Class "InitOptions" is never used
Check warning on line 108 in src/com/koxudaxi/ruff/RuffCacheService.kt
github-actions / Qodana Community for JVM
Unused symbol
Function "hasLsp" is never used
Check warning on line 121 in src/com/koxudaxi/ruff/RuffExternalAnnotator.kt
github-actions / Qodana Community for JVM
Unused symbol
Function "isForFile" is never used
Check warning on line 380 in src/com/koxudaxi/ruff/Ruff.kt
github-actions / Qodana Community for JVM
Unused symbol
Function "getSourceFile" is never used
Check warning on line 448 in src/com/koxudaxi/ruff/Ruff.kt
github-actions / Qodana Community for JVM
Unused symbol
Function "runRuffInBackground" is never used