@@ -372,7 +372,7 @@ definitions or calls.
372372
373373.. option :: --untyped-calls-exclude 
374374
375-     This flag allows to selectively disable :option: `--disallow-untyped-calls `
375+     This flag allows one  to selectively disable :option: `--disallow-untyped-calls `
376376    for functions and methods defined in specific packages, modules, or classes.
377377    Note that each exclude entry acts as a prefix. For example (assuming there
378378    are no type annotations for ``third_party_lib `` available):
@@ -562,7 +562,7 @@ potentially problematic or redundant in some way.
562562
563563.. option :: --deprecated-calls-exclude 
564564
565-     This flag allows to selectively disable :ref: `deprecated<code-deprecated> ` warnings
565+     This flag allows one  to selectively disable :ref: `deprecated<code-deprecated> ` warnings
566566    for functions and methods defined in specific packages, modules, or classes.
567567    Note that each exclude entry acts as a prefix. For example (assuming ``foo.A.func `` is deprecated):
568568
@@ -728,9 +728,22 @@ of the above sections.
728728       if  text !=  b ' other bytes' #  Error: non-overlapping equality check! 
729729           ...  
730730
731-        assert  text is  not  None   #  OK, check against None is allowed as a special case.  
731+        assert  text is  not  None   #  OK, check against None is allowed 
732732
733733
734+ option :: --strict-equality-for-none 
735+ 
736+     This flag extends :option: `--strict-equality <mypy --strict-equality> ` for checks
737+     against ``None ``:
738+ 
739+     .. code-block :: python 
740+ 
741+        text: str  
742+        assert  text is  not  None   #  Error: non-overlapping identity check! 
743+ 
744+ :option: `--strict-equality-for-none <mypy --strict-equality-for-none> `
745+     only works in combination with :option: `--strict-equality <mypy --strict-equality> `.
746+ 
734747.. option :: --strict-bytes 
735748
736749    By default, mypy treats ``bytearray `` and ``memoryview `` as subtypes of ``bytes `` which
@@ -812,6 +825,14 @@ of the above sections.
812825    Note: the exact list of flags enabled by running :option: `--strict ` may change
813826    over time.
814827
828+     .. include :: strict_list.rst 
829+     ..  
830+         The above file is autogenerated and included during html generation. 
831+         (That's an include directive, and this is a comment.) 
832+         It would be fine to generate it at some other time instead, 
833+         theoretically, but we already had a convenient hook during html gen. 
834+ 
835+ 
815836.. option :: --disable-error-code 
816837
817838    This flag allows disabling one or multiple error codes globally.
@@ -1234,12 +1255,18 @@ Miscellaneous
12341255   stub packages were found, they are installed and then another run
12351256   is performed.
12361257
1237- .. option :: --junit-xml  JUNIT_XML 
1258+ .. option :: --junit-xml  JUNIT_XML_OUTPUT_FILE 
12381259
12391260    Causes mypy to generate a JUnit XML test result document with
12401261    type checking results. This can make it easier to integrate mypy
12411262    with continuous integration (CI) tools.
12421263
1264+ .. option :: --junit-format  {global ,per_file} 
1265+ 
1266+     If --junit-xml is set, specifies format.
1267+     global (default): single test with all errors;
1268+     per_file: one test entry per file with failures.
1269+ 
12431270.. option :: --find-occurrences  CLASS.MEMBER 
12441271
12451272    This flag will make mypy print out all usages of a class member
0 commit comments