From 920f11d047627e901fb5c7a50d903833e9ecff9b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Mart=C3=AD?= Date: Thu, 3 Mar 2016 14:19:32 +0000 Subject: [PATCH] lint: error on `fdroid import` disable line --- fdroidserver/lint.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fdroidserver/lint.py b/fdroidserver/lint.py index 8760e1db..94cb81fc 100644 --- a/fdroidserver/lint.py +++ b/fdroidserver/lint.py @@ -297,6 +297,8 @@ def check_bulleted_lists(app): def check_builds(app): for build in app.builds: if build.disable: + if build.disable.startswith('Generated by import.py'): + yield "Build generated by `fdroid import` - remove disable line once ready" continue for s in ['master', 'origin', 'HEAD', 'default', 'trunk']: if build.commit and build.commit.startswith(s): -- 2.30.2