Skip to content

Commit fd9c51d

Browse files
committed
Satisfy linter
1 parent f58ecee commit fd9c51d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

plugins/lint.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,8 +594,9 @@ class md023(mddef):
594594
def is_inside_code_block(self, text, s, e):
595595
def calculate_intendation(text, position):
596596
return position - text.rfind("\n", 0, position) - 1
597+
597598
keyword = "```"
598-
block_s = text.rfind(keyword, 0, s-1)
599+
block_s = text.rfind(keyword, 0, s - 1)
599600
block_e = text.find(keyword, e)
600601
block_s_intendation = calculate_intendation(text, block_s)
601602
block_e_intendation = calculate_intendation(text, block_e)

0 commit comments

Comments
 (0)