Skip to content

Commit c02ca47

Browse files
authored
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
1 parent edaf085 commit c02ca47

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGES.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
### Packaging
2222

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

2525
### Parser
2626

autoload/black.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def _initialize_black_env(upgrade=False):
7575
return True
7676

7777
pyver = sys.version_info[:3]
78-
if pyver < (3, 8):
78+
if pyver < (3, 9):
7979
print("Sorry, Black requires Python 3.9+ to run.")
8080
return False
8181

0 commit comments

Comments
 (0)