Fix Ruff warnings

This commit is contained in:
Joakim Hellsén 2024-08-12 16:28:07 +02:00
commit 4480593f49
No known key found for this signature in database
GPG key ID: D196AE66FEBE1DC9
5 changed files with 75 additions and 26 deletions

View file

@ -31,6 +31,8 @@ def get_reader(custom_location: Path | None = None) -> Reader:
Args:
custom_location: The location of the database file.
Returns:
The reader.
"""
db_location: Path = custom_location or Path(data_dir) / "db.sqlite"