gnu: python-safety: Improve style.

* gnu/packages/python-xyz.scm (python-safety): Run guix style.

Change-Id: I711eee17b0681c65c9044231c16673cd3e48bf4d
This commit is contained in:
Vinicius Monego 2025-08-02 11:40:42 -03:00
parent 4425422cb0
commit 622e08e00e
No known key found for this signature in database
GPG key ID: 637B0B138065B68A

View file

@ -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