summaryrefslogtreecommitdiff
path: root/examples/pylintrc
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pylintrc')
-rw-r--r--examples/pylintrc21
1 files changed, 11 insertions, 10 deletions
diff --git a/examples/pylintrc b/examples/pylintrc
index 879c1d4f1..70c5ff87c 100644
--- a/examples/pylintrc
+++ b/examples/pylintrc
@@ -90,14 +90,15 @@ persistent=yes
# the version used to run pylint.
py-version=3.10
-# Add paths to the list of the source roots. The source root is an absolute
-# path or a path relative to the current working directory used to
-# determine a package namespace for modules located under the source root.
-source-roots=src,tests
-
# Discover python modules and packages in the file system subtree.
recursive=no
+# Add paths to the list of the source roots. Supports globbing patterns. The
+# source root is an absolute path or a path relative to the current working
+# directory used to determine a package namespace for modules located under the
+# source root.
+source-roots=
+
# When enabled, pylint would attempt to guess common misconfiguration and emit
# user-friendly hints instead of false-positive error messages.
suggestion-mode=yes
@@ -233,6 +234,10 @@ no-docstring-rgx=^_
# These decorators are taken in consideration only for invalid-name.
property-classes=abc.abstractproperty
+# Regular expression matching correct type alias names. If left empty, type
+# alias names will be checked with the set naming style.
+#typealias-rgx=
+
# Regular expression matching correct type variable names. If left empty, type
# variable names will be checked with the set naming style.
#typevar-rgx=
@@ -259,11 +264,7 @@ defining-attr-methods=__init__,
# List of member names, which should be excluded from the protected access
# warning.
-exclude-protected=_asdict,
- _fields,
- _replace,
- _source,
- _make
+exclude-protected=_asdict,_fields,_replace,_source,_make,os._exit
# List of valid names for the first argument in a class method.
valid-classmethod-first-arg=cls