From d6a9fc6c95631be3734ca4571069d881f71b9d34 Mon Sep 17 00:00:00 2001 From: Zheng Junjie Date: Thu, 6 Mar 2025 14:35:57 +0800 Subject: [PATCH] gnu: Add python-flake8-import-order. * gnu/packages/python-xyz.scm (python-flake8-import-order): New variable. Change-Id: I2f6a0a71c39d2b8112c66116b8a880d570b8b950 --- gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 7eff7735be2ec3101dd6e29d257532cd5e90d8b1..2d0de516f319ea77f27cc2181f69b3e2361c7647 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -623,6 +623,28 @@ after class definitions.") check docstrings.") (license license:expat))) +(define-public python-flake8-import-order + (package + (name "python-flake8-import-order") + (version "0.18.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "flake8-import-order" version)) + (sha256 + (base32 "03lh1n98lx8ncrr6n8cv5qj3birvqyqbpfhisw4hqgnsjbw42fg2")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-pycodestyle python-setuptools)) + (native-inputs (list python-setuptools python-wheel python-pytest + python-pylama python-flake8)) + (home-page "https://github.com/PyCQA/flake8-import-order") + (synopsis + "Flake8 and pylama plugin that checks the ordering of import statements") + (description + "This package provieds a flake8 and pylama plugin that checks the ordering +of import statements.") + (license license:lgpl3))) + (define-public python-flexcache (package (name "python-flexcache")