I'm using pylint command in my dir I have .py ,.pyw file but whenever I run , pylint ignore .pyw file ,what should I do? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I'm using pylint command in my dir I have .py ,.pyw file but whenever I run , pylint ignore .pyw file ,what should I do?

Pylint command : pylint -rn \ --fail-under=8.0 \ --rcfile=.pylintrc \ --output=report.txt \ --msg-template='{path}:{line}: [{msg_id} ({symbol}), {obj}] {msg}' \ ./my-dir/ \ Any option so that pylint also check .pyw file, thanks

29th Dec 2022, 5:39 AM
AARTI SHELAR
AARTI SHELAR - avatar
2 Answers
+ 4
I checked in pylint documentation https://pylint.pycqa.org/en/latest/user_guide/usage/run.html They mention the tool discovers "files ending with .py extension" And I found no particular option to include also .pyw
29th Dec 2022, 7:02 AM
Tibor Santa
Tibor Santa - avatar
+ 1
thanks for reply
29th Dec 2022, 7:13 AM
AARTI SHELAR
AARTI SHELAR - avatar