mirror of
https://github.com/sherlock-project/sherlock
synced 2025-02-16 12:38:27 +00:00
Fix tox caught errors
This commit is contained in:
parent
249bab36eb
commit
e32a84ea05
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue