Skip to content

Commit

Permalink
Move Pylint exclusions to pylintrc (pylint-dev#2542)
Browse files Browse the repository at this point in the history
This makes it easier to run Pylint outside of the pre-commit hooks.
  • Loading branch information
correctmost authored Sep 5, 2024
1 parent 71f5c0c commit 5982618
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ repos:
"--output-format=github",
# "--load-plugins=pylint.extensions.docparams", We're not ready for that
]
exclude: tests/testdata|conf.py
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.11.2
hooks:
Expand Down
6 changes: 6 additions & 0 deletions pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
# paths.
ignore=CVS

# Add files or directories matching the regular expressions patterns to the
# ignore-list. The regex matches against paths and can be in Posix or Windows
# format. Because '\\' represents the directory delimiter on Windows systems,
# it can't be used as an escape character.
ignore-paths=doc/conf.py,tests/testdata/

# Pickle collected data for later comparisons.
persistent=yes

Expand Down

0 comments on commit 5982618

Please sign in to comment.