From 921a6da57ce688587734af3c51a337cc7c77dddb Mon Sep 17 00:00:00 2001 From: Petr Hodina Date: Mon, 6 Jun 2022 22:13:03 +0200 Subject: [PATCH 1/2] gnu: python-pycodestyle: Update to 2.8.0. * gnu/packages/python-xyz.scm (python-pycodestyle): Update to 2.8.0. [arguments]: Respect tests?. diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6132019a53..69ddd3608b 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -6444,21 +6444,22 @@ (define-public python-socksipychain (define-public python-pycodestyle (package (name "python-pycodestyle") - (version "2.7.0") + (version "2.8.0") (source (origin (method url-fetch) (uri (pypi-uri "pycodestyle" version)) (sha256 (base32 - "1vqwmzmjdv331kmfq3q9j3as2x7r2r49lf83r9w4147pdg8c32f3")))) + "0zxyrg8029lzjhima6l5nk6y0z6lm5wfp9qchz3s33j3xx3mipgd")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases (replace 'check - (lambda _ - (invoke "pytest" "-vv")))))) + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest" "-vv"))))))) (native-inputs (list python-pytest)) (home-page "https://pycodestyle.readthedocs.io/") -- 2.35.1