summaryrefslogtreecommitdiff
path: root/examples/pylintrc
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pylintrc')
-rw-r--r--examples/pylintrc19
1 files changed, 14 insertions, 5 deletions
diff --git a/examples/pylintrc b/examples/pylintrc
index 24fce68d2..a955c56ed 100644
--- a/examples/pylintrc
+++ b/examples/pylintrc
@@ -44,13 +44,15 @@ fail-under=10
# Files or directories to be skipped. They should be base names, not paths.
ignore=CVS
-# Add files or directories matching the regex patterns to the ignore-list. The
-# regex matches against paths and can be in Posix or Windows format.
+# Add files or directories matching the regular expressions patterns to the
+# ignore-list. The regex matches against paths and can be in Posix or Windows
+# format. Because '\' represents the directory delimiter on Windows systems, it
+# can't be used as an escape character.
ignore-paths=
-# Files or directories matching the regex patterns are skipped. The regex
-# matches against base names, not paths. The default value ignores Emacs file
-# locks
+# Files or directories matching the regular expression patterns are skipped.
+# The regex matches against base names, not paths. The default value ignores
+# Emacs file locks
ignore-patterns=^\.#
# List of module names for which member attributes should not be checked
@@ -160,6 +162,13 @@ disable=raw-checker-failed,
enable=c-extension-no-member
+[METHOD_ARGS]
+
+# List of qualified names (i.e., library.method) which require a timeout
+# parameter e.g. 'requests.api.get,requests.api.post'
+timeout-methods=requests.api.delete,requests.api.get,requests.api.head,requests.api.options,requests.api.patch,requests.api.post,requests.api.put,requests.api.request
+
+
[EXCEPTIONS]
# Exceptions that will emit a warning when caught.