use typesafe NamedTuple

This commit is contained in:
Anthony Sottile 2022-01-05 13:02:38 -05:00
parent f0fb786883
commit 3c885219b5
4 changed files with 23 additions and 22 deletions

View file

@ -34,7 +34,7 @@ def test_handle_error_does_not_raise_type_errors():
)
assert 1 == guide.handle_error(
"T111", "file.py", 1, None, "error found", "a = 1"
"T111", "file.py", 1, 1, "error found", "a = 1"
)