Install this version:
emerge -a =dev-util/diff-cover-10.2.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-util/diff-cover-10.2.0
Or alternatively:
emerge --autounmask-write -a =dev-util/diff-cover-10.2.0
# Copyright 2021-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1 pypi
DESCRIPTION="Find diff lines that do not have test coverage"
HOMEPAGE="https://github.com/Bachmann1234/diff-cover"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="dev-python/pygments[${PYTHON_USEDEP}]
dev-python/jinja2[${PYTHON_USEDEP}]
dev-python/pluggy[${PYTHON_USEDEP}]
dev-python/chardet[${PYTHON_USEDEP}]
dev-python/tomli[${PYTHON_USEDEP}]"
BDEPEND="test? ( dev-python/flake8[${PYTHON_USEDEP}]
dev-python/pylint[${PYTHON_USEDEP}] )"
EPYTEST_PLUGINS=( pytest-{datadir,mock} )
distutils_enable_tests pytest
dev-python/pygments[] dev-python/jinja2[] dev-python/pluggy[] dev-python/chardet[] dev-python/tomli[]
test? ( dev-python/flake8[] dev-python/pylint[] )