Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#141)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Nov 14, 2023
1 parent 62cb4d9 commit ddbd05d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 18 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
28 changes: 13 additions & 15 deletions bin/website
Original file line number Diff line number Diff line change
Expand Up @@ -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"])

Expand Down

0 comments on commit ddbd05d

Please sign in to comment.