Fix tox caught errors

pull/2127/head
Paul Pfeister 7 months ago
parent 249bab36eb
commit e32a84ea05
No known key found for this signature in database
GPG Key ID: 70D33A96CBD7A994

@ -13,7 +13,8 @@ class Interactives:
except subprocess.CalledProcessError as e:
raise InteractivesSubprocessError(e.output.decode())
def walk_sherlock_for_files_with(pattern: str) -> list[str]:
# -> list[str] is prefered, but will require deprecation of support for Python 3.8
def walk_sherlock_for_files_with(pattern: str) -> list:
"""Check all files within the Sherlock package for matching patterns"""
pattern: re.Pattern = re.compile(pattern)
matching_files: list[str] = []

@ -1,5 +1,4 @@
import pytest
import subprocess
from sherlock import sherlock
from sherlock_interactives import Interactives
from sherlock_interactives import InteractivesSubprocessError

Loading…
Cancel
Save