@@ -16,7 +16,6 @@ def test_plugin_no_issue(self):
1616
1717
1818class MyTask(gokart.TaskOnKart):
19- # NOTE: mypy shows attr-defined error for the following lines, so we need to ignore it.
2019 foo: int = luigi.IntParameter() # type: ignore
2120 bar: str = luigi.Parameter() # type: ignore
2221 baz: bool = gokart.ExplicitBoolParameter()
@@ -44,7 +43,6 @@ def test_plugin_invalid_arg(self):
4443
4544
4645class MyTask(gokart.TaskOnKart):
47- # NOTE: mypy shows attr-defined error for the following lines, so we need to ignore it.
4846 foo: int = luigi.IntParameter() # type: ignore
4947 bar: str = luigi.Parameter() # type: ignore
5048 baz: bool = gokart.ExplicitBoolParameter()
@@ -79,7 +77,6 @@ class MyEnum(enum.Enum):
7977 FOO = enum.auto()
8078
8179class MyTask(gokart.TaskOnKart):
82- # NOTE: mypy shows attr-defined error for the following lines, so we need to ignore it.
8380 foo = luigi.IntParameter()
8481 bar = luigi.DateParameter()
8582 baz = gokart.TaskInstanceParameter()
@@ -110,7 +107,6 @@ def test_parameter_has_default_type_no_issue_pattern(self):
110107import gokart
111108
112109class MyTask(gokart.TaskOnKart):
113- # NOTE: mypy shows attr-defined error for the following lines, so we need to ignore it.
114110 foo = luigi.IntParameter()
115111 bar = luigi.DateParameter()
116112 baz = gokart.TaskInstanceParameter()
0 commit comments