summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChandan Singh <csingh43@bloomberg.net>2019-10-28 14:43:35 +0000
committerChandan Singh <csingh43@bloomberg.net>2019-10-28 14:43:35 +0000
commit0c295ce50924d6c2526bdc1290a8d2768b525aaf (patch)
tree8ff740c4677a857c7f64d82148a4311429981c8c
parent918f07cc075db5891d9429c0c54cb70143249375 (diff)
downloadbuildstream-0c295ce50924d6c2526bdc1290a8d2768b525aaf.tar.gz
.pylintrc: Add ujson to extension-pkg-whitelist
Add `ujson` to the `extension-pkg-whitelist` (we trust it!). Without this, `pylint` throws the following (non-fatal) warning: ``` src/buildstream/_cachekey.py:65:14: I1101: Module 'ujson' has no 'dumps' member, but source is unavailable. Consider adding this module to extension-pkg-whitelist if you want to perform analysis based on run-time introspection of living objects. (c-extension-no-member) ```
-rw-r--r--.pylintrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/.pylintrc b/.pylintrc
index 0ed9280b7..6499644a9 100644
--- a/.pylintrc
+++ b/.pylintrc
@@ -11,7 +11,8 @@ extension-pkg-whitelist=
buildstream._types,
buildstream._utils,
buildstream._variables,
- buildstream._yaml
+ buildstream._yaml,
+ ujson
# Add files or directories to the blacklist. They should be base names, not
# paths.