Skip to content

Commit

Permalink
Make ruff happy
Browse files Browse the repository at this point in the history
This should not be necessary. See #756
  • Loading branch information
cmungall committed May 8, 2024
1 parent aef85c6 commit 57e4b57
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/oaklib/io/streaming_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@


@dataclass
class StreamingWriter(ABC):
class StreamingWriter:
"""
Base class for streaming writers.
"""
Expand Down
3 changes: 2 additions & 1 deletion src/oaklib/utilities/publication_utils/pubdb_wrapper.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from abc import ABC
from abc import ABC, abstractmethod
from dataclasses import dataclass, field
from typing import ClassVar, Dict, List, Optional

Expand Down Expand Up @@ -32,5 +32,6 @@ def set_cache(self, name: str) -> None:
self.session = requests_cache.CachedSession(name)
self._uses_cache = True

@abstractmethod
def objects_by_ids(self, object_ids: List[str]) -> List[Dict]:
raise NotImplementedError

0 comments on commit 57e4b57

Please sign in to comment.