Skip to content

Commit

Permalink
chore: move pylint bits to pylintrc
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnbot committed Jul 16, 2024
1 parent 19e739b commit 826e719
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ repos:
types: [python]
# pylint fails on use of constants in falcon 2
# https://github.com/falconry/falcon/issues/1553
entry: "pipenv run pylint --extension-pkg-whitelist=falcon"
entry: "pipenv run pylint"
4 changes: 2 additions & 2 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# A comma-separated list of package or module names from where C extensions may
# be loaded. Extensions are loading into the active Python interpreter and may
# run arbitrary code.
extension-pkg-whitelist=
extension-pkg-whitelist=falcon

# Add files or directories to the blacklist. They should be base names, not
# paths.
Expand Down Expand Up @@ -189,7 +189,7 @@ ignored-classes=optparse.Values,thread._local,_thread._local
# (useful for modules/projects where namespaces are manipulated during runtime
# and thus existing member attributes cannot be deduced by static analysis). It
# supports qualified module names, as well as Unix pattern matching.
ignored-modules=
ignored-modules=sqlalchemy.db

# Show a hint with possible names when a member name was not found. The aspect
# of finding the hint is based on edit distance.
Expand Down

0 comments on commit 826e719

Please sign in to comment.