check_completeness¶
Completeness
Verify that the recipe is not missing anything essential.
Classes
|
The recipe is missing a build number |
|
The recipe is missing a checksum for a source file |
|
The recipe is missing a homepage URL |
|
The recipe is missing the |
|
The recipe is missing a summary |
|
The recipe is missing tests. |
Documentation
-
class
bioconda_utils.lint.check_completeness.
missing_build_number
(_linter)[source]¶ The recipe is missing a build number
Please add:
build: number: 0
-
check_recipe
(recipe)[source]¶ Execute check on recipe
Override this method in subclasses, using
self.message()
to issueLintMessage
as failures are encountered.- Parameters
recipe – The recipe under test.
-
-
class
bioconda_utils.lint.check_completeness.
missing_hash
(_linter)[source]¶ The recipe is missing a checksum for a source file
Please add:
source: sha256: checksum-value
-
class
bioconda_utils.lint.check_completeness.
missing_home
(_linter)[source]¶ The recipe is missing a homepage URL
Please add:
about: home: <URL to homepage>
-
check_recipe
(recipe)[source]¶ Execute check on recipe
Override this method in subclasses, using
self.message()
to issueLintMessage
as failures are encountered.- Parameters
recipe – The recipe under test.
-
-
class
bioconda_utils.lint.check_completeness.
missing_license
(_linter)[source]¶ The recipe is missing the
about/license
key.Please add:
about: license: <name of license>
-
check_recipe
(recipe)[source]¶ Execute check on recipe
Override this method in subclasses, using
self.message()
to issueLintMessage
as failures are encountered.- Parameters
recipe – The recipe under test.
-
-
class
bioconda_utils.lint.check_completeness.
missing_summary
(_linter)[source]¶ The recipe is missing a summary
Please add:
about: summary: One line briefly describing package
-
check_recipe
(recipe)[source]¶ Execute check on recipe
Override this method in subclasses, using
self.message()
to issueLintMessage
as failures are encountered.- Parameters
recipe – The recipe under test.
-
-
class
bioconda_utils.lint.check_completeness.
missing_tests
(_linter)[source]¶ The recipe is missing tests.
Please add:
test: commands: - some_command
and/or:
test: imports: - some_module
and/or any file named
run_test.py`, ``run_test.sh
orrun_test.pl
executing tests.-
check_recipe
(recipe)[source]¶ Execute check on recipe
Override this method in subclasses, using
self.message()
to issueLintMessage
as failures are encountered.- Parameters
recipe – The recipe under test.
-