Skip to content

pre commit hook that just runs the isort command.

Notifications You must be signed in to change notification settings

aadu/pre-commit-isort

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

pre-commit-isort

Adds pre-commit isort support through the simple isort command.

See also: https://github.com/pre-commit/pre-commit

Using pre-commit-isort with pre-commit

Add this to your .pre-commit-config.yaml

-   repo: git://github.com/hvdklauw/pre-commit-isort
    sha: ''  # Use the sha you want to point at
    hooks:
    -   id: isort
        args:
        - -c
        - -diff

FAQ

Q: Why not use pre-commit-python-sorter? A: Because it gives me different results then the normal isort command line call.

About

pre commit hook that just runs the isort command.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%