summaryrefslogtreecommitdiff
path: root/.pylintrc
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2018-03-15 07:49:07 +0100
committerJürg Billeter <j@bitron.ch>2018-07-17 07:56:40 +0200
commit1a2ee26ef5b5b83a38f94a8fe3667fbcf8fa0235 (patch)
tree2f501314ae3e132d4701041730257c2686ae19fb /.pylintrc
parent9b63f6f293c4c61f243f2e4c7c4d269a55927ce6 (diff)
downloadbuildstream-1a2ee26ef5b5b83a38f94a8fe3667fbcf8fa0235.tar.gz
setup.py: Add grpcio dependency and support for code generation
This allows code generation with ./setup.py build_grpc
Diffstat (limited to '.pylintrc')
-rw-r--r--.pylintrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/.pylintrc b/.pylintrc
index c38309372..93f9eeadf 100644
--- a/.pylintrc
+++ b/.pylintrc
@@ -11,7 +11,7 @@ ignore=CVS,tests,doc
# Add files or directories matching the regex patterns to the blacklist. The
# regex matches against base names, not paths.
-ignore-patterns=
+ignore-patterns=.*_pb2.py,.*_pb2_grpc.py
# Python code to execute, usually for sys.path manipulation such as
# pygtk.require().
@@ -190,7 +190,7 @@ ignored-classes=optparse.Values,thread._local,_thread._local,contextlib.closing,
# (useful for modules/projects where namespaces are manipulated during runtime
# and thus existing member attributes cannot be deduced by static analysis. It
# supports qualified module names, as well as Unix pattern matching.
-ignored-modules=pkg_resources,gi.repository
+ignored-modules=pkg_resources,gi.repository,grpc,buildstream._protos.*
# Show a hint with possible names when a member name was not found. The aspect
# of finding the hint is based on edit distance.