Commit 82ad62c
authored
[docs] Include a real listing of the flags strict enables in the online documentation (#19062)
Fixes #19061
Currently, https://mypy.readthedocs.io/en/stable/command_line.html just
says
> You can see the list of flags enabled by strict mode in the full [mypy
--help](https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-h)
output.
Which makes cross-referencing the documentation difficult. Instead,
there should be the same list there as appears when running `mypy
--help`: eg
> --warn-unused-configs, --disallow-any-generics,
--disallow-subclassing-any, --disallow-untyped-
calls, --disallow-untyped-defs, --disallow-
incomplete-defs, --check-untyped-defs, --disallow-
untyped-decorators, --warn-redundant-casts,
--warn-unused-ignores, --warn-return-any, --no-
implicit-reexport, --strict-equality, --extra-
checks
Ideally this section would be automatically generated from the code.1 parent e8147f2 commit 82ad62c
3 files changed
+67
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
812 | 812 | | |
813 | 813 | | |
814 | 814 | | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
815 | 823 | | |
816 | 824 | | |
817 | 825 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
| 18 | + | |
| 19 | + | |
16 | 20 | | |
17 | 21 | | |
18 | 22 | | |
| 23 | + | |
| 24 | + | |
19 | 25 | | |
20 | 26 | | |
21 | 27 | | |
22 | 28 | | |
23 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
24 | 45 | | |
25 | 46 | | |
26 | 47 | | |
| |||
55 | 76 | | |
56 | 77 | | |
57 | 78 | | |
| 79 | + | |
58 | 80 | | |
59 | 81 | | |
60 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
462 | 462 | | |
463 | 463 | | |
464 | 464 | | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | | - | |
471 | | - | |
| 465 | + | |
472 | 466 | | |
473 | 467 | | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | | - | |
480 | | - | |
481 | | - | |
482 | | - | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
483 | 477 | | |
484 | 478 | | |
485 | 479 | | |
| |||
1342 | 1336 | | |
1343 | 1337 | | |
1344 | 1338 | | |
| 1339 | + | |
| 1340 | + | |
| 1341 | + | |
| 1342 | + | |
| 1343 | + | |
| 1344 | + | |
| 1345 | + | |
| 1346 | + | |
| 1347 | + | |
| 1348 | + | |
| 1349 | + | |
| 1350 | + | |
| 1351 | + | |
| 1352 | + | |
| 1353 | + | |
| 1354 | + | |
| 1355 | + | |
| 1356 | + | |
| 1357 | + | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
| 1364 | + | |
1345 | 1365 | | |
1346 | 1366 | | |
1347 | 1367 | | |
| |||
1526 | 1546 | | |
1527 | 1547 | | |
1528 | 1548 | | |
1529 | | - | |
1530 | 1549 | | |
1531 | 1550 | | |
1532 | 1551 | | |
1533 | | - | |
1534 | 1552 | | |
1535 | 1553 | | |
1536 | 1554 | | |
| |||
1539 | 1557 | | |
1540 | 1558 | | |
1541 | 1559 | | |
1542 | | - | |
| 1560 | + | |
1543 | 1561 | | |
1544 | 1562 | | |
1545 | 1563 | | |
| |||
0 commit comments