Loading pkgs/development/python-modules/pylint/default.nix +57 −56 Original line number Diff line number Diff line { lib , stdenv , astroid , buildPythonPackage , dill , fetchFromGitHub , gitpython , isort , mccabe , platformdirs , py , pytest-timeout , pytest-xdist , pytest7CheckHook , pythonOlder , requests , setuptools , tomli , tomlkit , typing-extensions { 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 { Loading @@ -34,22 +35,19 @@ buildPythonPackage rec { hash = "sha256-LmpLt2GCzYU73BUpORHaFbGqkxyYqoPoKZpUJSChqKQ="; }; build-system = [ setuptools ]; build-system = [ setuptools ]; dependencies = [ dependencies = [ astroid dill isort mccabe platformdirs tomlkit ] ++ lib.optionals (pythonOlder "3.11") [ tomli ] ++ lib.optionals (pythonOlder "3.10") [ 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,7 +100,8 @@ 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" ]; Loading Loading
pkgs/development/python-modules/pylint/default.nix +57 −56 Original line number Diff line number Diff line { lib , stdenv , astroid , buildPythonPackage , dill , fetchFromGitHub , gitpython , isort , mccabe , platformdirs , py , pytest-timeout , pytest-xdist , pytest7CheckHook , pythonOlder , requests , setuptools , tomli , tomlkit , typing-extensions { 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 { Loading @@ -34,22 +35,19 @@ buildPythonPackage rec { hash = "sha256-LmpLt2GCzYU73BUpORHaFbGqkxyYqoPoKZpUJSChqKQ="; }; build-system = [ setuptools ]; build-system = [ setuptools ]; dependencies = [ dependencies = [ astroid dill isort mccabe platformdirs tomlkit ] ++ lib.optionals (pythonOlder "3.11") [ tomli ] ++ lib.optionals (pythonOlder "3.10") [ 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,7 +100,8 @@ 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" ]; Loading