lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

pythonPackages.flake8-import-order: init at 0.17

authored by

Robert Schütz and committed by
Robin Gloster
455dbc46 2937f81e

+27
+25
pkgs/development/python-modules/flake8-import-order/default.nix
··· 1 + { lib, buildPythonPackage, fetchPypi, isPy3k, enum34, pycodestyle, pytest, flake8, pylama }: 2 + 3 + buildPythonPackage rec { 4 + pname = "flake8-import-order"; 5 + version = "0.17"; 6 + 7 + src = fetchPypi { 8 + inherit pname version; 9 + sha256 = "60ea6674c77e4d916071beabf2b31b9b45e2f5b3bbda48a34db65766a5b25678"; 10 + }; 11 + 12 + propagatedBuildInputs = [ pycodestyle ] ++ lib.optional (!isPy3k) enum34; 13 + 14 + checkInputs = [ pytest flake8 pycodestyle pylama ]; 15 + 16 + checkPhase = '' 17 + pytest --strict 18 + ''; 19 + 20 + meta = with lib; { 21 + description = "Flake8 and pylama plugin that checks the ordering of import statements"; 22 + homepage = https://github.com/PyCQA/flake8-import-order; 23 + license = with licenses; [ lgpl3 mit ]; 24 + }; 25 + }
+2
pkgs/top-level/python-packages.nix
··· 7577 7577 7578 7578 flake8-future-import = callPackage ../development/python-modules/flake8-future-import { }; 7579 7579 7580 + flake8-import-order = callPackage ../development/python-modules/flake8-import-order { }; 7581 + 7580 7582 flaky = buildPythonPackage rec { 7581 7583 name = "flaky-${version}"; 7582 7584 version = "3.1.0";