File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -64,3 +64,17 @@ Mypy plugin checks TaskOnKart generic types.
64
64
str_task = StrTask(), # mypy ok
65
65
int_task = StrTask(), # mypy error: Argument "int_task" to "StrTask" has incompatible type "StrTask"; expected "TaskOnKart[int]
66
66
)
67
+
68
+ Configurations (only pyproject.toml)
69
+ -----------------------------------
70
+
71
+ You can configure the Mypy plugin using the ``pyproject.toml `` file.
72
+ The following options are available:
73
+
74
+ ``[tool.gokart-mypy] ``
75
+ Configuration section for gokart-mypy type checking settings.
76
+
77
+ ``disallow_missing_parameters = true ``
78
+ If true, Mypy will raise an error if a task is missing required parameters.
79
+ This configuration causes an error when the parameters set by `luigi.Config() `
80
+ Default: ``false ``
You can’t perform that action at this time.
0 commit comments