Skip to content

Commit

Permalink
pw_presubmit: Disable todo check for todo check test
Browse files Browse the repository at this point in the history
Change-Id: I4bb472e218b5b57002424db675c359d192878b05
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/115230
Reviewed-by: Keir Mierle <keir@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Pigweed-Auto-Submit: Rob Mohr <mohrr@google.com>
  • Loading branch information
mohrr authored and CQ Bot Account committed Oct 28, 2022
1 parent 8aac1c7 commit 0ed92ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion pw_presubmit/py/pw_presubmit/pigweed_presubmit.py
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,6 @@ def static_analysis(ctx: PresubmitContext):
r'\bpw_metric/metric_service_pwpb.cc$',
r'\bpw_module/py/pw_module/check.py$',
r'\bpw_package/py/pw_package/packages/chromium_verifier.py$',
r'\bpw_presubmit/py/todo_check_test.py$',
r'\bpw_protobuf/encoder.cc$',
r'\bpw_rpc/docs.rst$',
r'\bpw_rpc/py/pw_rpc/codegen.py$',
Expand Down
3 changes: 3 additions & 0 deletions pw_presubmit/py/todo_check_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
from pw_presubmit import todo_check

# pylint: disable=attribute-defined-outside-init
# todo-check: disable


class TestTodoCheck(unittest.TestCase):
Expand Down Expand Up @@ -150,3 +151,5 @@ def test_bare_bugsusers(self) -> None:

if __name__ == '__main__':
unittest.main()

# todo-check: enable

0 comments on commit 0ed92ae

Please sign in to comment.