-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
Warn if manifest has lines that don't do anything #33
Comments
I'd accept such a pull request. I'm unlikely to find time to work on this myself. |
It looks like one prerequisite to doing this is enhancing The suggestions in this feature request can note not just unneeded includes but also unneeded excludes. |
Unneeded excludes tend to produce warnings during pip install time, so warning about them seems like a good idea. I'm waiting for the pull request :) |
I started working on it to see how much time it would take. :) I will see if I have some time later this week, but not today. |
This is complicated by the fact that a line like |
That seems acceptable to me given that the proposal is for a warning rather than an error. For example, if there is a warning that |
BTW I would be very interested in seeing concrete examples of situations where you missed such warnings! |
I'll let you know if I encounter any in the future. It's been a while since I filed this, so I can't remember the particular files unfortunately. |
I have a concrete example. Upon refactoring linters' configuration for the Resolwe project, the As mentioned in this issue report, this remained uncaught by the |
Thank you, that is a useful example. |
It would be nice if check-manifest also warned you if MANIFEST.in has lines that "don't do anything" (i.e. lines that match no files being included). The presence of such lines means that MANIFEST.in can be simplified, or perhaps that files are missing from source control that should be there.
The text was updated successfully, but these errors were encountered: