Skip to content

Commit

Permalink
Remove unused imports
Browse files Browse the repository at this point in the history
Fixes linter error F401.
  • Loading branch information
ecalifornica committed Sep 11, 2023
1 parent 21e6106 commit 0e3bdcb
Show file tree
Hide file tree
Showing 12 changed files with 3 additions and 56 deletions.
1 change: 0 additions & 1 deletion src/hgvs/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import bioutils.sequences
import ometa.runtime
import parsley
from pkg_resources import resource_filename

import hgvs.edit

Expand Down
1 change: 0 additions & 1 deletion tests/fx-test/test_variant_length.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import os
import unittest

import pytest
from support import CACHE

import hgvs.dataproviders.uta
Expand Down
12 changes: 1 addition & 11 deletions tests/issues/test_02xx.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
# -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function, unicode_literals

import logging
import os
import pprint
import re
import sys
import unittest

import pytest
Expand All @@ -18,13 +14,7 @@
import hgvs.sequencevariant
import hgvs.validator
import hgvs.variantmapper
from hgvs.enums import Datum
from hgvs.exceptions import (
HGVSDataNotAvailableError,
HGVSError,
HGVSInvalidVariantError,
HGVSParseError,
)
from hgvs.exceptions import HGVSInvalidVariantError


@pytest.mark.issues
Expand Down
5 changes: 0 additions & 5 deletions tests/issues/test_03xx.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
# -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function, unicode_literals

import logging
import os
import pprint
import re
import sys
import unittest

import pytest
Expand All @@ -24,7 +20,6 @@
HGVSDataNotAvailableError,
HGVSError,
HGVSInvalidVariantError,
HGVSParseError,
)


Expand Down
12 changes: 1 addition & 11 deletions tests/issues/test_04xx.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
# -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function, unicode_literals

import logging
import os
import pprint
import re
import sys
import unittest

import pytest
Expand All @@ -18,13 +14,7 @@
import hgvs.sequencevariant
import hgvs.validator
import hgvs.variantmapper
from hgvs.enums import Datum
from hgvs.exceptions import (
HGVSDataNotAvailableError,
HGVSError,
HGVSInvalidVariantError,
HGVSParseError,
)
from hgvs.exceptions import HGVSDataNotAvailableError


@pytest.mark.issues
Expand Down
11 changes: 0 additions & 11 deletions tests/issues/test_05xx.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
# -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function, unicode_literals

import logging
import os
import pprint
import re
import sys
import unittest

import pytest
Expand All @@ -18,13 +14,6 @@
import hgvs.sequencevariant
import hgvs.validator
import hgvs.variantmapper
from hgvs.enums import Datum
from hgvs.exceptions import (
HGVSDataNotAvailableError,
HGVSError,
HGVSInvalidVariantError,
HGVSParseError,
)


@pytest.mark.issues
Expand Down
2 changes: 0 additions & 2 deletions tests/support/crosschecker.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
from __future__ import absolute_import, division, print_function, unicode_literals

import itertools
import re
import unittest

from six.moves import map

Expand Down
1 change: 0 additions & 1 deletion tests/support/mock_input_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
from __future__ import absolute_import, division, print_function, unicode_literals

import csv
from sys import version_info

# Mock test input source

Expand Down
3 changes: 0 additions & 3 deletions tests/test_clinvar.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@
from __future__ import absolute_import, division, print_function, unicode_literals

import csv
import fileinput
import gzip
import io
import os
import sys
import types
import unittest

import pytest
Expand All @@ -19,7 +17,6 @@
import hgvs.parser
import hgvs.sequencevariant
import hgvs.variantmapper
from hgvs.exceptions import HGVSError

data_fn = os.path.join(os.path.dirname(__file__), "data", "clinvar.gz")

Expand Down
7 changes: 1 addition & 6 deletions tests/test_hgvs_alignmentmapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,7 @@
import hgvs.location
import hgvs.parser
from hgvs.alignmentmapper import AlignmentMapper
from hgvs.enums import Datum
from hgvs.exceptions import (
HGVSDataNotAvailableError,
HGVSError,
HGVSInvalidIntervalError,
)
from hgvs.exceptions import HGVSDataNotAvailableError, HGVSInvalidIntervalError


@pytest.mark.quick
Expand Down
3 changes: 0 additions & 3 deletions tests/test_hgvs_variantmapper_gcp.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
# -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function, unicode_literals

import logging
import os
import pprint
import re
import sys
import unittest
Expand All @@ -20,7 +18,6 @@
import hgvs.parser
import hgvs.sequencevariant
import hgvs.variantmapper
from hgvs.exceptions import HGVSError


def gxp_file_reader(fn):
Expand Down
1 change: 0 additions & 1 deletion tests/test_hgvs_variantmapper_near_discrepancies.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import hgvs.assemblymapper
import hgvs.dataproviders.uta
import hgvs.parser
from hgvs.exceptions import HGVSError, HGVSInvalidVariantError

tests_fn = "tests/data/proj-near-disc.tsv"

Expand Down

0 comments on commit 0e3bdcb

Please sign in to comment.