From 1caa8eec3d58cb2c19648f48222b2e86c411dd88 Mon Sep 17 00:00:00 2001 From: Vyas Ramasubramani Date: Tue, 29 Mar 2022 15:05:52 -0700 Subject: [PATCH 1/2] Pin click version to last support by black<22.3.0. --- .pre-commit-config.yaml | 2 ++ conda/environments/rmm_dev_cuda11.5.yml | 1 + conda/environments/rmm_dev_cuda11.6.yml | 1 + 3 files changed, 4 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a50c645ba..8a98beb9e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,6 +12,8 @@ repos: rev: 19.10b0 hooks: - id: black + additional_dependencies: + - click==8.0.4 - repo: https://gitlab.com/pycqa/flake8 rev: 3.8.3 hooks: diff --git a/conda/environments/rmm_dev_cuda11.5.yml b/conda/environments/rmm_dev_cuda11.5.yml index d0b3816b7..4c107fd74 100644 --- a/conda/environments/rmm_dev_cuda11.5.yml +++ b/conda/environments/rmm_dev_cuda11.5.yml @@ -5,6 +5,7 @@ channels: dependencies: - clang=11.1.0 - clang-tools=11.1.0 +- click=8.0.4 - cmake>=3.20.1 - cmake-format=0.6.11 - flake8=3.8.3 diff --git a/conda/environments/rmm_dev_cuda11.6.yml b/conda/environments/rmm_dev_cuda11.6.yml index c0e8e2ed9..0f69d897a 100644 --- a/conda/environments/rmm_dev_cuda11.6.yml +++ b/conda/environments/rmm_dev_cuda11.6.yml @@ -5,6 +5,7 @@ channels: dependencies: - clang=11.1.0 - clang-tools=11.1.0 +- click=8.0.4 - cmake>=3.20.1 - cmake-format=0.6.11 - flake8=3.8.3 From 59fa0b4932c9d34ad07f70e94e8a66686dc2fa73 Mon Sep 17 00:00:00 2001 From: Vyas Ramasubramani Date: Tue, 29 Mar 2022 15:08:55 -0700 Subject: [PATCH 2/2] Fix formatting. --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8a98beb9e..f57423eb7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,8 +12,8 @@ repos: rev: 19.10b0 hooks: - id: black - additional_dependencies: - - click==8.0.4 + additional_dependencies: + - click==8.0.4 - repo: https://gitlab.com/pycqa/flake8 rev: 3.8.3 hooks: