Merge pull request #203114 from r-ryantm/auto-update/python310Packages.flake8-import-order
python310Packages.flake8-import-order: 0.18.1 -> 0.18.2
This commit is contained in:
commit
585038671c
@ -1,25 +1,45 @@
|
|||||||
{ lib, buildPythonPackage, fetchPypi, isPy3k, enum34, pycodestyle, pytest, flake8, pylama }:
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, flake8
|
||||||
|
, pycodestyle
|
||||||
|
, pylama
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "flake8-import-order";
|
pname = "flake8-import-order";
|
||||||
version = "0.18.1";
|
version = "0.18.2";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "14kfvsagqc6lrplvf3x58ia6x744bk8fj91wmk0hcipa8naw73d2";
|
hash = "sha256-4jlB+JLaPgwJ1xG6u7DHO8c1JC6bIWtyZhZ1ipINkA4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ pycodestyle ] ++ lib.optional (!isPy3k) enum34;
|
propagatedBuildInputs = [
|
||||||
|
pycodestyle
|
||||||
|
];
|
||||||
|
|
||||||
checkInputs = [ pytest flake8 pycodestyle pylama ];
|
checkInputs = [
|
||||||
|
flake8
|
||||||
|
pycodestyle
|
||||||
|
pylama
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
pythonImportsCheck = [
|
||||||
pytest --strict
|
"flake8_import_order"
|
||||||
'';
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Flake8 and pylama plugin that checks the ordering of import statements";
|
description = "Flake8 and pylama plugin that checks the ordering of import statements";
|
||||||
homepage = "https://github.com/PyCQA/flake8-import-order";
|
homepage = "https://github.com/PyCQA/flake8-import-order";
|
||||||
|
changelog = "https://github.com/PyCQA/flake8-import-order/blob/${version}/CHANGELOG.rst";
|
||||||
license = with licenses; [ lgpl3 mit ];
|
license = with licenses; [ lgpl3 mit ];
|
||||||
|
maintainers = with maintainers; [ ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user