Hi folks, I've used PyCharm for ages and it's awesome! I've started a new job and they use tox a bunch, and I'm finding some quirks with the tox support in PyCharm that I'm wondering whether they're me, or PyCharm, and what I need to do to address them:
- PyCharm inspection marks most of the code invalid because it can't find modules ("no module named requests", for example). I have configured the Project Interpreter to be the python inside the .tox venv (it detects that as a virtualenv) and restarted PyCharm, but it still doesn't recognise the "requests" module (or many others) installed in that venv.
- PyCharm seems to think my tox test suite doesn't have any tests. At the end of a test run (using the built-in Tox configuration) it says "Empty test suite." And unlike tests run in other ways, the list of tests in the Test Results display is empty.
Additionally, it would be super cool if PyCharm could work with pytest-cov coverage runs in some way.