pw_protobuf_compiler: Python proto follow-up fixes
- Ignore generated protobuf files in pylint
- Remove no longer needed disable build arg
Change-Id: I711e9c3be02addfc7967cf244132e494b6f0df6f
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/26701
Reviewed-by: Wyatt Hepler <hepler@google.com>
Commit-Queue: Alexei Frolov <frolv@google.com>
diff --git a/.pylintrc b/.pylintrc
index 09055b8..c259400 100644
--- a/.pylintrc
+++ b/.pylintrc
@@ -387,14 +387,13 @@
ignored-classes=optparse.Values,
thread._local,
_thread._local,
- pw_cli.envparse.EnvNamespace,
- pw_rpc.packet_pb2.RpcPacket
+ pw_cli.envparse.EnvNamespace
# List of module names for which member attributes should not be checked
# (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=
+ignored-modules=*_pb2
# Show a hint with possible names when a member name was not found. The aspect
# of finding the hint is based on edit distance.