From 02b8a07e31dce449c671ece32bd1cef2dc2bdceb Mon Sep 17 00:00:00 2001 From: Massimiliano Pippi Date: Thu, 9 May 2024 15:00:16 +0200 Subject: [PATCH] re-enable linting for the core package (#7677) * re-enable linting for the core package * fix docstring --- .github/workflows/linting.yml | 1 - haystack/core/pipeline/descriptions.py | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index 111bd950d..11d3169b1 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -8,7 +8,6 @@ on: - "test/**/*.py" - "e2e/**/*.py" - "pyproject.toml" - - "!haystack/core/**/*.py" env: PYTHON_VERSION: "3.8" diff --git a/haystack/core/pipeline/descriptions.py b/haystack/core/pipeline/descriptions.py index f74136f83..f7d732265 100644 --- a/haystack/core/pipeline/descriptions.py +++ b/haystack/core/pipeline/descriptions.py @@ -16,8 +16,9 @@ def find_pipeline_inputs( graph: networkx.MultiDiGraph, include_connected_sockets: bool = False ) -> Dict[str, List[InputSocket]]: """ - Collect components that have disconnected/connected input sockets. Note that this method returns *ALL* - disconnected input sockets, including all such sockets with default values. + Collect components that have disconnected/connected input sockets. + + Note that this method returns *ALL* disconnected input sockets, including all such sockets with default values. """ return { name: [