Lines 318-323
qahelp = {
Link Here
|
318 |
"LICENSE.missing": "Ebuilds that have a missing or empty LICENSE variable", |
318 |
"LICENSE.missing": "Ebuilds that have a missing or empty LICENSE variable", |
319 |
"LICENSE.virtual": "Virtuals that have a non-empty LICENSE variable", |
319 |
"LICENSE.virtual": "Virtuals that have a non-empty LICENSE variable", |
320 |
"DESCRIPTION.missing": "Ebuilds that have a missing or empty DESCRIPTION variable", |
320 |
"DESCRIPTION.missing": "Ebuilds that have a missing or empty DESCRIPTION variable", |
|
|
321 |
"DESCRIPTION.punctuation": "DESCRIPTION ends with a punctuation character", |
321 |
"DESCRIPTION.toolong": "DESCRIPTION is over %d characters" % max_desc_len, |
322 |
"DESCRIPTION.toolong": "DESCRIPTION is over %d characters" % max_desc_len, |
322 |
"EAPI.definition": "EAPI definition does not conform to PMS section 7.3.1 (first non-comment, non-blank line)", |
323 |
"EAPI.definition": "EAPI definition does not conform to PMS section 7.3.1 (first non-comment, non-blank line)", |
323 |
"EAPI.deprecated": "Ebuilds that use features that are deprecated in the current EAPI", |
324 |
"EAPI.deprecated": "Ebuilds that use features that are deprecated in the current EAPI", |
Lines 385-390
qawarnings = set((
Link Here
|
385 |
"dependency.badindev", |
386 |
"dependency.badindev", |
386 |
"dependency.badmaskedindev", |
387 |
"dependency.badmaskedindev", |
387 |
"dependency.badtilde", |
388 |
"dependency.badtilde", |
|
|
389 |
"DESCRIPTION.punctuation", |
388 |
"DESCRIPTION.toolong", |
390 |
"DESCRIPTION.toolong", |
389 |
"EAPI.deprecated", |
391 |
"EAPI.deprecated", |
390 |
"HOMEPAGE.virtual", |
392 |
"HOMEPAGE.virtual", |
Lines 1890-1895
for x in effective_scanlist:
Link Here
|
1890 |
stats[myqakey] += 1 |
1892 |
stats[myqakey] += 1 |
1891 |
fails[myqakey].append(relative_path) |
1893 |
fails[myqakey].append(relative_path) |
1892 |
|
1894 |
|
|
|
1895 |
if myaux['DESCRIPTION'][-1] in ['.', '?', '!']: |
1896 |
stats['DESCRIPTION.punctuation'] += 1 |
1897 |
fails['DESCRIPTION.punctuation'].append( |
1898 |
"%s: DESCRIPTION ends with punctuation character '%s'" % \ |
1899 |
(relative_path, myaux['DESCRIPTION'][-1])) |
1900 |
|
1893 |
# 14 is the length of DESCRIPTION="" |
1901 |
# 14 is the length of DESCRIPTION="" |
1894 |
if len(myaux['DESCRIPTION']) > max_desc_len: |
1902 |
if len(myaux['DESCRIPTION']) > max_desc_len: |
1895 |
stats['DESCRIPTION.toolong'] += 1 |
1903 |
stats['DESCRIPTION.toolong'] += 1 |
1896 |
- |
|
|