From ddbd05dd78c672d5f2597cb1f52c083bb136597b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 14 Nov 2023 09:47:27 +0100 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate (#141) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 6 +++--- bin/website | 28 +++++++++++++--------------- 2 files changed, 16 insertions(+), 18 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2584baf..91b9e07 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,17 +19,17 @@ repos: - id: check-docstring-first - repo: https://github.com/psf/black-pre-commit-mirror - rev: 23.10.1 + rev: 23.11.0 hooks: - id: black - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.4 + rev: v0.1.5 hooks: - id: ruff - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.0.3 + rev: v3.1.0 hooks: - id: prettier additional_dependencies: diff --git a/bin/website b/bin/website index f09db90..390c1e7 100755 --- a/bin/website +++ b/bin/website @@ -174,21 +174,19 @@ class DocsPullCommand(ConfigureCommand): with temporary_directory() as tmp_dir: os.chdir(tmp_dir) tmp_dir = Path(tmp_dir) - subprocess.run( - [ - "git", - "clone", - "--single-branch", - "--branch", - version, - "--depth", - "1", - "--filter=blob:none", - "--sparse", - self.REPOSITORY, - ".", - ] - ) + subprocess.run([ + "git", + "clone", + "--single-branch", + "--branch", + version, + "--depth", + "1", + "--filter=blob:none", + "--sparse", + self.REPOSITORY, + ".", + ]) subprocess.run(["git", "sparse-checkout", "init", "--cone"]) subprocess.run(["git", "sparse-checkout", "set", "docs"])