Skip to content

Commit 1b8c269

Browse files
authored
Merge branch 'main' into fix-extras-normalization
2 parents 7aad1e0 + 0d3f901 commit 1b8c269

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

docs/changelog/3728.bugfix.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Fix type checker CI failure by adding ``completion`` extras to ``type`` and ``type-min`` environments so ``ty`` can
2+
resolve the ``argcomplete`` import - by :user:`gaborbernat`.

tox.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,14 @@ commands = [ [ "pre-commit", "run", "--all-files", "--show-diff-on-failure", { r
6565
[env.type]
6666
base_python = ["3.14"]
6767
description = "run type check on code base"
68+
extras = [ "completion" ]
6869
dependency_groups = [ "type" ]
6970
commands = [ [ "ty", "check", "--python-platform", "all", "--output-format", "concise", "--error-on-warning", "." ] ]
7071

7172
[env.type-min]
7273
base_python = ["3.10"]
7374
description = "run type check on code base for the minimum supported Python"
75+
extras = [ "completion" ]
7476
dependency_groups = [ "type-min" ]
7577
commands = [ [ "ty", "check", "--python-version", "3.10", "--python-platform", "all", "--output-format", "concise", "--error-on-warning", "src", "tests" ] ]
7678

0 commit comments

Comments
 (0)