Skip to content

Commit e88cee4

Browse files
committed
Remove unused imports via ruff
1 parent e2a958a commit e88cee4

File tree

11 files changed

+1
-24
lines changed

11 files changed

+1
-24
lines changed

exasol/toolbox/metrics.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@
1919
from tempfile import TemporaryDirectory
2020
from typing import (
2121
Any,
22-
Dict,
23-
List,
24-
Optional,
25-
Union,
2622
)
2723

2824

exasol/toolbox/nox/_artifacts.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import sys
88
from collections.abc import Iterable
99
from pathlib import Path
10-
from typing import Optional
1110

1211
import nox
1312
from nox import Session

exasol/toolbox/tools/replace_version.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
from dataclasses import dataclass
44
from enum import Enum
55
from pathlib import Path
6-
from typing import (
7-
Optional,
8-
)
96

107
from exasol.toolbox.util.version import Version
118

exasol/toolbox/tools/template.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from pathlib import Path
66
from typing import (
77
Any,
8-
Union,
98
)
109

1110
import importlib_resources as resources

exasol/toolbox/util/dependencies/licenses.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
from dataclasses import dataclass
77
from inspect import cleandoc
88
from json import loads
9-
from typing import Optional
109

1110
from pydantic import field_validator
1211

exasol/toolbox/util/git.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import subprocess # nosec
22
from functools import wraps
33
from pathlib import Path
4-
from typing import Union
54

65

76
def run_command(func):

test/unit/documentation_test.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
import shutil
22
from unittest.mock import (
33
MagicMock,
4-
patch,
54
)
65

76
import pytest
87

9-
import exasol.toolbox.nox._documentation
108
from exasol.toolbox.nox._documentation import (
119
_docs_links_check,
1210
_docs_list_links,
@@ -24,7 +22,7 @@ def file1():
2422
@pytest.fixture()
2523
def index():
2624
return """.. _Test:
27-
25+
2826
Test
2927
____
3028

test/unit/release_test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from subprocess import CalledProcessError
22
from unittest.mock import (
33
MagicMock,
4-
call,
54
patch,
65
)
76

test/unit/report_test.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
from inspect import cleandoc
2-
from typing import (
3-
Dict,
4-
List,
5-
)
62

73
import pytest
84

test/unit/template_test.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
import os
2-
from pathlib import Path
3-
41
import pytest
52

63
from exasol.toolbox.tools import template

0 commit comments

Comments
 (0)