From df2f9b0e844359f761788bf4dacdf93c53edcb19 Mon Sep 17 00:00:00 2001 From: Vincent Prat Date: Mon, 26 Jun 2023 11:48:27 +0200 Subject: [PATCH 2/2] gnu: python-mypy: Fix style. * gnu/packages/python-check.scm (python-mypy): Fix style. --- gnu/packages/python-check.scm | 46 +++++++++++++++++------------------ 1 file changed, 22 insertions(+), 24 deletions(-) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 3a718954c5..a5e6299167 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -1835,34 +1835,32 @@ (define-public python-mypy (package (name "python-mypy") (version "1.4.1") - (source - (origin - (method url-fetch) - (uri (pypi-uri "mypy" version)) - (sha256 - (base32 - "06svfmqbnb45pydy8lcrr12wqhhla5dl888w0g4f3wm1ismxkg4v")))) + (source (origin + (method url-fetch) + (uri (pypi-uri "mypy" version)) + (sha256 + (base32 + "06svfmqbnb45pydy8lcrr12wqhhla5dl888w0g4f3wm1ismxkg4v")))) (build-system python-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "pytest" "mypyc"))))))) - (native-inputs - (list python-attrs - python-lxml - python-psutil - python-pytest - python-pytest-forked - python-pytest-xdist - python-virtualenv)) - (propagated-inputs - (list python-mypy-extensions python-tomli python-typing-extensions)) + `(#:phases (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest" "mypyc"))))))) + (native-inputs (list python-attrs + python-lxml + python-psutil + python-pytest + python-pytest-forked + python-pytest-xdist + python-virtualenv)) + (propagated-inputs (list python-mypy-extensions python-tomli + python-typing-extensions)) (home-page "https://www.mypy-lang.org/") (synopsis "Static type checker for Python") - (description "Mypy is an optional static type checker for Python that aims + (description + "Mypy is an optional static type checker for Python that aims to combine the benefits of dynamic typing and static typing. Mypy combines the expressive power and convenience of Python with a powerful type system and compile-time type checking. Mypy type checks standard Python programs; run -- 2.39.2