Skip to content

Commit

Permalink
Merge pull request #1549 from MarcoGorelli/patch-1
Browse files Browse the repository at this point in the history
Let pre-commit sort pxd files too
  • Loading branch information
timothycrosley committed Oct 12, 2020
2 parents 3917bc7 + 1622543 commit b1423cd
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/upgrade_guides/5.0.0.md
Expand Up @@ -82,9 +82,16 @@ isort now includes an optimized precommit configuration in the repo itself. To u

```
- repo: https://github.com/pycqa/isort
rev: 5.3.2
rev: 5.6.3
hooks:
- id: isort
name: isort (python)
- id: isort
name: isort (cython)
types: [cython]
- id: isort
name: isort (pyi)
types: [pyi]
```

under the `repos` section of your projects `.pre-commit-config.yaml` config.

0 comments on commit b1423cd

Please sign in to comment.