Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style: ruff format #567

Merged
merged 1 commit into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/variation/gnomad_vcf_to_protein_variation.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
from gene.query import QueryHandler as GeneQueryHandler
from gene.schemas import MatchType as GeneMatchType

from variation import __version__
from variation.classify import Classify
from variation.schemas.classification_response_schema import Nomenclature
from variation.schemas.gnomad_vcf_to_protein_schema import GnomadVcfToProteinService
Expand All @@ -19,7 +20,6 @@
from variation.tokenize import Tokenize
from variation.translate import Translate
from variation.validate import Validate
from variation import __version__


class GnomadVcfToProteinError(Exception):
Expand Down
2 changes: 1 addition & 1 deletion src/variation/normalize.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from cool_seq_tool.sources import UtaDatabase
from ga4gh.vrs import models

from variation import __version__
from variation.classify import Classify
from variation.schemas.app_schemas import Endpoint
from variation.schemas.normalize_response_schema import (
Expand All @@ -25,7 +26,6 @@
from variation.translate import Translate
from variation.utils import update_warnings_for_no_resp
from variation.validate import Validate
from variation import __version__


class Normalize(ToVRS):
Expand Down
2 changes: 1 addition & 1 deletion src/variation/schemas/copy_number_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
model_validator,
)

from variation.schemas.normalize_response_schema import ServiceResponse
from variation import __version__
from variation.schemas.normalize_response_schema import ServiceResponse


class ParsedPosType(str, Enum):
Expand Down
2 changes: 1 addition & 1 deletion src/variation/schemas/hgvs_to_copy_number_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
from ga4gh.vrs import models
from pydantic import ConfigDict, StrictStr

from variation.schemas.normalize_response_schema import ServiceResponse
from variation import __version__
from variation.schemas.normalize_response_schema import ServiceResponse


class HgvsToCopyNumberCountService(ServiceResponse):
Expand Down
2 changes: 1 addition & 1 deletion src/variation/schemas/service_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
from cool_seq_tool.schemas import ToGenomicService as ToGenomic
from pydantic import ConfigDict

from variation.schemas.normalize_response_schema import ServiceMeta
from variation import __version__
from variation.schemas.normalize_response_schema import ServiceMeta


class ClinVarAssembly(str, Enum):
Expand Down
2 changes: 1 addition & 1 deletion src/variation/to_copy_number_variation.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
from gene.schemas import MatchType as GeneMatchType
from pydantic import ValidationError

from variation import __version__
from variation.classify import Classify
from variation.schemas.app_schemas import Endpoint
from variation.schemas.classification_response_schema import ClassificationType
Expand Down Expand Up @@ -43,7 +44,6 @@
from variation.translate import Translate
from variation.utils import get_priority_sequence_location
from variation.validate import Validate
from variation import __version__

VALID_CLASSIFICATION_TYPES = [
ClassificationType.GENOMIC_DUPLICATION,
Expand Down
2 changes: 1 addition & 1 deletion src/variation/to_vrs.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from cool_seq_tool.handlers import SeqRepoAccess
from ga4gh.vrs import models

from variation import __version__
from variation.classify import Classify
from variation.schemas.app_schemas import Endpoint
from variation.schemas.normalize_response_schema import (
Expand All @@ -18,7 +19,6 @@
from variation.tokenize import Tokenize
from variation.translate import Translate
from variation.validate import Validate
from variation import __version__
from variation.vrs_representation import VRSRepresentation


Expand Down
Loading