diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d1bdb1f..4c4e527 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,7 +13,7 @@ repos: # Other file formatting, plus common Git mistakes & text file standardization: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.5.0 hooks: - id: check-added-large-files # Don't accidentally commit giant files. - id: check-merge-conflict # Watch for lingering merge markers. @@ -37,7 +37,7 @@ repos: # Make sure import statements are sorted uniformly. - repo: https://github.com/PyCQA/isort - rev: 5.12.0 + rev: 5.13.2 hooks: - id: isort @@ -58,20 +58,20 @@ repos: # Update a bunch of Python syntax, using __futures__ for Python 3.8/3.9 # Note that this sometimes conflicts with Pydantic on Python 3.8/3.9 - repo: https://github.com/asottile/pyupgrade - rev: v3.10.1 + rev: v3.15.0 hooks: - id: pyupgrade args: ["--py38-plus"] # Deterministic python formatting: - repo: https://github.com/psf/black - rev: 23.9.1 + rev: 23.12.1 hooks: - id: black language_version: python3.10 - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.0.3 + rev: v4.0.0-alpha.8 hooks: - id: prettier types_or: [yaml] @@ -82,7 +82,7 @@ repos: # Check for PEP8 non-compliance, code complexity, style, errors, etc: - repo: https://github.com/PyCQA/flake8 - rev: 6.1.0 + rev: 7.0.0 hooks: - id: flake8 args: ["--config", "tox.ini"] @@ -100,7 +100,7 @@ repos: # Check for known security vulnerabilities: - repo: https://github.com/PyCQA/bandit - rev: 1.7.5 + rev: 1.7.6 hooks: - id: bandit # Currently no configuration... @@ -108,7 +108,7 @@ repos: # Use type annotations to check types - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.5.1 + rev: v1.8.0 hooks: - id: mypy additional_dependencies: