mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 22:42:29 +03:00
lint: error on fdroid import
disable line
This commit is contained in:
parent
d4f7097638
commit
920f11d047
1 changed files with 2 additions and 0 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue