pkgcheck.feeds module

Feed functionality used by checks.

class pkgcheck.feeds.EvaluateDepSet(*args, profile_addon)[source]

Bases: Feed

collapse_evaluate_depset(pkg, attr, depset)[source]
feed(item)[source]

Handle functionality against the passed in item.

scope = <PackageScope desc='version' @0x7f4ee7e995d0>
class pkgcheck.feeds.Feed(options, **kwargs)[source]

Bases: Addon

Base template for addon iterating over an item feed.

Variables:
  • scope – scope relative to the package repository the check runs under

  • source – source of feed items

cleanup()[source]

Do cleanup here.

feed(item)[source]

Handle functionality against the passed in item.

property source
class pkgcheck.feeds.QueryCache(options)[source]

Bases: Feed

feed(item)[source]

Handle functionality against the passed in item.

static mangle_argparser(parser)[source]

Add extra options and/or groups to the argparser.

This hook is always triggered, even if the checker is not activated (because it runs before the commandline is parsed).

Parameters:

parser – an C{argparse.ArgumentParser} instance.

scope = <PackageScope desc='version' @0x7f4ee7e995d0>