aboutsummaryrefslogtreecommitdiff
path: root/.pylintrc
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2023-04-11 23:24:02 +0800
committerGuangxiong Lin <[email protected]>2023-04-11 23:24:02 +0800
commit4fe62b316f00c26fcefba89e9b0720b71682c9ef (patch)
tree1efddfc091c34728a62d619cdf81084a48588dab /.pylintrc
parent7729bb2d014678364492f71ae580a15435de44c1 (diff)
downloaddotfiles-4fe62b316f00c26fcefba89e9b0720b71682c9ef.tar.gz
dotfiles-4fe62b316f00c26fcefba89e9b0720b71682c9ef.tar.bz2
dotfiles-4fe62b316f00c26fcefba89e9b0720b71682c9ef.zip
Update pylintrc
Diffstat (limited to '.pylintrc')
-rw-r--r--.pylintrc6
1 files changed, 4 insertions, 2 deletions
diff --git a/.pylintrc b/.pylintrc
index 3a89edc..d7375a5 100644
--- a/.pylintrc
+++ b/.pylintrc
@@ -67,7 +67,7 @@ ignored-modules=
# Python code to execute, usually for sys.path manipulation such as
# pygtk.require().
-#init-hook=
+init-hook="from pylint.config import find_pylintrc; import os, sys; sys.path.append(os.path.dirname(find_pylintrc())); sys.path.append('.')"
# Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the
# number of processors available to use, and will cap the count on Windows to
@@ -432,7 +432,9 @@ disable=raw-checker-failed,
missing-class-docstring,
missing-function-docstring,
missing-module-docstring,
- consider-using-f-string
+ consider-using-f-string,
+ too-few-public-methods,
+ too-many-public-methods
# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option