Skip to content

Commit 8b4beac

Browse files
committed
Fix PEP8
1 parent baba302 commit 8b4beac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pythainlp/corpus/core.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ def get_corpus(filename: str, as_is: bool = False) -> Union[frozenset, list]:
5757
5858
Each line in the file will be a member of the set or the list.
5959
60-
By default, a frozenset will be return, with whitespaces stripped, and
61-
empty values and duplicates removed.
60+
By default, a frozenset will be return, with whitespaces stripped, and
61+
empty values and duplicates removed.
6262
6363
If as_is is True, a list will be return, with no modifications
6464
in member values and their orders.
@@ -299,7 +299,7 @@ def download(
299299
local_db.update({"version": version}, query.name == name)
300300
else:
301301
local_db.insert(
302-
{"name": name, "version": version, "filename": file_name,}
302+
{"name": name, "version": version, "filename": file_name}
303303
)
304304
else:
305305
if local_db.search(

0 commit comments

Comments
 (0)