Skip to content
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.
/ mirrors-pylint Public archive

Mirror of pylint package for pre-commit.

License

Notifications You must be signed in to change notification settings

pre-commit/mirrors-pylint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This mirror repository is deprecated, use pylint directly.

pylint mirror

Mirror of pylint package for pre-commit.

For pre-commit: see https://github.com/pre-commit/pre-commit

For pylint: see https://github.com/pycqa/pylint

Using pylint with pre-commit

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

-   repo: https://github.com/pre-commit/mirrors-pylint
    rev: ''  # Use the sha / tag you want to point at
    hooks:
    -   id: pylint

pre-commit runs pylint from an isolated virtualenv. Many of pylint's checks perform dynamic analysis which will fail there. You may find configuring pylint as a local hook more useful.