Skip to content

Commit 8b8c91d

Browse files
authored
Remove stale incremental-mode caveat from warn_unused_configs docs (#21899)
Since commit d3de4a4 (#20801), `warn_unused_configs` works in incremental mode, so the docs no longer need to say that `--no-incremental` / `incremental = False` is required.
1 parent 44c0d9f commit 8b8c91d

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

docs/source/command_line.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ Config file
127127

128128
This flag makes mypy warn about unused ``[mypy-<pattern>]`` config
129129
file sections.
130-
(This requires turning off incremental mode using :option:`--no-incremental`.)
131130

132131

133132
.. _import-discovery:

docs/source/config_file.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1211,7 +1211,6 @@ These options may only be set in the global section (``[mypy]``).
12111211

12121212
Warns about per-module sections in the config file that do not
12131213
match any files processed when invoking mypy.
1214-
(This requires turning off incremental mode using :confval:`incremental = False <incremental>`.)
12151214

12161215
.. confval:: verbosity
12171216

0 commit comments

Comments
 (0)