Skip to content

Commit 345270e

Browse files
committed
pre-commit fixes
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
1 parent 71fd18c commit 345270e

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def load(self):
5555
if pid.value > 0 and psutil.pid_exists(pid.value):
5656
return
5757

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

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)