python312Packages.pytest-pylint: modernize

This commit is contained in:
Peder Bergebakken Sundt
2024-08-24 19:10:43 +02:00
parent c4b51e02bb
commit 5f4c4aa31b
@@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchPypi,
setuptools,
pylint,
pytest,
pytestCheckHook,
@@ -12,7 +13,7 @@
buildPythonPackage rec {
pname = "pytest-pylint";
version = "0.21.0";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
@@ -23,12 +24,14 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace setup.py \
--replace "pytest-runner" ""
--replace-fail "pytest-runner" ""
'';
build-system = [ setuptools ];
buildInputs = [ pytest ];
propagatedBuildInputs = [
dependencies = [
pylint
toml
];