"Flattr donation methods belong in the FlattrID flag"),
],
'Changelog': http_checks,
+ 'Author Name': [
+ (re.compile(r'^\s'),
+ "Unnecessary leading space"),
+ (re.compile(r'.*\s$'),
+ "Unnecessary trailing space"),
+ ],
'License': [
(re.compile(r'^(|None|Unknown)$'),
"No license specified"),
ref = srclib.split('@')[1].split('/')[0]
if ref.startswith(s):
yield "Branch '%s' used as commit in srclib '%s'" % (s, srclib)
- if build.target and build.method() == 'gradle':
+ if build.target and build.build_method() == 'gradle':
yield "target= has no gradle support"