Skip to content

Commit

Permalink
chore: add pre-commit hook for pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwaller committed Jan 5, 2025
1 parent 16a1023 commit 3ecdd79
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,15 @@ repos:
types: [python]
require_serial: true
files: ^xknx/.+\.py$
- repo: local
hooks:
- id: pylint
name: pylint
entry: pylint
language: system
types: [python]
args:
[
"-rn", # Only display messages
"-sn", # Don't display the score
]

0 comments on commit 3ecdd79

Please sign in to comment.