Skip to content

Commit 14d8f96

Browse files
committed
Switch to formate for autoformatting.
1 parent e38f51c commit 14d8f96

File tree

7 files changed

+39
-429
lines changed

7 files changed

+39
-429
lines changed

.isort.cfg

Lines changed: 0 additions & 42 deletions
This file was deleted.

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ repos:
6767
- id: forbid-crlf
6868

6969
- repo: https://github.com/repo-helper/formate
70-
rev: 82ce56aac11fbe72a17333dd48afc7769f55a3f6
70+
rev: v0.1.0
7171
hooks:
7272
- id: formate
7373
exclude: ^(doc-source/conf|__pkginfo__|make_conda_recipe|setup)\.py$

CONTRIBUTING.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ Install ``pre-commit`` with ``pip`` and install the git hook:
1818
Coding style
1919
--------------
2020

21-
`yapf-isort <https://pypi.org/project/yapf-isort/>`_ is used for code formatting.
21+
`formate <https://formate.readthedocs.io>`_ is used for code formatting.
2222

2323
It can be run manually via ``pre-commit``:
2424

2525
.. code-block:: bash
2626
27-
$ pre-commit run yapf-isort -a
27+
$ pre-commit run formate -a
2828
2929
3030
Or, to run the complete autoformatting suite:

doc-source/contributing.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ Install ``pre-commit`` with ``pip`` and install the git hook:
1717
Coding style
1818
--------------
1919

20-
`yapf-isort <https://pypi.org/project/yapf-isort/>`_ is used for code formatting.
20+
`formate <https://formate.readthedocs.io>`_ is used for code formatting.
2121

2222
It can be run manually via ``pre-commit``:
2323

2424
.. prompt:: bash
2525

26-
pre-commit run yapf-isort -a
26+
pre-commit run formate -a
2727

2828

2929
Or, to run the complete autoformatting suite:

0 commit comments

Comments
 (0)