From 958315db0ef91afc996cefe2aace625462d3e459 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 5 Feb 2024 18:34:27 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/psf/black: 23.10.1 → 24.1.1](https://github.com/psf/black/compare/23.10.1...24.1.1) - [github.com/pycqa/isort: 5.12.0 → 5.13.2](https://github.com/pycqa/isort/compare/5.12.0...5.13.2) - [github.com/pre-commit/mirrors-prettier: v3.0.3 → v4.0.0-alpha.8](https://github.com/pre-commit/mirrors-prettier/compare/v3.0.3...v4.0.0-alpha.8) - [github.com/PyCQA/flake8: 6.1.0 → 7.0.0](https://github.com/PyCQA/flake8/compare/6.1.0...7.0.0) --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b9e6a43..08bc79d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -27,7 +27,7 @@ repos: # Autoformat: Python code - repo: https://github.com/psf/black - rev: 23.10.1 + rev: 24.1.1 hooks: - id: black args: @@ -36,7 +36,7 @@ repos: # Autoformat: Python code - repo: https://github.com/pycqa/isort - rev: 5.12.0 + rev: 5.13.2 hooks: - id: isort args: @@ -44,14 +44,14 @@ repos: # Autoformat: markdown, yaml (but not helm templates) - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.0.3 + rev: v4.0.0-alpha.8 hooks: - id: prettier exclude: binderhub-service/templates/.* # Linting: Python code (see the file .flake8) - repo: https://github.com/PyCQA/flake8 - rev: "6.1.0" + rev: "7.0.0" hooks: - id: flake8 # Ignore style and complexity From 61f732ca93b44d4db4093196696689dae9cb86af Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 5 Feb 2024 18:34:35 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- binderhub-service/mounted-files/binderhub_config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/binderhub-service/mounted-files/binderhub_config.py b/binderhub-service/mounted-files/binderhub_config.py index 03057ca..7cf92a9 100644 --- a/binderhub-service/mounted-files/binderhub_config.py +++ b/binderhub-service/mounted-files/binderhub_config.py @@ -2,6 +2,7 @@ This configuration file is mounted to be read by binderhub with the sole purpose of loading chart configuration passed via "config" and "extraConfig". """ + from functools import lru_cache from ruamel.yaml import YAML