Linter for YunoHost applications packages
Find a file
2025-10-06 22:27:28 +02:00
.github example_ynh is now on main default branch 2025-04-17 19:47:27 +02:00
lib 🎨 Format Python code with Black 2025-08-21 21:22:00 +00:00
tests Report using php7.4 as an error (instead of warning) and php8.1 as a warning (instead of info) 2025-10-06 22:27:28 +02:00
.gitignore Fixed json output 2024-09-24 12:43:03 +02:00
LICENSE First commit. 2016-01-25 12:52:18 +01:00
package_linter.py 🎨 Format Python code with Black 2024-12-01 15:34:44 +00:00
README.md Update README.md 2024-12-09 17:27:17 +01:00
requirements.txt Fixed json output 2024-09-24 12:43:03 +02:00
tox.ini Fixed (most) linter complaints. 2023-09-07 23:11:03 +02:00

YunoHost apps package linter

Static analyzer that checks for common issues in Yunohost apps

Usage

Make sure your python --version is >=3.11.0

git clone https://github.com/YunoHost/package_linter
cd package_linter
git clone https://github.com/<organization>/<app>_ynh
python -m venv ./venv # create vritual environment to avoid dependencies' conflict
source venv/bin/activate
pip install -r requirements.txt
./package_linter.py <app>_ynh
deactivate # if you want to quit the virtual environment