Closed ctrngk closed 6 years ago
The above bash command still print unnecessary lines /site-packages/scrapy/cmdline.py: ...
I am an idiot.
PYTHONHUNTER='~Q(module="scrapy.cmdline"), Q(module_startswith=["scrapy"])' scrapy list
Problem solved.
You could also do this to find the right expression, without having to trace stuff:
>>> Q(module_has='qwe')({'module': 'asdf.qwe'})
True
Anyway, feel free to make documentation improvements requests (or even PR) - I am pretty much clueless as to what new users need, having everything in my head already ...
for example, I want to include scrapy framework, which works very well, but not able to exclude scrapy/cmdline.py at the same time.