Skip to content

Commit 927eb2b

Browse files
committed
Sort languages and remove no longer needed duplicates.
1 parent cd8aba7 commit 927eb2b

File tree

1 file changed

+10
-13
lines changed

1 file changed

+10
-13
lines changed

tests/checkers/rst-yamllint.py

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -143,26 +143,23 @@ def visit_literal_block(self, node: nodes.literal_block) -> None:
143143
)
144144
return
145145
if language not in {
146+
"ansible-output",
146147
"bash",
147-
"ini",
148148
"console",
149-
"text",
150-
"shell",
151-
"shell-session",
149+
"csharp",
150+
"diff",
151+
"ini",
152152
"jinja",
153-
"ansible-output",
154-
"none",
155153
"json",
156-
"python",
157-
"Jinja",
158-
"diff",
159-
"powershell",
160154
"md",
161-
"reStructuredText",
155+
"none",
156+
"powershell",
157+
"python",
162158
"rst",
163159
"sh",
164-
"Python",
165-
"csharp",
160+
"shell",
161+
"shell-session",
162+
"text",
166163
}:
167164
self.__results.append(
168165
{

0 commit comments

Comments
 (0)