aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZheng Junjie <z572@z572.online>2025-03-06 14:35:57 +0800
committerZheng Junjie <z572@z572.online>2025-03-26 12:19:24 +0800
commitd6a9fc6c95631be3734ca4571069d881f71b9d34 (patch)
tree45b35a28bc65e38447dad988991c9be7dc2ea0e9
parent19905aaf83d2955764d3bbdce04f5b0ebb450f11 (diff)
downloadguix-d6a9fc6c95631be3734ca4571069d881f71b9d34.tar.gz
guix-d6a9fc6c95631be3734ca4571069d881f71b9d34.zip
gnu: Add python-flake8-import-order.
* gnu/packages/python-xyz.scm (python-flake8-import-order): New variable. Change-Id: I2f6a0a71c39d2b8112c66116b8a880d570b8b950
-rw-r--r--gnu/packages/python-xyz.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7eff7735be..2d0de516f3 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")