Skip to content

Commit 0d0f193

Browse files
committed
Ignore 'unused' imports in nox/tasks.py and remove unused imports in others
1 parent a109084 commit 0d0f193

File tree

5 files changed

+2
-12
lines changed

5 files changed

+2
-12
lines changed

exasol/toolbox/metrics.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
from typing import (
2020
Any,
2121
Callable,
22-
Dict,
23-
List,
2422
Optional,
2523
Union,
2624
)

exasol/toolbox/nox/tasks.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ruff: noqa F401
12
from __future__ import annotations
23

34
__all__ = [

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/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)