You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/developers.rst
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,17 @@ This section contains information for users who want to extend the tox source co
7
7
.. contents::
8
8
:local:
9
9
10
+
PyCharm
11
+
-------
12
+
1. To generate the **project interpreter** you can use ``tox -rvvve dev``.
13
+
2. For tests we use **pytest**, therefore change the `Default test runner <https://www.jetbrains.com/help/pycharm/python-integrated-tools.html>`_ to ``pytest``.
14
+
3. In order to be able to **debug** tests which create
15
+
a virtual environment (the ones in ``test_z_cmdline.py``) one needs to disable the PyCharm feature
16
+
`Attach to subprocess automatically while debugging <https://www.jetbrains.com/help/pycharm/python-debugger.html>`_
17
+
(because virtualenv creation calls via subprocess to the ``pip`` executable, and PyCharm rewrites all calls to
18
+
Python interpreters to attach to its debugger - however, this rewrite for pip makes it to have bad arguments:
19
+
``no such option --port``).
20
+
10
21
Multiple Python versions on Windows
11
22
-----------------------------------
12
23
In order to run the unit tests locally all Python versions enlisted in ``tox.ini`` need to be installed.
0 commit comments