From 37470da1df9e7af8c1effe0cadb28582152e1d7b Mon Sep 17 00:00:00 2001 From: Vivien Kraus Date: Thu, 20 Jan 2022 19:20:06 +0100 Subject: [PATCH 06/18] gnu: Add python-flake8-array-spacing. * gnu/packages/python-science.scm (python-flake8-array-spacing): New variable. --- gnu/packages/python-science.scm | 1 + gnu/packages/python-xyz.scm | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 92a22aa981..6c0915e927 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -1192,3 +1192,4 @@ (define-public python-nitime level interface to the numerical machinery and make common analysis tasks easy to express with compact and semantically clear code.") (license license:bsd-3))) + diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b409ca16b6..8b27d4b490 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -28944,3 +28944,20 @@ (define-public python-imageio-ffmpeg publishing platform-specific wheels that include the binary @samp{ffmpeg} executables.") (license license:bsd-2))) + +(define-public python-flake8-array-spacing + (package + (name "python-flake8-array-spacing") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "flake8_array_spacing" version)) + (sha256 + (base32 "0nyp2x45hg5dkdrn0j2wcd336dnx6csizpfq5fwbk774wrb0lh6d")))) + (build-system python-build-system) + (propagated-inputs (list python-flake8 python-pycodestyle)) + (home-page "https://github.com/larsoner/flake8-array-spacing") + (synopsis "flake8 plugin to make exceptions for array-like variables") + (description "Recast some E2XX errors as A2XX with exceptions for array-like variables.") + (license license:bsd-3))) -- 2.34.0