Skip to content

A wrapper to check score & Python3 porting for pre-commit with Pylint

Notifications You must be signed in to change notification settings

Botpy/pre-commit-pylint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

Add follow content to .pre-commit-config.yaml

-   repo: [email protected]:coldnight/pre-commit-pylint.git
    sha: v0.0.2
    hooks:
    -   id: pylint-py3k
    -   id: pylint-score-limit
        args:
        - --limit=8.5
        - --rcfile=./.pylintrc

Note

Before pre-commit run, you should install pylint and requirements manually:

$ pip install --upgrade pylint
$ pip install --upgrade requirements.txt
$ pre-commit run
# or
$ git commit -m 'commit message'

About

A wrapper to check score & Python3 porting for pre-commit with Pylint

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages