mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 19:46:54 +00:00
Move FalconSocial pre-commit-python-sorter to offical pre-commit repo, thanks @Dinoshauer @teeberg @amureki @jeffshek @Tenzer @asottile
This commit is contained in:
parent
0ddb3b8527
commit
2ca5460c30
6 changed files with 130 additions and 0 deletions
|
|
@ -78,6 +78,7 @@ Add this to your `.pre-commit-config.yaml`
|
|||
- `no-commit-to-branch` - Protect specific branches from direct checkins.
|
||||
- Use `args: -b <branch> ` to set the branch. `master` is the default if no argument is set.
|
||||
- `pyflakes` - Run pyflakes on your python files.
|
||||
- `python-import-sorter` - Sorts Python imports with isort.
|
||||
- `pretty-format-json` - Checks that all your JSON files are pretty. "Pretty"
|
||||
here means that keys are sorted and indented. You can configure this with
|
||||
the following commandline options:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue