Fix mis-synced version check in black.vim (#4567)

The message has been updated to indicate Python 3.9+, but the check
still compares to 3.8
This commit is contained in:
Michał Górny 2025-01-29 21:25:00 +01:00 committed by GitHub
parent edaf085a18
commit c02ca47daa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@
### Packaging ### Packaging
<!-- Changes to how Black is packaged, such as dependency requirements --> - Fix the version check in the vim file to reject Python 3.8 (#4567)
### Parser ### Parser

View File

@ -75,7 +75,7 @@ def _initialize_black_env(upgrade=False):
return True return True
pyver = sys.version_info[:3] pyver = sys.version_info[:3]
if pyver < (3, 8): if pyver < (3, 9):
print("Sorry, Black requires Python 3.9+ to run.") print("Sorry, Black requires Python 3.9+ to run.")
return False return False