Skip to content

Commit

Permalink
Fix tox caught errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ppfeister committed May 20, 2024
1 parent 781eb8b commit 936a8a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tests/sherlock_interactives.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ def run_cli(args: str = "") -> str:
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] = []
Expand Down
1 change: 0 additions & 1 deletion tests/test_ux.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import pytest
import subprocess
from sherlock import sherlock
from sherlock_interactives import Interactives
from sherlock_interactives import InteractivesSubprocessError
Expand Down

0 comments on commit 936a8a8

Please sign in to comment.