summary refs log tree commit diff
path: root/develop/print.html
diff options
context:
space:
mode:
Diffstat (limited to 'develop/print.html')
-rw-r--r--develop/print.html7
1 files changed, 3 insertions, 4 deletions
diff --git a/develop/print.html b/develop/print.html

index 5f1a74165e..8e142df083 100644 --- a/develop/print.html +++ b/develop/print.html
@@ -13465,7 +13465,7 @@ as an opinionated code formatter, ensuring all comitted code is properly formatted.</p> <p>Have <code>black</code> auto-format your code (it shouldn't change any functionality) with:</p> -<pre><code class="language-sh">black . --exclude=&quot;\.tox|build|env&quot; +<pre><code class="language-sh">black . </code></pre> </li> <li> @@ -13473,7 +13473,7 @@ functionality) with:</p> <p><code>flake8</code> is a code checking tool. We require code to pass <code>flake8</code> before being merged into the codebase.</p> <p>Check all application and test code with:</p> -<pre><code class="language-sh">flake8 synapse tests +<pre><code class="language-sh">flake8 . </code></pre> </li> <li> @@ -13481,9 +13481,8 @@ before being merged into the codebase.</p> <p><code>isort</code> ensures imports are nicely formatted, and can suggest and auto-fix issues such as double-importing.</p> <p>Auto-fix imports with:</p> -<pre><code class="language-sh">isort -rc synapse tests +<pre><code class="language-sh">isort . </code></pre> -<p><code>-rc</code> means to recursively search the given directories.</p> </li> </ul> <p>It's worth noting that modern IDEs and text editors can run these tools