@@ -16,7 +16,6 @@ def test_plugin_no_issue(self):
16
16
17
17
18
18
class MyTask(gokart.TaskOnKart):
19
- # NOTE: mypy shows attr-defined error for the following lines, so we need to ignore it.
20
19
foo: int = luigi.IntParameter() # type: ignore
21
20
bar: str = luigi.Parameter() # type: ignore
22
21
baz: bool = gokart.ExplicitBoolParameter()
@@ -44,7 +43,6 @@ def test_plugin_invalid_arg(self):
44
43
45
44
46
45
class MyTask(gokart.TaskOnKart):
47
- # NOTE: mypy shows attr-defined error for the following lines, so we need to ignore it.
48
46
foo: int = luigi.IntParameter() # type: ignore
49
47
bar: str = luigi.Parameter() # type: ignore
50
48
baz: bool = gokart.ExplicitBoolParameter()
@@ -79,7 +77,6 @@ class MyEnum(enum.Enum):
79
77
FOO = enum.auto()
80
78
81
79
class MyTask(gokart.TaskOnKart):
82
- # NOTE: mypy shows attr-defined error for the following lines, so we need to ignore it.
83
80
foo = luigi.IntParameter()
84
81
bar = luigi.DateParameter()
85
82
baz = gokart.TaskInstanceParameter()
@@ -110,7 +107,6 @@ def test_parameter_has_default_type_no_issue_pattern(self):
110
107
import gokart
111
108
112
109
class MyTask(gokart.TaskOnKart):
113
- # NOTE: mypy shows attr-defined error for the following lines, so we need to ignore it.
114
110
foo = luigi.IntParameter()
115
111
bar = luigi.DateParameter()
116
112
baz = gokart.TaskInstanceParameter()
0 commit comments