File tree Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -17,17 +17,16 @@ Install ``pre-commit`` with ``pip`` and install the git hook:
17
17
Coding style
18
18
--------------
19
19
20
- `Yapf <https://github.com/google /yapf >`_ is used for code formatting, and ` isort < https://timothycrosley.github.io/isort/ >`_ is used to sort imports .
20
+ `yapf-isort <https://pypi.org/project /yapf-isort/ >`_ is used for code formatting.
21
21
22
- `` yapf `` and `` isort `` can be run manually via ``pre-commit ``:
22
+ It can be run manually via ``pre-commit ``:
23
23
24
24
.. code-block :: bash
25
25
26
- $ pre-commit run yapf -a
27
- $ pre-commit run isort -a
26
+ $ pre-commit run yapf-isort -a
28
27
29
28
30
- The complete autoformatting suite can be run with `` pre-commit `` :
29
+ Or, to run the complete autoformatting suite :
31
30
32
31
.. code-block :: bash
33
32
Original file line number Diff line number Diff line change @@ -16,17 +16,16 @@ Install ``pre-commit`` with ``pip`` and install the git hook:
16
16
Coding style
17
17
--------------
18
18
19
- `Yapf <https://github.com/google /yapf >`_ is used for code formatting, and ` isort < https://timothycrosley.github.io/isort/ >`_ is used to sort imports .
19
+ `yapf-isort <https://pypi.org/project /yapf-isort/ >`_ is used for code formatting.
20
20
21
- `` yapf `` and `` isort `` can be run manually via ``pre-commit ``:
21
+ It can be run manually via ``pre-commit ``:
22
22
23
23
.. prompt :: bash
24
24
25
- pre-commit run yapf -a
26
- pre-commit run isort -a
25
+ pre-commit run yapf-isort -a
27
26
28
27
29
- The complete autoformatting suite can be run with `` pre-commit `` :
28
+ Or, to run the complete autoformatting suite :
30
29
31
30
.. prompt :: bash
32
31
You can’t perform that action at this time.
0 commit comments