-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow packages/modules as args with files in cfg (#9834)
Currently only files can be specified on the command line if files are specified in mypy.ini. This looks a great deal like a bug, especially since packages and modules cannot be specified in the configuration file. This commit changes the logic to only use the files from the ini file if none of (modules/packages/files) are specified on the command line and adds tests to verify the new behavior.
- Loading branch information
Showing
2 changed files
with
37 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters