Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ repos:
args: [--markdown-linebreak-ext=md]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.12
rev: v0.12.0
hooks:
- id: ruff-check
args: [ --fix ]
Expand Down
2 changes: 1 addition & 1 deletion haystack/core/component/sockets.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
SocketsIOType = Union[Type[InputSocket], Type[OutputSocket]]


class Sockets:
class Sockets: # noqa: PLW1641
"""
Represents the inputs or outputs of a `Component`.

Expand Down
2 changes: 1 addition & 1 deletion haystack/core/pipeline/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class ComponentPriority(IntEnum):
BLOCKED = 5


class PipelineBase:
class PipelineBase: # noqa: PLW1641
"""
Components orchestration engine.

Expand Down
2 changes: 1 addition & 1 deletion haystack/dataclasses/document.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __call__(cls, *args, **kwargs):


@dataclass
class Document(metaclass=_BackwardCompatible):
class Document(metaclass=_BackwardCompatible): # noqa: PLW1641
"""
Base data class containing some data to be queried.

Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ dependencies = [
"pandas", # AzureOCRDocumentConverter, CSVDocumentCleaner, CSVDocumentSplitter,
# EvaluationRunResult, XLSXToDocument, and pipeline tests

"transformers[torch,sentencepiece]>=4.51.1,<4.52", # ExtractiveReader, TransformersSimilarityRanker, LocalWhisperTranscriber, HFGenerators...
"transformers[torch, sentencepiece]>=4.51.1,<4.52", # ExtractiveReader, TransformersSimilarityRanker, LocalWhisperTranscriber, HFGenerators...
"huggingface_hub>=0.27.0", # Hugging Face API Generators and Embedders
"sentence-transformers>=4.1.0", # Sentence Transformers Embedders, Rankers, and SASEvaluator
"langdetect", # TextLanguageRouter and DocumentLanguageClassifier
Expand Down Expand Up @@ -333,7 +333,8 @@ ignore = [
"SIM118", # in-dict-keys
# we re-export symbols for correct type checking
# https://typing.python.org/en/latest/spec/distributing.html#import-conventions
"PLC0414", # useless-import-alias
"PLC0414", # useless-import-alias,
"PLC0415", # import-outside-top-level,
]

[tool.ruff.lint.mccabe]
Expand Down
Loading