gnu: pre-commit: Update to 3.2.2.

* gnu/packages/version-control.scm (pre-commit): Update to 3.2.2.
This commit is contained in:
Vinicius Monego 2023-03-19 14:03:35 -03:00
parent bd8dbd9a48
commit 0e41273ae3
No known key found for this signature in database
GPG key ID: 637B0B138065B68A

View file

@ -29,7 +29,7 @@
;;; Copyright © 2020, 2021 Brice Waegeneire <brice@waegenei.re> ;;; Copyright © 2020, 2021 Brice Waegeneire <brice@waegenei.re>
;;; Copyright © 2020 John D. Boy <jboy@bius.moe> ;;; Copyright © 2020 John D. Boy <jboy@bius.moe>
;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org> ;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2020, 2021, 2022 Vinicius Monego <monego@posteo.net> ;;; Copyright © 2020, 2021, 2022, 2023 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2020 Tanguy Le Carrour <tanguy@bioneland.org> ;;; Copyright © 2020 Tanguy Le Carrour <tanguy@bioneland.org>
;;; Copyright © 2020, 2021, 2022 Michael Rohleder <mike@rohleder.de> ;;; Copyright © 2020, 2021, 2022 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2021 Greg Hogan <code@greghogan.com> ;;; Copyright © 2021 Greg Hogan <code@greghogan.com>
@ -1668,7 +1668,7 @@ (define-public gitile
(define-public pre-commit (define-public pre-commit
(package (package
(name "pre-commit") ;formerly known as python-pre-commit (name "pre-commit") ;formerly known as python-pre-commit
(version "3.1.1") (version "3.2.2")
(source (source
(origin (origin
(method git-fetch) ; no tests in PyPI release (method git-fetch) ; no tests in PyPI release
@ -1677,7 +1677,7 @@ (define-public pre-commit
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "1rngcq1vd2phk45wp1cc5jz02wpi53fif0qwk633smfjcjj1kp41")) (base32 "11zbnl08bqyl8s12i58szn5gcali4p6dwwbzln8bk92kb721s52r"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet '(substitute* "setup.cfg" (snippet '(substitute* "setup.cfg"
(("virtualenv>=20.10.0") ;our virtualenv (20.3.1) is fine (("virtualenv>=20.10.0") ;our virtualenv (20.3.1) is fine