Fix optdepends comments check
This commit is contained in:
parent
2054f48133
commit
c536baec33
1 changed files with 1 additions and 1 deletions
|
@ -620,7 +620,7 @@ def cmd_check(verbose, paths):
|
||||||
formatted = False
|
formatted = False
|
||||||
reason = 'Found literal \' although either a literal " or no qoutes should be used'
|
reason = 'Found literal \' although either a literal " or no qoutes should be used'
|
||||||
|
|
||||||
if ('=(' in line and ' ' in line and not line.endswith('=(')) or (hold_key and line.endswith(')')):
|
if ('=(' in line and ' ' in line and not '"' in line and not line.endswith('=(')) or (hold_key and line.endswith(')')):
|
||||||
formatted = False
|
formatted = False
|
||||||
reason = f'Multiple elements in a list need to be in separate lines'
|
reason = f'Multiple elements in a list need to be in separate lines'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue