for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
from typing import TypeVar
import abc
from dataclasses import dataclass
from mandos.model.chembl_api import ChemblApi
from mandos.model.taxonomy import Taxonomy
from mandos.model.searches import Search
from mandos.model.hits import AbstractHit
H = TypeVar("H", bound=AbstractHit, covariant=True)
This check looks for invalid names for a range of different identifiers.
You can set regular expressions to which the identifiers must conform if the defaults do not match your requirements.
If your project includes a Pylint configuration file, the settings contained in that file take precedence.
To find out more about Pylint, please refer to their site.
@dataclass(frozen=True, order=True, repr=True)
class ChemblHit(AbstractHit, metaclass=abc.ABCMeta):
""""""
class ChemblSearch(Search[H], metaclass=abc.ABCMeta):
def __init__(self, key: str, api: ChemblApi):
"""
Constructor.
Args:
chembl_api:
super().__init__(key)
self.api = api
__all__ = ["ChemblHit", "ChemblSearch"]