Skip to content

Commit 7bb29cc

Browse files
committed
enable InheritsCheck by default
1 parent 7848214 commit 7bb29cc

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

NEWS.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,15 @@ Release Notes
33
=============
44

55
---------------------------
6-
pkgcheck 0.10.6 (2021-??-??)
6+
pkgcheck 0.10.6 (2021-09-02)
77
---------------------------
88

99
- add a check for calling EXPORT_FUNCTIONS before further inherits.
1010

1111
- InheritsCheck: process @PROVIDES recursively.
1212

13+
- InheritsCheck: enable by default.
14+
1315
----------------------------
1416
pkgcheck 0.10.5 (2021-08-16)
1517
----------------------------

src/pkgcheck/checks/codingstyle.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
from .. import addons, bash
1212
from .. import results, sources
13-
from . import Check, OptionalCheck
13+
from . import Check
1414

1515
PREFIX_VARIABLES = ('EROOT', 'ED', 'EPREFIX')
1616
PATH_VARIABLES = ('BROOT', 'ROOT', 'D') + PREFIX_VARIABLES
@@ -577,7 +577,7 @@ def desc(self):
577577
return f'{self.eclass}: internal usage: {repr(self.usage)}, line {self.lineno}'
578578

579579

580-
class InheritsCheck(OptionalCheck):
580+
class InheritsCheck(Check):
581581
"""Scan for ebuilds with missing or unused eclass inherits.
582582
583583
Note that this requires using ``pmaint regen`` to generate repo metadata in

0 commit comments

Comments
 (0)