diff --git a/develop/code_style.html b/develop/code_style.html index 0620f138e3..b63f45d140 100644 --- a/develop/code_style.html +++ b/develop/code_style.html @@ -151,49 +151,30 @@

The Synapse codebase uses a number of code formatting tools in order to quickly and automatically check for formatting (and sometimes logical) errors in code.

-

The necessary tools are detailed below.

-

First install them with:

+

The necessary tools are:

+ +

Install them with:

pip install -e ".[lint,mypy]"
 
-

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 flake8 on -save as it takes a while and is very resource intensive.

+development workflow. It is not, however, recommended to run flake8 or mypy +on save as they take a while and can be very resource intensive.

General rules