mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
add exclusion for source cmd
files called by source can be not present on a dev environment
This commit is contained in:
parent
b65f5a7402
commit
1d56ef55c0
2 changed files with 1 additions and 1 deletions
BIN
.package_linter.py.swp
Normal file
BIN
.package_linter.py.swp
Normal file
Binary file not shown.
|
@ -440,7 +440,7 @@ def check_deprecated_practices(script):
|
|||
|
||||
def check_shellcheck(script_name):
|
||||
try:
|
||||
subprocess.run(["shellcheck","-x",script_name])
|
||||
subprocess.run(["shellcheck","-e","SC1091","-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