Hi,
Is it possible to append comment in requirements.txt file ?
Example :
Pillow # replace PIL
If comment feature is not available, what do you think about this comment syntax ? "#" is a good character ?
Can I implement this feature ? Is it a good idea ?
Regards,
Stephane
A line beginning with #
is treated as a comment and ignored, so you can just place your comment on the line above instead of on the same line.
One issue with allowing comments on the same line is that it's common to use url fragments (#egg=...
) with editable requirements, and I think that could easily get visually confusing. I'm not sure it's worth it.
Most helpful comment
A line beginning with
#
is treated as a comment and ignored, so you can just place your comment on the line above instead of on the same line.One issue with allowing comments on the same line is that it's common to use url fragments (
#egg=...
) with editable requirements, and I think that could easily get visually confusing. I'm not sure it's worth it.