We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e26daf commit 491c63bCopy full SHA for 491c63b
python-ty/adder.py
@@ -1,3 +1,5 @@
1
+# fmt:off
2
+
3
import warnings
4
5
type Number = int | float
@@ -13,8 +15,14 @@ def legacy_adder(x, y):
13
15
14
16
17
if __name__ == "__main__":
- legacy_adder(42, 555) # ty: ignore
-
18
+ legacy_adder( # ty: ignore
19
+ 42,
20
+ 555
21
+ )
22
23
+ legacy_adder(
24
25
26
+ ) # ty: ignore
27
28
new_adder(a=42, b=555) # ty: ignore[unknown-argument, missing-argument]
0 commit comments