mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
Disable 'use double quotes' warning
This commit is contained in:
parent
bc45a6e327
commit
d35de52b9b
1 changed files with 2 additions and 2 deletions
|
@ -399,8 +399,8 @@ def check_deprecated_practices(script):
|
|||
|
||||
|
||||
def check_shellcheck(script_name):
|
||||
try:
|
||||
subprocess.run(["shellcheck","-e","SC1091","-x",script_name])
|
||||
try:
|
||||
subprocess.run(["shellcheck","-e","SC1091","-e","SC2086", "-x",script_name])
|
||||
except FileNotFoundError as err:
|
||||
print_warning("Binary shellcheck not found in $PATH, try to install it")
|
||||
print_warning("Cannot parse the script with shellcheck")
|
||||
|
|
Loading…
Add table
Reference in a new issue