Skip to content

Commit 9ddaf93

Browse files
authored
Updated precedence line
1 parent f6aa39d commit 9ddaf93

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/source/command_line.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -757,9 +757,11 @@ of the above sections.
757757
Note: the :option:`--warn-unreachable` flag
758758
is not automatically enabled by the strict flag.
759759

760-
If both strict and strict-included flags are set, strict does not take precedence
761-
nor override corresponding flags. You can see the list of flags enabled by strict
762-
mode in the full :option:`mypy --help` output.
760+
The strict flag does not take precedence over other strict-related flags.
761+
Directly specifying a flag of alternate behavior will override the
762+
behavior of strict, regardless of the order in which they are passed.
763+
You can see the list of flags enabled by strict mode in the full
764+
:option:`mypy --help` output.
763765

764766
Note: the exact list of flags enabled by running :option:`--strict` may change
765767
over time.

0 commit comments

Comments
 (0)