mirror of
https://github.com/element-hq/synapse
synced 2024-08-20 00:20:25 +00:00
deploy: 4210143f53
This commit is contained in:
parent
5a73e02bd9
commit
c2b6193121
4 changed files with 6 additions and 4 deletions
|
@ -218,6 +218,7 @@ setup a <em>virtualenv</em>, as follows:</p>
|
|||
<pre><code class="language-sh">cd path/where/you/have/cloned/the/repository
|
||||
python3 -m venv ./env
|
||||
source ./env/bin/activate
|
||||
pip install wheel
|
||||
pip install -e ".[all,dev]"
|
||||
pip install tox
|
||||
</code></pre>
|
||||
|
@ -261,7 +262,7 @@ want to test your code.</p>
|
|||
<li>ensure that your code follows the coding style adopted by the project;</li>
|
||||
<li>catch a number of errors in your code.</li>
|
||||
</ul>
|
||||
<p>They're pretty fast, don't hesitate!</p>
|
||||
<p>The linter takes no time at all to run as soon as you've <a href="#4-install-the-dependencies">downloaded the dependencies into your python virtual environment</a>.</p>
|
||||
<pre><code class="language-sh">source ./env/bin/activate
|
||||
./scripts-dev/lint.sh
|
||||
</code></pre>
|
||||
|
|
|
@ -12983,6 +12983,7 @@ setup a <em>virtualenv</em>, as follows:</p>
|
|||
<pre><code class="language-sh">cd path/where/you/have/cloned/the/repository
|
||||
python3 -m venv ./env
|
||||
source ./env/bin/activate
|
||||
pip install wheel
|
||||
pip install -e ".[all,dev]"
|
||||
pip install tox
|
||||
</code></pre>
|
||||
|
@ -13026,7 +13027,7 @@ want to test your code.</p>
|
|||
<li>ensure that your code follows the coding style adopted by the project;</li>
|
||||
<li>catch a number of errors in your code.</li>
|
||||
</ul>
|
||||
<p>They're pretty fast, don't hesitate!</p>
|
||||
<p>The linter takes no time at all to run as soon as you've <a href="development/contributing_guide.html#4-install-the-dependencies">downloaded the dependencies into your python virtual environment</a>.</p>
|
||||
<pre><code class="language-sh">source ./env/bin/activate
|
||||
./scripts-dev/lint.sh
|
||||
</code></pre>
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue