Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-c committed Nov 1, 2023
1 parent a4ec348 commit f19bf7a
Show file tree
Hide file tree
Showing 18 changed files with 1 addition and 56 deletions.
2 changes: 0 additions & 2 deletions lib/galaxy/datatypes/util/maf_utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -658,8 +658,6 @@ def get_starts_ends_fields_from_gene_bed(line):
if len(fields) < 12:
raise Exception(f"Not a proper 12 column BED line ({line}).")
tx_start = int(fields[1])
if (strand := fields[5]) != "-":
strand = "+" # Default strand is +
cds_start = int(fields[6])
cds_end = int(fields[7])

Expand Down
4 changes: 0 additions & 4 deletions lib/galaxy/schema/bco/description_domain.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@

from datetime import datetime
from enum import Enum
from typing import (
List,
Optional,
)

from pydantic import (
AnyUrl,
Expand Down
1 change: 0 additions & 1 deletion lib/galaxy/schema/bco/error_domain.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

from typing import (
Any,
Dict,
)

from pydantic import (
Expand Down
5 changes: 0 additions & 5 deletions lib/galaxy/schema/bco/execution_domain.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@

from datetime import datetime
from enum import Enum
from typing import (
Dict,
List,
Optional,
)

from pydantic import (
AnyUrl,
Expand Down
4 changes: 0 additions & 4 deletions lib/galaxy/schema/bco/io_domain.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@

from datetime import datetime
from enum import Enum
from typing import (
List,
Optional,
)

from pydantic import (
AnyUrl,
Expand Down
2 changes: 0 additions & 2 deletions lib/galaxy/schema/bco/parametric_domain.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

from __future__ import annotations

from typing import List

from pydantic import (
BaseModel,
Extra,
Expand Down
4 changes: 0 additions & 4 deletions lib/galaxy/schema/bco/provenance_domain.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@

from datetime import datetime
from enum import Enum
from typing import (
List,
Optional,
)

from pydantic import (
AnyUrl,
Expand Down
2 changes: 0 additions & 2 deletions lib/galaxy/schema/bco/usability_domain.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

from __future__ import annotations

from typing import List

from pydantic import (
BaseModel,
Field,
Expand Down
4 changes: 0 additions & 4 deletions lib/galaxy/schema/drs/AccessMethod.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
from __future__ import annotations

from enum import Enum
from typing import (
List,
Optional,
)

from pydantic import (
BaseModel,
Expand Down
5 changes: 0 additions & 5 deletions lib/galaxy/schema/drs/AccessURL.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@

from __future__ import annotations

from typing import (
List,
Optional,
)

from pydantic import (
BaseModel,
Field,
Expand Down
5 changes: 0 additions & 5 deletions lib/galaxy/schema/drs/ContentsObject.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@

from __future__ import annotations

from typing import (
List,
Optional,
)

from pydantic import (
BaseModel,
Field,
Expand Down
4 changes: 0 additions & 4 deletions lib/galaxy/schema/drs/DrsObject.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@

from datetime import datetime
from enum import Enum
from typing import (
List,
Optional,
)

from pydantic import (
BaseModel,
Expand Down
1 change: 0 additions & 1 deletion lib/galaxy/schema/drs/Error.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

from __future__ import annotations

from typing import Optional

from pydantic import (
BaseModel,
Expand Down
1 change: 0 additions & 1 deletion lib/galaxy/schema/drs/Service.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from __future__ import annotations

from datetime import datetime
from typing import Optional

from pydantic import (
AnyUrl,
Expand Down
2 changes: 0 additions & 2 deletions lib/galaxy/tools/imp_exp/export_history.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ def main(argv=None):
)
parser.add_option("--file-sources", type=str, help="file sources json")
(options, args) = parser.parse_args(argv)
if (galaxy_version := options.galaxy_version) is None:
galaxy_version = "19.05"

gzip = bool(options.gzip)
assert len(args) >= 2
Expand Down
6 changes: 0 additions & 6 deletions lib/tool_shed_client/schema/trs.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@
from __future__ import annotations

from enum import Enum
from typing import (
Dict,
List,
Optional,
Union,
)

from pydantic import (
BaseModel,
Expand Down
1 change: 0 additions & 1 deletion lib/tool_shed_client/schema/trs_service_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from __future__ import annotations

from datetime import datetime
from typing import Optional

from pydantic import (
AnyUrl,
Expand Down
4 changes: 1 addition & 3 deletions test/integration/test_kubernetes_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@
from typing_extensions import Literal

from galaxy.tool_util.verify.wait import timeout_type
from galaxy.util import (
unicodify,
)
from galaxy.util import unicodify
from galaxy_test.base.populators import (
DatasetPopulator,
DEFAULT_TIMEOUT,
Expand Down

0 comments on commit f19bf7a

Please sign in to comment.