Add pre-commit 3.6.0 (#42404)

* Add pre-commit 3.6.0

* pre-commit 3.6.0 drops support for Python <3.9
This commit is contained in:
Eric Berquist 2024-02-11 15:29:26 -05:00 committed by GitHub
parent e68fde6f4e
commit b3369ac669
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,6 +15,7 @@ class PyPreCommit(PythonPackage):
license("MIT")
version("3.6.0", sha256="d30bad9abf165f7785c15a21a1f46da7d0677cb00ee7ff4c579fd38922efe15d")
version("3.5.0", sha256="5804465c675b659b0862f07907f96295d490822a450c4c40e747d0b1c6ebcb32")
version("3.3.3", sha256="a2256f489cd913d575c145132ae196fe335da32d91a8294b7afe6622335dd023")
version("2.20.0", sha256="a978dac7bc9ec0bcee55c18a277d553b0f419d259dadb4b9418ff2d00eb43959")
@ -22,6 +23,7 @@ class PyPreCommit(PythonPackage):
version("2.10.1", sha256="399baf78f13f4de82a29b649afd74bef2c4e28eb4f021661fc7f29246e8c7a3a")
version("1.20.0", sha256="9f152687127ec90642a2cc3e4d9e1e6240c4eb153615cb02aa1ad41d331cbb6e")
depends_on("python@3.9:", when="@3.6:", type=("build", "run"))
depends_on("python@3.8:", when="@3:", type=("build", "run"))
depends_on("python@3.7:", when="@2.20.0:", type=("build", "run"))
depends_on("python@3.6.1:", when="@2.1.0:", type=("build", "run"))