Doing a soft comparison with --required-version instead of a hard one. #2831
Labels
C: configuration
CLI and configuration
S: accepted
The changes in this design / enhancement issue have been accepted and can be implemented
T: enhancement
New feature or request
Is your feature request related to a problem? Please describe.
Since Black just made it as stable, it would be nice to be able to set the
--required-version
argument to something else other than a strict equality. For instance, something like 22 would encompass 22.1.0, 22.1.1, 22.2.0, etc.Describe the solution you'd like
The solution would essentially be to modify this line to a more soft comparison:
black/src/black/__init__.py
Line 477 in d038a24
The text was updated successfully, but these errors were encountered: