Loading pkgs/development/python-modules/pylint/default.nix +61 −60 Original line number Diff line number Diff line { stdenv , lib , buildPythonPackage , fetchFromGitHub , pythonOlder , astroid , dill , isort , mccabe , platformdirs , requests , setuptools , tomli , tomlkit , typing-extensions , gitpython , py , pytest-timeout , pytest-xdist , pytest7CheckHook { lib, stdenv, astroid, buildPythonPackage, dill, fetchFromGitHub, gitpython, isort, mccabe, platformdirs, py, pytest-timeout, pytest-xdist, pytest7CheckHook, pythonOlder, requests, setuptools, tomli, tomlkit, typing-extensions, }: buildPythonPackage rec { pname = "pylint"; version = "3.1.0"; version = "3.1.1"; pyproject = true; disabled = pythonOlder "3.8"; Loading @@ -31,25 +32,22 @@ buildPythonPackage rec { owner = "pylint-dev"; repo = "pylint"; rev = "refs/tags/v${version}"; hash = "sha256-JHtMaZNwl+yLwEDD4Nl0vOt9NQ9DO7iIy5LR/9ta1Pw="; hash = "sha256-LmpLt2GCzYU73BUpORHaFbGqkxyYqoPoKZpUJSChqKQ="; }; nativeBuildInputs = [ setuptools ]; build-system = [ setuptools ]; propagatedBuildInputs = [ dependencies = [ astroid dill isort mccabe platformdirs tomlkit ] ++ lib.optionals (pythonOlder "3.11") [ tomli ] ++ lib.optionals (pythonOlder "3.9") [ typing-extensions ]; ] ++ lib.optionals (pythonOlder "3.11") [ tomli ] ++ lib.optionals (pythonOlder "3.10") [ typing-extensions ]; nativeCheckInputs = [ gitpython Loading @@ -67,7 +65,8 @@ buildPythonPackage rec { # displaying implemented interfaces in pylint 3.0. The # implementation relies on the '__implements__' attribute proposed # in PEP 245, which was rejected in 2006. "-W" "ignore::DeprecationWarning" "-W" "ignore::DeprecationWarning" "-v" ]; Loading @@ -84,7 +83,8 @@ buildPythonPackage rec { "tests/pyreverse/test_writer.py" ]; disabledTests = [ disabledTests = [ # AssertionError when self executing and checking output # expected output looks like it should match though "test_invocation_of_pylint_config" Loading @@ -100,14 +100,15 @@ buildPythonPackage rec { "test_functional" # AssertionError: assert [('specializa..., 'Ancestor')] == [('aggregatio..., 'Ancestor')] "test_functional_relation_extraction" ] ++ lib.optionals stdenv.isDarwin [ ] ++ lib.optionals stdenv.isDarwin [ "test_parallel_execution" "test_py3k_jobs_option" ]; meta = with lib; { homepage = "https://pylint.readthedocs.io/en/stable/"; description = "A bug and style checker for Python"; homepage = "https://pylint.readthedocs.io/en/stable/"; changelog = "https://github.com/pylint-dev/pylint/releases/tag/v${version}"; longDescription = '' Pylint is a Python static code analysis tool which looks for programming errors, Loading @@ -118,7 +119,7 @@ buildPythonPackage rec { - symilar: an independent similarities checker - epylint: Emacs and Flymake compatible Pylint ''; license = licenses.gpl1Plus; license = licenses.gpl2Plus; maintainers = with maintainers; [ ]; }; } Loading
pkgs/development/python-modules/pylint/default.nix +61 −60 Original line number Diff line number Diff line { stdenv , lib , buildPythonPackage , fetchFromGitHub , pythonOlder , astroid , dill , isort , mccabe , platformdirs , requests , setuptools , tomli , tomlkit , typing-extensions , gitpython , py , pytest-timeout , pytest-xdist , pytest7CheckHook { lib, stdenv, astroid, buildPythonPackage, dill, fetchFromGitHub, gitpython, isort, mccabe, platformdirs, py, pytest-timeout, pytest-xdist, pytest7CheckHook, pythonOlder, requests, setuptools, tomli, tomlkit, typing-extensions, }: buildPythonPackage rec { pname = "pylint"; version = "3.1.0"; version = "3.1.1"; pyproject = true; disabled = pythonOlder "3.8"; Loading @@ -31,25 +32,22 @@ buildPythonPackage rec { owner = "pylint-dev"; repo = "pylint"; rev = "refs/tags/v${version}"; hash = "sha256-JHtMaZNwl+yLwEDD4Nl0vOt9NQ9DO7iIy5LR/9ta1Pw="; hash = "sha256-LmpLt2GCzYU73BUpORHaFbGqkxyYqoPoKZpUJSChqKQ="; }; nativeBuildInputs = [ setuptools ]; build-system = [ setuptools ]; propagatedBuildInputs = [ dependencies = [ astroid dill isort mccabe platformdirs tomlkit ] ++ lib.optionals (pythonOlder "3.11") [ tomli ] ++ lib.optionals (pythonOlder "3.9") [ typing-extensions ]; ] ++ lib.optionals (pythonOlder "3.11") [ tomli ] ++ lib.optionals (pythonOlder "3.10") [ typing-extensions ]; nativeCheckInputs = [ gitpython Loading @@ -67,7 +65,8 @@ buildPythonPackage rec { # displaying implemented interfaces in pylint 3.0. The # implementation relies on the '__implements__' attribute proposed # in PEP 245, which was rejected in 2006. "-W" "ignore::DeprecationWarning" "-W" "ignore::DeprecationWarning" "-v" ]; Loading @@ -84,7 +83,8 @@ buildPythonPackage rec { "tests/pyreverse/test_writer.py" ]; disabledTests = [ disabledTests = [ # AssertionError when self executing and checking output # expected output looks like it should match though "test_invocation_of_pylint_config" Loading @@ -100,14 +100,15 @@ buildPythonPackage rec { "test_functional" # AssertionError: assert [('specializa..., 'Ancestor')] == [('aggregatio..., 'Ancestor')] "test_functional_relation_extraction" ] ++ lib.optionals stdenv.isDarwin [ ] ++ lib.optionals stdenv.isDarwin [ "test_parallel_execution" "test_py3k_jobs_option" ]; meta = with lib; { homepage = "https://pylint.readthedocs.io/en/stable/"; description = "A bug and style checker for Python"; homepage = "https://pylint.readthedocs.io/en/stable/"; changelog = "https://github.com/pylint-dev/pylint/releases/tag/v${version}"; longDescription = '' Pylint is a Python static code analysis tool which looks for programming errors, Loading @@ -118,7 +119,7 @@ buildPythonPackage rec { - symilar: an independent similarities checker - epylint: Emacs and Flymake compatible Pylint ''; license = licenses.gpl1Plus; license = licenses.gpl2Plus; maintainers = with maintainers; [ ]; }; }