Lines Matching defs:lint
31 import pkg.lint.base as base
32 import pkg.lint.config
220 """LintEngine is the main object used by pkglint to discover lint
221 plugins, and execute lint checks on package manifests, retrieved
224 Lint plugins are written as subclasses of pkg.lint.base.Checker
227 the pkg.lint.config.PkglintConfig defaults.
232 create a reference or lint user-images in a provided cache location,
247 We can also lint pkg.manifest.Manifest objects, passed as the
252 'log_level' The minimum level at which to emit lint messages. Lint
262 subclasses of pkg.lint.base.Checker. The value of this property should
269 'pkg.lint.opensolaris.ActionChecker' or
270 'my.lint.module' or
271 'my.lint.module.ManifestChecker.crosscheck_paths'
274 to lint against (-b). If not specified in the rcfile, this pattern is
291 """Creates a lint engine a given pkg.lint.log.LogFormatter.
302 # a pattern used to narrow searches in the lint image
312 # A progress tracker, used during the lint run
345 # a reference to the pkg.client.api for our reference and lint
405 conf = pkg.lint.config.PkglintConfig(
407 except (pkg.lint.config.PkglintConfigException) as err:
493 image we want to lint
495 'pattern' A regexp to match the packages we want to lint, if
497 searching for packages to lint: we lint against all packages for
501 lint with. This affects both the packages presented for linting
503 against. If release if set to None, we lint with and against the
524 "reference or lint repositories."))
558 _("Unable to create lint image: {0}").format(
578 "No lint image or manifests"
610 in a configured lint repository that match both our pattern
687 name, searching hierarchically in the lint manifests,
699 raises a pkg.lint.base.LintException.
800 # local manifests, using our lint image, or using our reference
903 """Helper function to set publishers on a ref or lint image."""
981 to perform lint checks on the given action or manifest.
989 report lint errors that may be related to that action. When
1000 # convenience methods to log lint messages to all loggers
1172 "pkg.lint" to the key name to ensure that we play in our own
1176 param_key = "pkg.lint.{0}".format(key)
1199 that need to see whether a lint flag has been set on a given
1288 """The lint engine uses the FMRI of a package to deterine the order in