Show More
@@ -1113,13 +1113,13 b' def has_emacs():' | |||
|
1113 | 1113 | return matchoutput('emacs --version', b'GNU Emacs 2(4.4|4.5|5|6|7|8|9)') |
|
1114 | 1114 | |
|
1115 | 1115 | |
|
1116 |
@check('black', 'the black formatter for python |
|
|
1116 | @check('black', 'the black formatter for python >=23.3.0') | |
|
1117 | 1117 | def has_black(): |
|
1118 | 1118 | blackcmd = 'black --version' |
|
1119 | 1119 | version_regex = b'black, (?:version )?([0-9a-b.]+)' |
|
1120 | 1120 | version = matchoutput(blackcmd, version_regex) |
|
1121 | 1121 | sv = distutils.version.StrictVersion |
|
1122 |
return version and sv(_bytes2sys(version.group(1))) >= sv('2 |
|
|
1122 | return version and sv(_bytes2sys(version.group(1))) >= sv('23.3.0') | |
|
1123 | 1123 | |
|
1124 | 1124 | |
|
1125 | 1125 | @check('pytype', 'the pytype type checker') |
General Comments 0
You need to be logged in to leave comments.
Login now