diff --git a/NEWS.rst b/NEWS.rst index fe7126da0..c14ae1231 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -3,13 +3,15 @@ Release Notes ============= --------------------------- -pkgcheck 0.10.6 (2021-??-??) +pkgcheck 0.10.6 (2021-09-02) --------------------------- - add a check for calling EXPORT_FUNCTIONS before further inherits. - InheritsCheck: process @PROVIDES recursively. +- InheritsCheck: enable by default. + ---------------------------- pkgcheck 0.10.5 (2021-08-16) ---------------------------- diff --git a/src/pkgcheck/checks/codingstyle.py b/src/pkgcheck/checks/codingstyle.py index 53066b17a..5480348ea 100644 --- a/src/pkgcheck/checks/codingstyle.py +++ b/src/pkgcheck/checks/codingstyle.py @@ -10,7 +10,7 @@ from .. import addons, bash from .. import results, sources -from . import Check, OptionalCheck +from . import Check PREFIX_VARIABLES = ('EROOT', 'ED', 'EPREFIX') PATH_VARIABLES = ('BROOT', 'ROOT', 'D') + PREFIX_VARIABLES @@ -577,7 +577,7 @@ def desc(self): return f'{self.eclass}: internal usage: {repr(self.usage)}, line {self.lineno}' -class InheritsCheck(OptionalCheck): +class InheritsCheck(Check): """Scan for ebuilds with missing or unused eclass inherits. Note that this requires using ``pmaint regen`` to generate repo metadata in