From e40d214106d4d8c7c943546a686fd5d11da3aff4 Mon Sep 17 00:00:00 2001 From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Date: Tue, 20 Sep 2022 10:33:54 -0700 Subject: [PATCH] Mention files confval in "specifying code to check" (#13682) See #13681 --- docs/source/running_mypy.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/source/running_mypy.rst b/docs/source/running_mypy.rst index 4173560b898b..1a14412e4a57 100644 --- a/docs/source/running_mypy.rst +++ b/docs/source/running_mypy.rst @@ -83,6 +83,9 @@ Note that if you use namespace packages (in particular, packages without ...will type check the above string as a mini-program (and in this case, will report that ``list[int]`` is not callable). +You can also use the :confval:`files` option in your :file:`mypy.ini` file to specify which +files to check, in which case you can simply run ``mypy`` with no arguments. + Reading a list of files from a file ***********************************