Skip to content

Commit

Permalink
adding pylint hooks for dpbench
Browse files Browse the repository at this point in the history
  • Loading branch information
adarshyoga committed Feb 7, 2024
1 parent 9729df4 commit 14d366f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,17 @@ repos:
rev: 6.0.0
hooks:
- id: flake8
- repo: local
hooks:
- id: pylint
name: pylint
entry: pylint
files: ^dpbench/benchmarks
language: system
types: [python]
require_serial: true
args:
[
"-rn", # Only display messages
"-sn", # Don't display the score
]
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,9 @@ VCS = "git"
style = "pep440"
versionfile_source = "dpbench/_version.py"
parentdir_prefix = ""

[tool.pylint]
disable = [
"fixme",
"duplicate-code"
]

0 comments on commit 14d366f

Please sign in to comment.