lazynlp icon indicating copy to clipboard operation
lazynlp copied to clipboard

Bugs and Errors Format issue

Open mallick-rebal opened this issue 2 months ago • 0 comments

Hello,

I am reaching out regarding your source code files for your Python codes. After running tests using Pyflakes and Pylint, there were a few errors present in the source codes and I felt that it could be something you could fix or look into.

lazynlp/analytics.py:200:10: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) lazynlp/analytics.py:231:21: W0613: Unused argument 'file' (unused-argument) lazynlp/analytics.py:231:27: W0613: Unused argument 'gran' (unused-argument) lazynlp/analytics.py:231:40: W0613: Unused argument 'max_n' (unused-argument)

lazynlp/cleaner.py:74:8: R1724: Unnecessary "else" after "continue", remove the "else" and de-indent the code inside it (no-else-continue) lazynlp/crawl.py:96:4: E0633: Attempting to unpack a non-sequence defined at line 65 of tldextract.tldextract (unpacking-non-sequence) lazynlp/crawl.py:106:0: R0911: Too many return statements (11/6) (too-many-return-statements)

outputLint.txt

These issues cause unnecessary memory use and can be better formatted. I have shown a few errors that I found using Pylint. I also added a link to a text file in which the errors/bugs that were present in all source files were reported using Pylint. Hope this helps.

Regards, Rebal

mallick-rebal avatar Apr 08 '24 07:04 mallick-rebal