Searched refs:linted (Results 1 - 6 of 6) sorted by relevance

/pkg/src/modules/lint/
H A Dbase.py43 """An exception thrown when we've found duplicate pkg.linted* keys."""
237 # marked as pkg.linted. If one of those checks
241 if engine.linted(action=action,
244 "from {check} on linted action "
266 In order for proper 'pkg.linted.*' functionality, checker methods that
336 if engine.linted(manifest=manifest,
339 "from {check} on linted manifest "
382 def linted(manifest=None, action=None, lint_id=None): function
383 """Determine whether a given action or manifest is marked as linted.
385 the attribute starts with "pkg.linted" an
[all...]
H A Dpkglint_manifest.py151 # contain the linted flag, so the logging
154 if engine.linted(action=action, manifest=manifest,
222 if engine.linted(action=action,
240 # were marked as linted, we need to advise the logging mechanism
241 # of at least one action that was marked as linted, then log the
308 if engine.linted(action=action, manifest=manifest):
319 if not engine.linted(action=action,
326 if not engine.linted(action=action,
349 not engine.linted(manifest=manifest,
384 if not engine.linted(manifes
489 def linted(self, manifest, engine, pkglint_id="007"): member in class:PkgManifestChecker
[all...]
H A Dlog.py32 from pkg.lint.base import DuplicateLintedAttrException, linted namespace
207 linted_flag = linted(action=self.action,
220 # that have been marked as pkg.linted
223 "pkglint001.5.report-linted")
H A Dpkglint_action.py324 if engine.linted(action=a, manifest=manifest,
337 key.startswith("pkg.linted"):
355 if engine.linted(action=a,
514 if engine.linted(action=a, manifest=manifest,
610 if engine.linted(action, lint_id=missing_id):
614 if engine.linted(action, lint_id=diff_id):
620 allowing for pkg.linted values matching lint_id."""
630 if engine.linted(ac, lint_id=lint_id):
682 if not engine.linted(ac, lint_id=types_id):
1273 repository being linted o
1424 def linted(self, action, manifest, engine, pkglint_id="008"): member in class:PkgActionChecker
[all...]
H A Dengine.py613 We allow for pkg.linted=True and pkg.linted.<name>=True, where
617 As much of the pkg.linted functionality as possible is handled
620 methods may still need to use engine.linted() or
622 manifest actions in order to properly respect pkg.linted
984 the manifest or action being linted without needing to pass
1034 self.info(_("Not running {check} checks on linted action "
1210 def linted(self, action=None, manifest=None, lint_id=None): member in class:LintEngine
1211 """Determine whether pkg.linted.* flags are present on the
1213 we look for pkg.linted
[all...]
/pkg/src/tests/api/
H A Dt_pkglint.py42 from pkg.lint.base import linted, DuplicateLintedAttrException namespace
241 expected_failures["dup-depend-linted.mf"] = ["pkglint.action005.1",
243 broken_manifests["dup-depend-linted.mf"] = \
254 depend fmri=foo/bar type=require pkg.linted.pkglint.manifest005.2=True
580 expected_failures["duplicate_sets-linted.mf"] = ["pkglint.manifest006",
582 broken_manifests["duplicate_sets-linted.mf"] = \
586 # we mark one of the actions as linted
596 set name=foo value=bar pkg.linted.pkglint.manifest006=True
607 # we mark one of the actions as linted, but still should have a broken manifest
616 set name=foo value=bar pkg.linted
[all...]

Completed in 1469 milliseconds