Skip to content

Commit a32f404

Browse files
committed
[SP-2655] fix type error
1 parent 463242c commit a32f404

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/scanoss/winnowing.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
import pathlib
3333
import platform
3434
import re
35+
from typing import Tuple
3536

3637
from binaryornot.check import is_binary
3738
from crc32c import crc32c
@@ -352,7 +353,7 @@ def __strip_snippets(self, file: str, wfp: str) -> str:
352353
self.print_debug(f'Stripped snippet ids from {file}')
353354
return wfp
354355

355-
def __detect_line_endings(self, contents: bytes) -> tuple[bool, bool, bool, bool]:
356+
def __detect_line_endings(self, contents: bytes) -> Tuple[bool, bool, bool, bool]:
356357
"""Detect the types of line endings present in file contents.
357358
358359
Args:

0 commit comments

Comments
 (0)