Skip to content

Commit 21da275

Browse files
[DAGE-25] added empty lines at the end of files
1 parent 4ed6246 commit 21da275

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

rre-dataset-generator/src/llm/llm_provider_factory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@ def build(cls, config: LLMConfig) -> BaseChatModel:
6060
log.error("Unsupported LLM provider requested: %s", provider_name)
6161
raise ValueError(f"Unsupported provider: {provider_name}")
6262
log.info("Selected LLM provider: %s", provider_name)
63-
return cls.PROVIDER_REGISTRY[provider_name](config)
63+
return cls.PROVIDER_REGISTRY[provider_name](config)

rre-dataset-generator/src/search_engine/data_store.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def get_documents(self) -> List[Document]:
5555
"""
5656
return list(self._documents.values())
5757

58-
def add_query(self, query: str, doc_id: str = None) -> str:
58+
def add_query(self, query: str, doc_id: str | None = None) -> str:
5959
"""
6060
If `query` already exists, just adds `doc_id` to it.
6161
Otherwise, creates a new QueryRatingContext.

rre-dataset-generator/src/writers/writer_factory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ def build(cls, output_format: str, data_store: DataStore) -> AbstractWriter:
1515
log.error("Unsupported output format requested: %s", output_format)
1616
raise ValueError(f"Unsupported output format: {output_format}")
1717
log.info("Selected output format: %s", output_format)
18-
return cls.OUTPUT_FORMAT_REGISTRY[output_format](data_store)
18+
return cls.OUTPUT_FORMAT_REGISTRY[output_format](data_store)

0 commit comments

Comments
 (0)