File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 2828BASE_URL = os .environ .get ('LTP_DOWNLOAD_HOST' , 'https://www.languagetool.org/download/' )
2929FILENAME = 'LanguageTool-{version}.zip'
3030
31- LATEST_VERSION = '5.6 '
31+ LATEST_VERSION = '5.7 '
3232
3333JAVA_VERSION_REGEX = re .compile (
3434 r'^(?:java|openjdk) version "(?P<major1>\d+)(|\.(?P<major2>\d+)\.[^"]+)"' ,
@@ -132,7 +132,7 @@ def download_zip(url, directory):
132132 # Tell the user the download path.
133133 logger .info ('Downloaded {} to {}.' .format (url , directory ))
134134
135- def download_lt (update = True ):
135+ def download_lt ():
136136 download_folder = get_language_tool_download_path ()
137137 assert os .path .isdir (download_folder )
138138 old_path_list = [
@@ -154,4 +154,4 @@ def download_lt(update=True):
154154 download_zip (language_tool_download_url , download_folder )
155155
156156if __name__ == '__main__' :
157- sys .exit (download_lt (update = True ))
157+ sys .exit (download_lt ())
Original file line number Diff line number Diff line change 77
88setup (
99 name = 'language_tool_python' ,
10- version = '2.7.0 ' ,
10+ version = '2.7.1 ' ,
1111 description = 'Checks grammar using LanguageTool.' ,
1212 long_description_content_type = 'text/markdown' ,
1313 long_description = long_description ,
You can’t perform that action at this time.
0 commit comments