Skip to content

Commit

Permalink
Fix newline
Browse files Browse the repository at this point in the history
  • Loading branch information
ppfeister committed May 20, 2024
1 parent e96189e commit a3d1671
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion tests/sherlock_interactives.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,3 @@ def walk_sherlock_for_files_with(pattern: str) -> list[str]:
if pattern.search(f.read()):
matching_files.append(file_path)
return matching_files

2 changes: 1 addition & 1 deletion tests/test_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ def test_versioning() -> None:
assert sherlock.__version__ in Interactives.run_cli("--version")
# Ensure __init__ is single source of truth for __version__ in package
# Temporarily allows sherlock.py so as to not trigger early upgrades
assert Interactives.walk_sherlock_for_files_with(r'__version__ *= *') == [ "sherlock/__init__.py", "sherlock/sherlock.py" ]
assert Interactives.walk_sherlock_for_files_with(r'__version__ *= *') == [ "sherlock/__init__.py", "sherlock/sherlock.py" ]

0 comments on commit a3d1671

Please sign in to comment.