Loading pkgs/development/python-modules/flake8-length/default.nix +15 −4 Original line number Diff line number Diff line { lib , buildPythonPackage , pythonOlder , fetchPypi , flake8 , flit-core , pytestCheckHook , fetchPypi , pythonOlder }: buildPythonPackage rec { pname = "flake8-length"; version = "0.3.1"; format = "pyproject"; disabled = pythonOlder "3.6"; src = fetchPypi { Loading @@ -16,17 +19,25 @@ buildPythonPackage rec { sha256 = "sha256-Dr1hTCU2G1STczXJsUPMGFYs1NpIAk1I95vxXsRTtRA="; }; nativeBuildInputs = [ flit-core ]; propagatedBuildInputs = [ flake8 ]; nativeCheckInputs = [ pytestCheckHook ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "flake8_length" ]; pytestFlagsArray = [ "tests/" ]; pytestFlagsArray = [ "tests/" ]; meta = with lib; { description = "Flake8 plugin for a smart line length validation"; Loading Loading
pkgs/development/python-modules/flake8-length/default.nix +15 −4 Original line number Diff line number Diff line { lib , buildPythonPackage , pythonOlder , fetchPypi , flake8 , flit-core , pytestCheckHook , fetchPypi , pythonOlder }: buildPythonPackage rec { pname = "flake8-length"; version = "0.3.1"; format = "pyproject"; disabled = pythonOlder "3.6"; src = fetchPypi { Loading @@ -16,17 +19,25 @@ buildPythonPackage rec { sha256 = "sha256-Dr1hTCU2G1STczXJsUPMGFYs1NpIAk1I95vxXsRTtRA="; }; nativeBuildInputs = [ flit-core ]; propagatedBuildInputs = [ flake8 ]; nativeCheckInputs = [ pytestCheckHook ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "flake8_length" ]; pytestFlagsArray = [ "tests/" ]; pytestFlagsArray = [ "tests/" ]; meta = with lib; { description = "Flake8 plugin for a smart line length validation"; Loading