summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAlexey Pelykh <alexey.pelykh@gmail.com>2023-02-09 20:16:02 +0100
committerGitHub <noreply@github.com>2023-02-09 20:16:02 +0100
commit71b6325c8499c8a66e90d90e88c75d7c7ab13b23 (patch)
tree5469f59cc6762feef6721f57f71d84f56ed81bb2 /examples
parent70e2178dcaecdc4e90ac1cb45e06be261bd1e03b (diff)
downloadpylint-git-71b6325c8499c8a66e90d90e88c75d7c7ab13b23.tar.gz
Support Implicit Namespace Packages (PEP 420) (#8153)
Co-authored-by: Andreas Finkler <3929834+DudeNr33@users.noreply.github.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/pylintrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/pylintrc b/examples/pylintrc
index 1cf9639a1..879c1d4f1 100644
--- a/examples/pylintrc
+++ b/examples/pylintrc
@@ -90,6 +90,11 @@ 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