diff options
author | Chandan Singh <csingh43@bloomberg.net> | 2019-10-28 14:43:35 +0000 |
---|---|---|
committer | Chandan Singh <csingh43@bloomberg.net> | 2019-10-28 14:43:35 +0000 |
commit | 0c295ce50924d6c2526bdc1290a8d2768b525aaf (patch) | |
tree | 8ff740c4677a857c7f64d82148a4311429981c8c | |
parent | 918f07cc075db5891d9429c0c54cb70143249375 (diff) | |
download | buildstream-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-- | .pylintrc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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. |