-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
Enforce single line description
#183
Comments
I would be okay to accept a pull request in this direction. |
Would it make sense to turn this: description = """A Machine learning library that models and predicts learner engagement
with educational resources.""" Into this: description = "A Machine learning library that models and predicts learner engagement with educational resources." Or this: description = """A Machine learning library that models and predicts learner engagement\
with educational resources.""" ? Both are fine IMO, though I prefer the first, as this isn't supposed to be a really long line (it's displayed on PyPI, etc). More fun ones are ones like https://github.com/Abdel-RahmanSaied/mediaSecure/blob/caabcf86622a519a55a99f604d8dad60a27f94bc/pyproject.toml#L11-L47 :) |
I've started #184 with the first option above as the goal. |
And maybe make it opt-in. This tool already strips whitespace from the field:
pyproject-fmt/src/pyproject_fmt/formatter/project.py
Lines 41 to 42 in bb60057
Related:
description
is single line pypa/pyproject-metadata#30The text was updated successfully, but these errors were encountered: