Skip to content

Commit 177f4f1

Browse files
pre-commit.ci: pre-commit autoupdate (#37)
<!--pre-commit.ci start--> updates: - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v5.0.0](pre-commit/pre-commit-hooks@v4.5.0...v5.0.0) - [github.com/astral-sh/ruff-pre-commit: v0.3.5 → v0.8.2](astral-sh/ruff-pre-commit@v0.3.5...v0.8.2) <!--pre-commit.ci end--> --------- Signed-off-by: Anupam Kumar <kyteinsky@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Anupam Kumar <kyteinsky@gmail.com>
1 parent f44eada commit 177f4f1

5 files changed

Lines changed: 10 additions & 10 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ci:
55

66
repos:
77
- repo: https://github.com/pre-commit/pre-commit-hooks
8-
rev: v4.5.0
8+
rev: v5.0.0
99
hooks:
1010
- id: check-yaml
1111
- id: check-toml
@@ -16,7 +16,7 @@ repos:
1616
exclude: persistent_storage
1717

1818
- repo: https://github.com/astral-sh/ruff-pre-commit
19-
rev: v0.3.5
19+
rev: v0.8.2
2020
hooks:
2121
- id: ruff
2222

context_chat_backend/chain/types.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
from typing_extensions import TypedDict
1010

1111
__all__ = [
12-
'InDocument',
13-
'ScopeType',
1412
'ContextException',
13+
'InDocument',
1514
'LLMOutput',
15+
'ScopeType',
1616
]
1717

1818

context_chat_backend/dyn_loader.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ def load(self):
5555
if pid.value > 0 and psutil.pid_exists(pid.value):
5656
return
5757

58-
proc = subprocess.Popen(
59-
['./main_em.py'], # noqa: S603
58+
proc = subprocess.Popen( # noqa: S603
59+
['./main_em.py'],
6060
stdout=self.logfile,
6161
stderr=self.logfile,
6262
stdin=None,

context_chat_backend/setup_functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
from .repair import runner
1111

12-
__all__ = ['setup_env_vars', 'repair_run', 'ensure_config_file']
12+
__all__ = ['ensure_config_file', 'repair_run', 'setup_env_vars']
1313

1414

1515
def ensure_config_file():

context_chat_backend/types.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
from pydantic import BaseModel
66

77
__all__ = [
8-
'TEmbedding',
9-
'TConfig',
10-
'LoaderException',
118
'EmbeddingException',
9+
'LoaderException',
10+
'TConfig',
11+
'TEmbedding',
1212
]
1313

1414
class TEmbedding(BaseModel):

0 commit comments

Comments
 (0)