We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51c2d18 commit ddbe761Copy full SHA for ddbe761
docs/source/config_file.rst
@@ -437,6 +437,16 @@ Platform configuration
437
438
This option may only be set in the global section (``[mypy]``).
439
440
+ .. note::
441
+
442
+ **Using multiple Python versions in a monorepo**
443
444
+ Mypy currently supports only **one global target Python version** per run.
445
+ The configuration option :confval:`python_version` can be set **only in the
446
+ global section** of the configuration file. This means that a single
447
+ invocation of mypy cannot type-check different parts of a monorepo using
448
+ different Python versions.
449
450
.. confval:: platform
451
452
:type: string
0 commit comments