diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3ffcf29f47688..9b2b39e6b5a6c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,7 +9,7 @@ repos: - id: absolufy-imports files: ^pandas/ - repo: https://github.com/python/black - rev: 21.12b0 + rev: 22.3.0 hooks: - id: black - repo: https://github.com/codespell-project/codespell @@ -26,7 +26,7 @@ repos: exclude: \.txt$ - id: trailing-whitespace - repo: https://github.com/cpplint/cpplint - rev: 1.5.5 + rev: 1.6.0 hooks: - id: cpplint # We don't lint all C files because we don't want to lint any that are built @@ -49,7 +49,7 @@ repos: hooks: - id: isort - repo: https://github.com/asottile/pyupgrade - rev: v2.31.0 + rev: v2.31.1 hooks: - id: pyupgrade args: [--py38-plus] diff --git a/environment.yml b/environment.yml index da5d6fabcde20..2ed56ad8126e0 100644 --- a/environment.yml +++ b/environment.yml @@ -18,7 +18,7 @@ dependencies: - cython>=0.29.24 # code checks - - black=21.5b2 + - black=22.3.0 - cpplint - flake8=4.0.1 - flake8-bugbear=21.3.2 # used by flake8, find likely bugs diff --git a/requirements-dev.txt b/requirements-dev.txt index ac525f1d09fbe..beda85b09cf83 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -6,7 +6,7 @@ python-dateutil>=2.8.1 pytz asv < 0.5.0 cython>=0.29.24 -black==21.5b2 +black==22.3.0 cpplint flake8==4.0.1 flake8-bugbear==21.3.2