diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a0a3d624af2..82fa2715179 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pycqa/isort - rev: 5.12.0 + rev: 5.13.2 hooks: - id: isort files: 'hydra/.*' @@ -10,7 +10,7 @@ repos: files: 'tools/.*' - repo: https://github.com/psf/black - rev: 23.1.0 + rev: 24.2.0 hooks: - id: black @@ -20,7 +20,7 @@ repos: - id: flake8 - repo: https://github.com/adrienverge/yamllint.git - rev: v1.30.0 + rev: v1.35.1 hooks: - id: yamllint args: [-c=.yamllint, --strict] diff --git a/requirements/dev.txt b/requirements/dev.txt index c43ca403a20..a99a52bd990 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -1,12 +1,12 @@ -r requirements.txt bandit -black>=22.1.0 +black==24.2.0 build coverage -flake8<6 # pinned due to https://github.com/savoirfairelinux/flake8-copyright/issues/19 +flake8==6.0.0 flake8-copyright -isort==5.5.2 -mypy +isort==5.13.2 +mypy==1.8.0 nox packaging pre-commit