diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fc9e3a5..fffc880 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,7 +8,7 @@ fail_fast: true repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v6.0.0 hooks: # check for large files, aws credentials and private key files - id: check-added-large-files args: ['--maxkb=200'] @@ -17,13 +17,15 @@ repos: - id: detect-private-key - id: check-json - id: check-yaml + - id: trailing-whitespace + files: \.py$ - repo: https://github.com/psf/black - rev: 22.8.0 + rev: 25.9.0 hooks: # check conformance to black formatting - id: black args: ['--check'] # if run without arguments, will fail and will format the files - repo: https://github.com/pycqa/flake8 - rev: 5.0.4 + rev: 7.3.0 hooks: # check conformance to PEP8, flake8 formatting - id: flake8