Skip to content

Commit 9d17e6f

Browse files
add import linter
1 parent 6297987 commit 9d17e6f

File tree

2 files changed

+147
-9
lines changed

2 files changed

+147
-9
lines changed

poetry.lock

Lines changed: 138 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ shibuya = ">=2024.5.14"
5656
sphinx-design = ">=0.5.0,<1"
5757

5858

59+
import-linter = "^2.0"
5960
[tool.poetry.group.dev.dependencies]
6061
autoimport = "^1.4.0"
6162

@@ -108,3 +109,11 @@ ignore_errors = true
108109

109110
[tool.poetry.scripts]
110111
tbx = 'exasol.toolbox.tools.tbx:CLI'
112+
113+
[tool.importlinter]
114+
root_package = "exasol.toolbox"
115+
include_external_packages = true
116+
117+
[[tool.importlinter.contracts]]
118+
name = "contract test"
119+
type = "independence"

0 commit comments

Comments
 (0)