File tree 2 files changed +12
-0
lines changed 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -453,6 +453,8 @@ potentially problematic or redundant in some way.
453
453
This limitation will be removed in future releases of mypy.
454
454
455
455
456
+ .. _miscellaneous-strictness-flags :
457
+
456
458
Miscellaneous strictness flags
457
459
******************************
458
460
Original file line number Diff line number Diff line change @@ -513,6 +513,9 @@ no analog available via the command line options.
513
513
Miscellaneous strictness flags
514
514
******************************
515
515
516
+ For more information, see the :ref: `Miscellaneous strictness flags <miscellaneous-strictness-flags >`
517
+ section of the command line docs.
518
+
516
519
.. confval :: allow_untyped_globals
517
520
518
521
:type: boolean
@@ -529,6 +532,13 @@ Miscellaneous strictness flags
529
532
Allows variables to be redefined with an arbitrary type, as long as the redefinition
530
533
is in the same block and nesting level as the original definition.
531
534
535
+ .. confval :: local_partial_types
536
+
537
+ :type: boolean
538
+ :default: False
539
+
540
+ Disallows inferring variable type for ``None `` from two assignments in different scopes.
541
+
532
542
.. confval :: disable_error_code
533
543
534
544
:type: comma-separated list of strings
You can’t perform that action at this time.
0 commit comments