From 093b38da966f8a591160ac5ba6587b311ee4e50c Mon Sep 17 00:00:00 2001 From: Ryan Sundberg Date: Sat, 8 May 2021 22:43:45 -0700 Subject: [PATCH 35/55] python-flake8-import-order: new package --- gnu/packages/python-xyz.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f27c6170f5..102780483e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -9509,6 +9509,34 @@ the same line (which can be introduced by the code formatting tool Black), or unnecessary plus operators for explicit string literal concatenation.") (license license:expat))) +(define-public python-flake8-import-order + (package + (name "python-flake8-import-order") + (version "0.18.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "flake8-import-order" version)) + (sha256 + (base32 + "14kfvsagqc6lrplvf3x58ia6x744bk8fj91wmk0hcipa8naw73d2")))) + (build-system python-build-system) + (native-inputs + `(("python-pytest", python-pytest) + ("python-flake8", python-flake8) + ("python-pycodestyle", python-pycodestyle) + ("python-pylama", python-pylama))) + (propagated-inputs + `(("python-pycodestyle" ,python-pycodestyle) + ("python-setuptools" ,python-setuptools))) + (home-page + "https://github.com/PyCQA/flake8-import-order") + (synopsis + "Flake8 and pylama plugin that checks the ordering of import statements.") + (description + "Flake8 and pylama plugin that checks the ordering of import statements.") + (license license:lgpl3))) + (define-public python-flake8-polyfill (package (name "python-flake8-polyfill") -- 2.31.1