Fix newline

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

@ -20,4 +20,3 @@ class Interactives:
if pattern.search(f.read()):
matching_files.append(file_path)
return matching_files

@ -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" ]

Loading…
Cancel
Save