We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85690ca commit d89dcb3Copy full SHA for d89dcb3
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
+.. code:: toml
75
76
+ [tool.gokart-mypy]
77
+ # If true, Mypy will raise an error if a task is missing required parameters.
78
+ # This configuration causes an error when the parameters set by `luigi.Config()`
79
+ # Default: false
80
+ disallow_missing_parameters = true
0 commit comments