From 0c295ce50924d6c2526bdc1290a8d2768b525aaf Mon Sep 17 00:00:00 2001 From: Chandan Singh Date: Mon, 28 Oct 2019 14:43:35 +0000 Subject: .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) ``` --- .pylintrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.pylintrc') 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. -- cgit v1.2.1