Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it possible to use modules or packages configurations with files #14829

Open
alxroyer opened this issue Mar 3, 2023 · 0 comments
Open
Labels

Comments

@alxroyer
Copy link

alxroyer commented Mar 3, 2023

Feature

Make it possible to use modules or packages configurations with files.

Pitch

Currently, when using modules or packages configurations with files, we get the following error:

usage: mypy [-h] [-v] [-V] [more options; see below]
            [-m MODULE] [-p PACKAGE] [-c PROGRAM_TEXT] [files ...]
mypy: error: May only specify one of: module/package, files, or command.

I did not see any mention of such restriction in the documentation.

Nevertheless, it could be useful to check in a single mypy execution:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant