We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8432e7 commit 9af5f47Copy full SHA for 9af5f47
docs/mypy_plugin.rst
@@ -64,3 +64,17 @@ Mypy plugin checks TaskOnKart generic types.
64
str_task=StrTask(), # mypy ok
65
int_task=StrTask(), # mypy error: Argument "int_task" to "StrTask" has incompatible type "StrTask"; expected "TaskOnKart[int]
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``
0 commit comments