pkgcheck icon indicating copy to clipboard operation
pkgcheck copied to clipboard

UnusedInherits check for ruby-fakegem should be removed

Open graaff opened this issue 3 years ago • 1 comments

The ruby-fakegem.eclass has sensible defaults and can be used without setting any RUBY_FAKEGEM variables or calling any methods from the eclass explicitly. This gets wrongly reported as "unused eclass: ruby-fakegem".

graaff avatar Apr 12 '22 17:04 graaff

Talking about this a bit more on IRC it seems that the problem is that ruby-fakegem.eclass does not export any functions to check, but it does include ruby-ng.eclass which does export functions. Perhaps the best fix would be for the cache to include these inherited exports as well, given that including ruby-fakegem.eclass does export these functions.

graaff avatar Jul 10 '22 08:07 graaff