summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorVinicius Monego <monego@posteo.net>2025-08-02 11:40:42 -0300
committerVinicius Monego <monego@posteo.net>2025-08-04 21:34:24 -0300
commit622e08e00ee7175a3e0e783f446f791a0f423f1f (patch)
treea58736cf530c11405f04003f23a387cde67e3b6d /gnu/packages/python-xyz.scm
parent4425422cb0ecc7f813f696de04045e354e59338e (diff)
gnu: python-safety: Improve style.
* gnu/packages/python-xyz.scm (python-safety): Run guix style. Change-Id: I711eee17b0681c65c9044231c16673cd3e48bf4d
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm35
1 files changed, 17 insertions, 18 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c104d9e31b..36869c5d19 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -34367,29 +34367,28 @@ facility for filtering those results.")
(name "python-safety")
(version "1.9.0")
(source
- (origin
- (method url-fetch)
- (uri (pypi-uri "safety" version))
- (sha256
- (base32
- "1j801xsxfzavjbzhhc934awvnk1b7jc0qsw3jp3ys0241mlj1gr3"))))
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "safety" version))
+ (sha256
+ (base32 "1j801xsxfzavjbzhhc934awvnk1b7jc0qsw3jp3ys0241mlj1gr3"))))
(build-system python-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'disable-tests
- (lambda _
- (substitute* "tests/test_safety.py"
- ;; requires network
- (("def test_check_live") "def _test_check_live"))
- #t)))))
- (propagated-inputs
- (list python-click python-dparse python-packaging python-requests))
+ `(#:phases (modify-phases %standard-phases
+ (add-after 'unpack 'disable-tests
+ (lambda _
+ (substitute* "tests/test_safety.py"
+ ;; requires network
+ (("def test_check_live")
+ "def _test_check_live")) #t)))))
+ (propagated-inputs (list python-click python-dparse python-packaging
+ python-requests))
(home-page "https://github.com/pyupio/safety")
(synopsis "Check installed dependencies for known vulnerabilities")
- (description "Safety checks installed dependencies for known vulnerabilities.
+ (description
+ "Safety checks installed dependencies for known vulnerabilities.
By default it uses the open Python vulnerability database Safety DB.")
- (license license:expat)))
+ (license license:expat)))
(define-public python-pypandoc
(package