Skip to content

Commit

Permalink
pre-commit fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Anupam Kumar <[email protected]>
  • Loading branch information
kyteinsky committed Dec 16, 2024
1 parent 71fd18c commit 345270e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions context_chat_backend/chain/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
from typing_extensions import TypedDict

__all__ = [
'InDocument',
'ScopeType',
'ContextException',
'InDocument',
'LLMOutput',
'ScopeType',
]


Expand Down
2 changes: 1 addition & 1 deletion context_chat_backend/dyn_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def load(self):
if pid.value > 0 and psutil.pid_exists(pid.value):
return

proc = subprocess.Popen(
proc = subprocess.Popen( # noqa: S603
['./main_em.py'],
stdout=self.logfile,
stderr=self.logfile,
Expand Down
2 changes: 1 addition & 1 deletion context_chat_backend/setup_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

from .repair import runner

__all__ = ['setup_env_vars', 'repair_run', 'ensure_config_file']
__all__ = ['ensure_config_file', 'repair_run', 'setup_env_vars']


def ensure_config_file():
Expand Down
6 changes: 3 additions & 3 deletions context_chat_backend/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
from pydantic import BaseModel

__all__ = [
'TEmbedding',
'TConfig',
'LoaderException',
'EmbeddingException',
'LoaderException',
'TConfig',
'TEmbedding',
]

class TEmbedding(BaseModel):
Expand Down

0 comments on commit 345270e

Please sign in to comment.