File tree 1 file changed +10
-2
lines changed
1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -59,8 +59,11 @@ new first class kinds of types.
59
59
The plugin system is experimental and prone to change. If you want to write
60
60
a mypy plugin, we recommend you start by contacting the mypy core developers
61
61
on `gitter <https://gitter.im/python/typing >`_. In particular, there are
62
- no guarantees about backwards compatibility. Backwards incompatible changes
63
- may be made without a deprecation period.
62
+ no guarantees about backwards compatibility.
63
+
64
+ Backwards incompatible changes may be made without a deprecation period,
65
+ but we will attempt to announce them in
66
+ `the plugin API changes announcement issue <https://github.com/python/mypy/issues/6617 >`_.
64
67
65
68
Configuring mypy to use plugins
66
69
*******************************
@@ -227,3 +230,8 @@ method resolution order, etc.)
227
230
228
231
**get_customize_class_mro_hook() ** can be used to modify class MRO (for example
229
232
insert some entries there) before the class body is analyzed.
233
+
234
+ **get_additional_deps() ** can be used to add new dependencies for a
235
+ module. It is called before semantic analysis. For example, this can
236
+ be used if a library has dependencies that are dynamically loaded
237
+ based on configuration information.
You can’t perform that action at this time.
0 commit comments