Skip to content

Commit 78526e4

Browse files
committed
Add new isort rule
1 parent 4a06c4d commit 78526e4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ ignore = [
3131
"docs/**/*.*" = ["A001"]
3232

3333
[tool.ruff.lint.isort]
34+
required-imports = ["from __future__ import annotations"]
3435
detect-same-package = false # to not consider instrumentation packages as first-party
3536
known-first-party = ["opentelemetry"]
3637
known-third-party = [

0 commit comments

Comments
 (0)