pkgcheck.checks.repo module¶
- class pkgcheck.checks.repo.BinaryFile(path)[source]¶
Bases:
Error
Binary file found in the repository.
- property desc¶
Result description.
- name = 'BinaryFile'¶
- class pkgcheck.checks.repo.CategoryIsNotDirectory(pkg, **kwargs)[source]¶
Bases:
CategoryResult
,Error
A category was found that exists but isn’t a directory.
- property desc¶
Result description.
- name = 'CategoryIsNotDirectory'¶
- scope = <PackageScope desc='repo' @0x7fc9bedc9d90>¶
- class pkgcheck.checks.repo.EmptyCategoryDir(pkg, **kwargs)[source]¶
Bases:
CategoryResult
,Error
Empty category directory in the repository.
- property desc¶
Result description.
- name = 'EmptyCategoryDir'¶
- scope = <PackageScope desc='repo' @0x7fc9bedc9d90>¶
- class pkgcheck.checks.repo.EmptyDirsCheck(*args)[source]¶
Bases:
GentooRepoCheck
,RepoCheck
Scan for empty category or package directories.
- known_results = frozenset({<class 'pkgcheck.checks.repo.EmptyCategoryDir'>, <class 'pkgcheck.checks.repo.EmptyPackageDir'>})¶
- scope = <PackageScope desc='repo' @0x7fc9bedc9d90>¶
- class pkgcheck.checks.repo.EmptyPackageDir(pkg, **kwargs)[source]¶
Bases:
PackageResult
,Error
Empty package directory in the repository.
- property desc¶
Result description.
- name = 'EmptyPackageDir'¶
- scope = <PackageScope desc='repo' @0x7fc9bedc9d90>¶
- class pkgcheck.checks.repo.RepoDirCheck(*args, git_addon)[source]¶
Bases:
GentooRepoCheck
,RepoCheck
Scan all files in the repository for issues.
- ignored_root_dirs = frozenset({'.git'})¶
- known_results = frozenset({<class 'pkgcheck.checks.repo.BinaryFile'>})¶
- required_addons = (<class 'pkgcheck.addons.git.GitAddon'>,)¶
- scope = <PackageScope desc='repo' @0x7fc9bedc9d90>¶