feat: add GitExtractor component #10051
Annotations
10 errors and 1 warning
Run Ruff Check:
src/backend/base/langflow/components/git/__init__.py#L4
src/backend/base/langflow/components/git/__init__.py:4:11: RUF022 `__all__` is not sorted
|
Run Ruff Check:
src/backend/base/langflow/components/git/gitextractor.py#L2
src/backend/base/langflow/components/git/gitextractor.py:2:1: I001 Import block is un-sorted or un-formatted
|
Run Ruff Check:
src/backend/base/langflow/components/git/gitextractor.py#L26
src/backend/base/langflow/components/git/gitextractor.py:26:121: E501 Line too long (128 > 120)
|
Run Ruff Check:
src/backend/base/langflow/components/git/gitextractor.py#L31
src/backend/base/langflow/components/git/gitextractor.py:31:1: W293 Blank line contains whitespace
|
Run Ruff Check:
src/backend/base/langflow/components/git/gitextractor.py#L40
src/backend/base/langflow/components/git/gitextractor.py:40:55: Q000 Single quotes found but double quotes preferred
|
Run Ruff Check:
src/backend/base/langflow/components/git/gitextractor.py#L57
src/backend/base/langflow/components/git/gitextractor.py:57:16: BLE001 Do not catch blind exception: `Exception`
|
Run Ruff Check:
src/backend/base/langflow/components/git/gitextractor.py#L58
src/backend/base/langflow/components/git/gitextractor.py:58:83: RUF010 Use explicit conversion flag
|
Run Ruff Check:
src/backend/base/langflow/components/git/gitextractor.py#L76
src/backend/base/langflow/components/git/gitextractor.py:76:37: PTH118 `os.path.join()` should be replaced by `Path` with `/` operator
|
Run Ruff Check:
src/backend/base/langflow/components/git/gitextractor.py#L77
src/backend/base/langflow/components/git/gitextractor.py:77:39: PTH202 `os.path.getsize` should be replaced by `Path.stat().st_size`
|
Run Ruff Check:
src/backend/base/langflow/components/git/gitextractor.py#L79
src/backend/base/langflow/components/git/gitextractor.py:79:34: UP015 Unnecessary open mode parameters
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading