GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Irvenae/pre-commit-yapf-isort: Run yapf first and fix imports with isort

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
pre_commit_hooks
pre_commit_hooks
 
 
.gitignore
.gitignore
 
 
.pre-commit-hooks.yaml
.pre-commit-hooks.yaml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
setup.py
setup.py
 
 

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!

  • For pre-commit: see https://github.com/pre-commit/pre-commit
  • For yapf: see https://github.com/google/yapf

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

Readme
MIT license
Activity

Stars

0 stars

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.