pkgcheck.results module¶
Base classes for check results.
- class pkgcheck.results.AliasResult[source]¶
Bases:
Result
Classes directly inheriting this class can be targeted as scannable keywords.
- name = 'AliasResult'¶
- class pkgcheck.results.BaseLinesResult(lines, *args, **kwargs)[source]¶
Bases:
object
Base class for results of multiples lines.
- property lines_str¶
- class pkgcheck.results.CategoryResult(pkg, **kwargs)[source]¶
Bases:
Result
Result related to a specific category.
- name = 'CategoryResult'¶
- scope = <PackageScope desc='category' @0x7fc6f7b31c50>¶
- class pkgcheck.results.CommitResult(commit, **kwargs)[source]¶
Bases:
Result
Result related to a specific git commit.
- name = 'CommitResult'¶
- scope = <ConditionalScope desc='commit' @0x7fc6f7b31c10>¶
- class pkgcheck.results.EclassResult(eclass, **kwargs)[source]¶
Bases:
Result
Result related to a specific eclass.
- name = 'EclassResult'¶
- scope = <LocationScope desc='eclass' @0x7fc6f7b32950>¶
- class pkgcheck.results.Error[source]¶
Bases:
Result
Result with an error priority level.
- color = 'red'¶
- level = 'error'¶
- name = 'Error'¶
- class pkgcheck.results.Info[source]¶
Bases:
Result
Result with an info priority level.
- color = 'green'¶
- level = 'info'¶
- name = 'Info'¶
- exception pkgcheck.results.InvalidResult[source]¶
Bases:
Exception
Creating a result object failed in some fashion.
- class pkgcheck.results.LineResult(line, lineno, **kwargs)[source]¶
Bases:
VersionResult
Result related to a specific line of an ebuild.
- name = 'LineResult'¶
- class pkgcheck.results.LinesResult(lines, *args, **kwargs)[source]¶
Bases:
BaseLinesResult
,VersionResult
Result related to multiples lines of an ebuild.
- name = 'LinesResult'¶
- class pkgcheck.results.LogError(msg)[source]¶
Bases:
_LogResult
,Error
Error caught from a logger instance.
- name = 'LogError'¶
- class pkgcheck.results.LogWarning(msg)[source]¶
Bases:
_LogResult
,Warning
Warning caught from a logger instance.
- name = 'LogWarning'¶
- class pkgcheck.results.MetadataError(attr, msg, **kwargs)[source]¶
Bases:
Error
Problem detected with a package’s metadata.
- attr = None¶
- property desc¶
Result description.
- name = 'MetadataError'¶
- results = {'bdepend': <class 'pkgcheck.checks.metadata.InvalidBdepend'>, 'data': <class 'pkgcheck.checks.metadata.SourcingError'>, 'depend': <class 'pkgcheck.checks.metadata.InvalidDepend'>, 'eapi': <class 'pkgcheck.checks.metadata.InvalidEapi'>, 'fetchables': <class 'pkgcheck.checks.metadata.InvalidSrcUri'>, 'idepend': <class 'pkgcheck.checks.metadata.InvalidIdepend'>, 'license': <class 'pkgcheck.checks.metadata.InvalidLicense'>, 'manifest': <class 'pkgcheck.checks.repo_metadata.InvalidManifest'>, 'pdepend': <class 'pkgcheck.checks.metadata.InvalidPdepend'>, 'properties': <class 'pkgcheck.checks.metadata.InvalidProperties'>, 'rdepend': <class 'pkgcheck.checks.metadata.InvalidRdepend'>, 'required_use': <class 'pkgcheck.checks.metadata.InvalidRequiredUse'>, 'restrict': <class 'pkgcheck.checks.metadata.InvalidRestrict'>, 'slot': <class 'pkgcheck.checks.metadata.InvalidSlot'>}¶
- class pkgcheck.results.PackageResult(pkg, **kwargs)[source]¶
Bases:
CategoryResult
Result related to a specific package.
- name = 'PackageResult'¶
- scope = <PackageScope desc='package' @0x7fc6f7b31a50>¶
- class pkgcheck.results.ProfilesResult[source]¶
Bases:
Result
Result related to profiles.
- name = 'ProfilesResult'¶
- scope = <LocationScope desc='profiles' @0x7fc6f7b32150>¶
- class pkgcheck.results.Result[source]¶
Bases:
object
Generic report result returned from a check.
- color = None¶
- property desc¶
Result description.
- level = None¶
- scope = <PackageScope desc='repo' @0x7fc6f7b328d0>¶
- class pkgcheck.results.Style[source]¶
Bases:
Result
Result with a coding style priority level.
- color = 'cyan'¶
- level = 'style'¶
- name = 'Style'¶