python3Packages.pylint: 4.0.2 -> 4.0.4

Diff: https://github.com/pylint-dev/pylint/compare/v4.0.2...v4.0.4

Changelog: https://github.com/pylint-dev/pylint/releases/tag/v4.0.4
This commit is contained in:
Gaetan Lepage
2026-01-05 19:42:29 +00:00
parent cab2dd30f6
commit 3768d6bebd
@@ -20,20 +20,19 @@
tomli,
tomlkit,
typing-extensions,
writableTmpDirAsHomeHook,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "pylint";
version = "4.0.2";
version = "4.0.4";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "pylint-dev";
repo = "pylint";
tag = "v${version}";
hash = "sha256-DzS5ORhFWmA+eEhGDdpXdHLgWTfw198S7pQueBk44Cw=";
tag = "v${finalAttrs.version}";
hash = "sha256-mKI/sRYl2ZwZ3JklmqBTs7vRG9EA4zDHaW61d/Xozb4=";
};
build-system = [ setuptools ];
@@ -58,6 +57,7 @@ buildPythonPackage rec {
pytest7CheckHook
requests
typing-extensions
writableTmpDirAsHomeHook
];
pytestFlags = [
@@ -69,10 +69,6 @@ buildPythonPackage rec {
"-v"
];
preCheck = ''
export HOME=$TEMPDIR
'';
disabledTestPaths = [
"tests/benchmark"
# tests miss multiple input files
@@ -109,7 +105,7 @@ buildPythonPackage rec {
meta = {
description = "Bug and style checker for Python";
homepage = "https://pylint.readthedocs.io/en/stable/";
changelog = "https://github.com/pylint-dev/pylint/releases/tag/v${version}";
changelog = "https://github.com/pylint-dev/pylint/releases/tag/${finalAttrs.src.tag}";
longDescription = ''
Pylint is a Python static code analysis tool which looks for programming errors,
helps enforcing a coding standard, sniffs for code smells and offers simple
@@ -123,4 +119,4 @@ buildPythonPackage rec {
maintainers = [ ];
mainProgram = "pylint";
};
}
})