Skip to content

Commit 26b0234

Browse files
committed
Fix a test
1 parent d4deb7e commit 26b0234

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

crates/zuban_python/tests/mypylike/tests/config.test

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,21 @@ def f():
148148
[file pyproject.toml]
149149
[tool.mypy]
150150

151-
[case auto_mode_should_use_mypy_in_case_of_mypy_config]
151+
[case auto_mode_should_use_mypy_in_case_of_zuban_config]
152152
# flags: --mode auto
153153

154154
def f():
155155
x: int = "" # E: Incompatible types in assignment (expression has type "str", variable has type "int")
156156

157+
[file pyproject.toml]
158+
[tool.zuban]
159+
160+
[case auto_mode_should_use_mypy_in_case_of_mypy_config]
161+
# flags: --mode auto
162+
163+
def f():
164+
x: int = "" # N: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs
165+
157166
[file pyproject.toml]
158167
[tool.mypy]
159168

0 commit comments

Comments
 (0)