This repository was archived by the owner on Apr 26, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-12
lines changed Expand file tree Collapse file tree 2 files changed +4
-12
lines changed Original file line number Diff line number Diff line change
1
+ Remove duplicate commands from the Code Style documentation page; point to the Contributing Guide instead.
Original file line number Diff line number Diff line change @@ -13,23 +13,14 @@ The necessary tools are:
13
13
- [ ruff] ( https://github.com/charliermarsh/ruff ) , which can spot common errors; and
14
14
- [ mypy] ( https://mypy.readthedocs.io/en/stable/ ) , a type checker.
15
15
16
- Install them with:
17
-
18
- ``` sh
19
- pip install -e " .[lint,mypy]"
20
- ```
21
-
22
- The easiest way to run the lints is to invoke the linter script as follows.
23
-
24
- ``` sh
25
- scripts-dev/lint.sh
26
- ```
16
+ See [ the contributing guide] ( development/contributing_guide.md#run-the-linters ) for instructions
17
+ on how to install the above tools and run the linters.
27
18
28
19
It's worth noting that modern IDEs and text editors can run these tools
29
20
automatically on save. It may be worth looking into whether this
30
21
functionality is supported in your editor for a more convenient
31
22
development workflow. It is not, however, recommended to run ` mypy `
32
- on save as they take a while and can be very resource intensive.
23
+ on save as it takes a while and can be very resource intensive.
33
24
34
25
## General rules
35
26
You can’t perform that action at this time.
0 commit comments