Fix newline

This commit is contained in:
Paul Pfeister 2024-05-20 04:47:10 -04:00
parent a785a5931f
commit 9f75d5ed14
No known key found for this signature in database
GPG key ID: 70D33A96CBD7A994
2 changed files with 1 additions and 2 deletions

View file

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

View file

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