mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
Linter for YunoHost applications packages
7110959e51
Current regex will match any of the ten line after the official helper files starting with the string "source". Thus, in my specific case for which I declare a variable named source_filename="{...}", the linter will display a warning for it: ` ! Please avoid sourcing additional helpers after the official helpers (in this case file _filename=$(basename$upstream__url)) `. As it should be only interested in matching the command `source` (`source path/to/file`), a space should be appended to the current regex. |
||
---|---|---|
lib/nginxparser | ||
.gitignore | ||
LICENSE | ||
package_linter.py | ||
README.md | ||
tox.ini |
YunoHost apps package linter
Static analyzer that checks for common issues in Yunohost apps
Usage
git clone https://github.com/YunoHost/package_linter
cd package_linter
git clone https://github.com/<organization>/<app>_ynh
./package_linter.py <app>_ynh