Skip to content

Commit

Permalink
Enforce all pylint stuff except C-class
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdstein committed Dec 1, 2022
1 parent 79e1089 commit 7b7dc3e
Showing 1 changed file with 27 additions and 3 deletions.
30 changes: 27 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,42 @@ repos:
- repo: local
hooks:
- id: pylint
name: pylint
name: pylint [mandatory]
entry: pylint
language: system
types: [python]
args:
[
"--disable=C",
"-rn", # Only display messages
"-sn", # Don't display the score
"--exit-zero",
"--fail-on=F,E,W"
]
verbose: true
- repo: local
hooks:
- id: pylint
name: pylint [full]
entry: pylint
language: system
types: [python]
args:
[
"--exit-zero"
]
verbose: true
#- repo: local
# hooks:
# - id: pylint
# name: pylint
# entry: pylint
# language: system
# types: [python]
# args:
# [
## "--exit-zero",
# "--fail-on=F,E"
# ]
# verbose: true
- repo: https://github.com/python-poetry/poetry
rev: 1.2.2
hooks:
Expand Down

0 comments on commit 7b7dc3e

Please sign in to comment.