chore: cleanup pylint violations (#26252)
* chore: cleanup pylint violations * chore: cleanup pylint violatins
This commit is contained in:
parent
4c40ce09fd
commit
2a392c11f8
5 changed files with 55 additions and 21 deletions
|
@ -49,7 +49,9 @@ def getBrokenLinks(filepath):
|
|||
f.close()
|
||||
|
||||
linkRegexLink = re.compile('\[(.*?)\]\((?P<link>(.*?))\)')
|
||||
referenceLinkRegex = re.compile('^\s{0,3}\[.*?\]:\s*(?P<link>[^<\s]+|<[^<>\r\n]+>)')
|
||||
referenceLinkRegex = re.compile(
|
||||
'^\s{0,3}\[.*?\]:\s*(?P<link>[^<\s]+|<[^<>\r\n]+>)'
|
||||
)
|
||||
links = []
|
||||
for line in lines:
|
||||
matchLinks = linkRegexLink.search(line)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue