Skip to content

giokara-oqton/pre-commit-yapf-isort

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pre-commit with yapf + isort

If you want to have isort sorting your imports but yapf formatting your code, and check for this with pre-commit you need this!

Using yapf+isort with pre-commit

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

-   repo: https://github.com/saily/pre-commit-yapf-isort
    sha: ''  # Use the sha / tag you want to point at
    hooks:
    -   id: yapf-isort

About

Run yapf first and fix imports with isort

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 73.2%
  • Python 26.8%