guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 622e08e00ee7175a3e0e783f446f791a0f423f1f
Author: Vinicius Monego <[email protected]>
AuthorDate: Sat Aug 2 11:40:42 2025 -0300

    gnu: python-safety: Improve style.
    
    * gnu/packages/python-xyz.scm (python-safety): Run guix style.
    
    Change-Id: I711eee17b0681c65c9044231c16673cd3e48bf4d
---
 gnu/packages/python-xyz.scm | 35 +++++++++++++++++------------------
 1 file 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

Reply via email to