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:
1313- [ ruff] ( https://github.com/charliermarsh/ruff ) , which can spot common errors; and
1414- [ mypy] ( https://mypy.readthedocs.io/en/stable/ ) , a type checker.
1515
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.
2718
2819It's worth noting that modern IDEs and text editors can run these tools
2920automatically on save. It may be worth looking into whether this
3021functionality is supported in your editor for a more convenient
3122development 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.
3324
3425## General rules
3526
You can’t perform that action at this time.
0 commit comments