You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given the example, Requirement('enlighten >= 1.10.2')
The string output of this is 'enlighten>=1.10.2' rather than 'enlighten >= 1.10.2'
I believe the lack of spaces between the specifier operators and versions as well as the requirement components reduces readability.
While the lack of spaces could be considered a stylistic choice, there's no option to modify it without additional code and it's inconsistent with the examples in PEP 440 and PEP 508. And while this isn't Python code, it's not consistent with the recommendation in PEP 8 that binary operators are surrounded by single spaces.
The text was updated successfully, but these errors were encountered:
Given the example,
Requirement('enlighten >= 1.10.2')
The string output of this is
'enlighten>=1.10.2'
rather than'enlighten >= 1.10.2'
I believe the lack of spaces between the specifier operators and versions as well as the requirement components reduces readability.
While the lack of spaces could be considered a stylistic choice, there's no option to modify it without additional code and it's inconsistent with the examples in PEP 440 and PEP 508. And while this isn't Python code, it's not consistent with the recommendation in PEP 8 that binary operators are surrounded by single spaces.
The text was updated successfully, but these errors were encountered: