diff options
author | DMRobertson <DMRobertson@users.noreply.github.com> | 2023-01-17 12:46:31 +0000 |
---|---|---|
committer | DMRobertson <DMRobertson@users.noreply.github.com> | 2023-01-17 12:46:31 +0000 |
commit | 37b0c8b51348d6908a8a2e9086923ee8a24789e5 (patch) | |
tree | 4285a7f0b307a08d9c3a6fcb0eec66033aacd7c1 /latest/code_style.html | |
parent | deploy: 2b084c5b710d9630178484e6ade597ca7fa814b6 (diff) | |
download | synapse-37b0c8b51348d6908a8a2e9086923ee8a24789e5.tar.xz |
deploy: b6955673bfab5c8d553e8b43e9c50dd7b1212e2a
Diffstat (limited to 'latest/code_style.html')
-rw-r--r-- | latest/code_style.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/latest/code_style.html b/latest/code_style.html index c40c012932..c352b63481 100644 --- a/latest/code_style.html +++ b/latest/code_style.html @@ -155,7 +155,7 @@ errors in code.</p> <ul> <li><a href="https://black.readthedocs.io/en/stable/">black</a>, a source code formatter;</li> <li><a href="https://pycqa.github.io/isort/">isort</a>, which organises each file's imports;</li> -<li><a href="https://flake8.pycqa.org/en/latest/">flake8</a>, which can spot common errors; and</li> +<li><a href="https://github.com/charliermarsh/ruff">ruff</a>, which can spot common errors; and</li> <li><a href="https://mypy.readthedocs.io/en/stable/">mypy</a>, a type checker.</li> </ul> <p>Install them with:</p> @@ -167,7 +167,7 @@ errors in code.</p> <p>It's worth noting that modern IDEs and text editors can run these tools automatically on save. It may be worth looking into whether this functionality is supported in your editor for a more convenient -development workflow. It is not, however, recommended to run <code>flake8</code> or <code>mypy</code> +development workflow. It is not, however, recommended to run <code>mypy</code> on save as they take a while and can be very resource intensive.</p> <h2 id="general-rules"><a class="header" href="#general-rules">General rules</a></h2> <ul> |