python3.pkgs.pylint: 2.13.4 -> 2.13.5

https://github.com/PyCQA/pylint/releases/tag/v2.13.5
This commit is contained in:
Martin Weinelt 2022-04-13 21:22:05 +02:00
parent abacec3d0b
commit 1828ad603b

View file

@ -2,15 +2,17 @@
, lib , lib
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, pythonAtLeast
, pythonOlder , pythonOlder
, installShellFiles , installShellFiles
, astroid , astroid
, dill , dill
, isort , isort
, GitPython
, mccabe , mccabe
, platformdirs , platformdirs
, toml , tomli
, typing-extensions
, GitPython
, pytest-benchmark , pytest-benchmark
, pytest-timeout , pytest-timeout
, pytest-xdist , pytest-xdist
@ -19,15 +21,16 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pylint"; pname = "pylint";
version = "2.13.4"; version = "2.13.5";
format = "setuptools";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "PyCQA"; owner = "PyCQA";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-CMbw6D6szQvur+13halZrskSV/9rDaThMGLeGxfjqWo="; sha256 = "sha256-FB99vmUtoTc0cTjDUSbx80Tesh0vASigSpPktrDYk08=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -40,7 +43,10 @@ buildPythonPackage rec {
isort isort
mccabe mccabe
platformdirs platformdirs
toml ] ++ lib.optionals (pythonOlder "3.11") [
tomli
] ++ lib.optionals (pythonOlder "3.9") [
typing-extensions
]; ];
postInstall = '' postInstall = ''
@ -51,10 +57,12 @@ buildPythonPackage rec {
checkInputs = [ checkInputs = [
GitPython GitPython
# https://github.com/PyCQA/pylint/blob/main/requirements_test_min.txt
pytest-benchmark pytest-benchmark
pytest-timeout pytest-timeout
pytest-xdist pytest-xdist
pytestCheckHook pytestCheckHook
typing-extensions
]; ];
dontUseSetuptoolsCheck = true; dontUseSetuptoolsCheck = true;