diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c56f4dc..d1d5359 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,5 +1,11 @@ repos: - - repo: https://github.com/psf/black - rev: 23.3.0 + # Using this mirror lets us use mypyc-compiled black, which is about 2x faster + - repo: https://github.com/psf/black-pre-commit-mirror + rev: 24.4.2 hooks: - id: black + # It is recommended to specify the latest version of Python + # supported by your project here, or alternatively use + # pre-commit's default_language_version, see + # https://pre-commit.com/#top_level-default_language_version + language_version: python3.11 \ No newline at end of file diff --git a/poetry.lock b/poetry.lock index ec87fa7..6cc964f 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1151,4 +1151,4 @@ test = ["big-O", "importlib-resources", "jaraco.functools", "jaraco.itertools", [metadata] lock-version = "2.0" python-versions = "^3.8" -content-hash = "d134ff79b66420c7e74bb1b86b8129941f9a0377b0a342554196f5acef4732ea" +content-hash = "d74ee672558146f6cf8a45cb5081a770d47ad776da08813fbe42dea5bf98d9bc" diff --git a/pyproject.toml b/pyproject.toml index 31ab1eb..02f1a5a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,7 +29,7 @@ requests = "^2.31" jinja2 = "^3.1" [tool.poetry.dev-dependencies] -black = "^24.1" +black = "^24.4.2" mypy = "^1.8" pre-commit = "^3.5" pylint = "^3.0"