Skip to content

Commit be844ae

Browse files
committed
Fix typos in inspection descriptions and improve HTML structure across resources
- Corrected display name for `UnionWithOneChildToChildInspection`. - Added `lang="en"` attribute to HTML descriptions for enhanced accessibility. - Updated plugin metadata: adjusted URLs and vendor information.
1 parent 187599e commit be844ae

7 files changed

Lines changed: 8 additions & 8 deletions

File tree

src/main/kotlin/dev/meanmail/codeInspection/UnionWithOneChildToChildInspection.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import org.jetbrains.annotations.Nls
1414
class UnionWithOneChildToChildInspection : PyInspection() {
1515
@Nls
1616
override fun getDisplayName(): String {
17-
return "Union[item] instead item"
17+
return "Union[item] instead of item"
1818
}
1919

2020
override fun buildVisitor(

src/main/resources/META-INF/plugin.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<idea-plugin url="https://meanmail.dev/plugin/3">
1+
<idea-plugin url="https://meanmail.dev">
22
<id>ru.meanmail.plugin.pyannotations</id>
33
<name>Python Annotations</name>
44
<version>SNAPSHOT</version>
55
<idea-version since-build="173"/>
6-
<vendor email="plugin@meanmail.ru" url="https://meanmail.ru">meanmail</vendor>
6+
<vendor email="plugin@meanmail.dev" url="https://meanmail.dev">meanmail.dev</vendor>
77
<description><![CDATA[<h4>Code Inspections for Python Annotations</h4>
88
99
Code Inspections with quick fixes for python annotations

src/main/resources/inspectionDescriptions/AnyInUnionInspection.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<html>
1+
<html lang="en">
22
<body>
33
This inspection reports when the Union[..., Any] annotation was used instead of just 'Any'.<br>
44
Union[Any] -> Any<br>

src/main/resources/inspectionDescriptions/RedundantOptionalInspection.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<html>
1+
<html lang="en">
22
<body>
33
This inspection reports when Optional is redundantly nested inside another Optional.<br>
44
Optional[Optional[Type]] -> Optional[Type]<br>

src/main/resources/inspectionDescriptions/UnionWithNoneInspection.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<html>
1+
<html lang="en">
22
<body>
33
This inspection reports when the Union[None, ...] annotation was used instead Optional[Union[...]].<br>
44
Union[object, None] -> Optional[object]<br>

src/main/resources/inspectionDescriptions/UnionWithObjectInspection.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<html>
1+
<html lang="en">
22
<body>
33
This inspection reports when the Union[object, ...] annotation was used instead 'object'.<br>
44
Union[object] -> object<br>

src/main/resources/inspectionDescriptions/UnionWithOneChildToChildInspection.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<html>
1+
<html lang="en">
22
<body>
33
This inspection reports when the Union[item] annotation was used instead 'item'.<br>
44
Union[item] -> item

0 commit comments

Comments
 (0)