ci: auto fixes from pre-commit.ci

For more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot]
2026-02-09 17:35:05 +00:00
parent c203bb79fc
commit 34452c262b
3 changed files with 3 additions and 3 deletions

View File

@@ -11,7 +11,8 @@ import subprocess, sys, pathlib, json, jinja2
if __name__ == '__main__':
with (pathlib.Path('.').parent / 'README.md').open('w') as f:
f.write(
jinja2.Environment(loader=jinja2.FileSystemLoader('.'))
jinja2
.Environment(loader=jinja2.FileSystemLoader('.'))
.get_template('README.md.tpl')
.render(
model_dict=json.loads(

View File

@@ -1,7 +1,7 @@
from __future__ import annotations
import asyncio, asyncio.subprocess, functools, hashlib, io, json, os, pathlib, signal, subprocess, sys, sysconfig, typing, shlex
import typer, typer.core, pydantic, questionary, pyaml, yaml
import typer, pydantic, questionary, pyaml, yaml
from collections import UserDict
from contextlib import asynccontextmanager, contextmanager

View File

@@ -167,7 +167,6 @@ def _clone_repo(repo: RepoInfo) -> None:
['git', 'clone', '--depth=1', '-b', repo.branch, repo.url, str(repo.path)], check=True
)
except (subprocess.CalledProcessError, FileNotFoundError):
import dulwich
import dulwich.porcelain
# Dulwich doesn't have easy output suppression, but we rarely get here