From 826e719a0418ad33183f9595c694fa38c2618d9a Mon Sep 17 00:00:00 2001 From: Shawn Allen Date: Mon, 15 Jul 2024 17:21:25 -0700 Subject: [PATCH] chore: move pylint bits to pylintrc --- .pre-commit-config.yaml | 2 +- .pylintrc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 392f240..4da1592 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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" diff --git a/.pylintrc b/.pylintrc index 7114333..8b90b6c 100644 --- a/.pylintrc +++ b/.pylintrc @@ -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. @@ -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.