python312Packages.pytest-pylint: modernize
This commit is contained in:
@@ -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
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user