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: CONTRIBUTING.rst
+27-4Lines changed: 27 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,31 @@
1
1
..
2
2
3
3
4
+
Git commit messages
5
+
===================
6
+
7
+
As this project is hosted on multiple platforms (GitHub and GitLab currently), every line of the git commit messages mentioning a magic number (such as issue or pull request number for example) should be prefixed with the name of the platform. For example a line in a commit message of the form:
8
+
9
+
.. code::
10
+
11
+
Closes #XX
12
+
13
+
14
+
should be instead written as:
15
+
16
+
.. code::
17
+
18
+
GitHub: closes #XX
19
+
GitLab: refs #ZZ
20
+
GitLab: refs #YY
21
+
SomeThing: whatever #XX
22
+
23
+
24
+
Some tools (Gerrit for example) can be configured (with regexes for example) to correctly link to the items on the right platform.
Copy file name to clipboardExpand all lines: README.rst
+37Lines changed: 37 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,24 @@ Source code:
24
24
Usage
25
25
=====
26
26
27
+
Installation
28
+
------------
29
+
30
+
It is a plugin for Tox and it is available on PyPI, install it however best fits the workflow. A useful thing to know though, is that starting with Tox version *3.8* it is possible to enforce the installation (in an isolated environment) of the plugin directly from within the ``tox.ini`` file, thanks to the ``requires`` setting (Tox *3.2*) and the *auto-provisioning* feature (Tox *3.8*):
By default the plugin does not do anything. Use one of the following settings to activate the corresponding features.
43
+
44
+
27
45
``add_poetry_dev_dependencies``
28
46
-------------------------------
29
47
@@ -85,4 +103,23 @@ If pip's environment variables are already defined then they are not overwritten
85
103
PIP_INDEX_URL=https://delta.example/simple tox
86
104
87
105
106
+
``poetry_experimental_no_virtual_env``
107
+
--------------------------------------
108
+
109
+
*Experimental feature*
110
+
111
+
Set the ``testenv`` setting ``poetry_experimental_no_virtual_env`` to ``True`` to skip the creation of a virtual environment for this test environment.
112
+
113
+
.. code::
114
+
115
+
[testenv:real]
116
+
deps =
117
+
poetry_experimental_no_virtual_env = True
118
+
skip_install = True
119
+
120
+
121
+
This might be useful in cases where all the required dependencies and tools are already available, i.e. they are already installed in global or user *site packages* directory, or maybe they are already installed directly in the system (via ``apt``, ``yum``, ``pacman``, etc.).
122
+
123
+
For such environments it might be best to skip the installation of the project (``skip_install``) as well as keeping the list of dependencies empty (``deps``).
0 commit comments