Lint fixes
Change-Id: I00b93c8e951d28deb2212bbba660dd6528433502
diff --git a/pw_cli/py/pw_cli/watch.py b/pw_cli/py/pw_cli/watch.py
index 6910f8b..80ea8b6 100755
--- a/pw_cli/py/pw_cli/watch.py
+++ b/pw_cli/py/pw_cli/watch.py
@@ -120,7 +120,7 @@
break
if matching_path:
- self.on_any_event(matching_path)
+ self.handle_matched_event(matching_path)
def run_builds(self):
"""Run all the builds in serial and capture pass/fail for each."""
@@ -169,7 +169,7 @@
else:
print(_Color.red(_FAIL_MESSAGE))
- def on_any_event(self, matching_path):
+ def handle_matched_event(self, matching_path):
if self.state == _State.WAITING_FOR_FILE_CHANGE_EVENT:
if matching_path:
_LOG.info('Filesystem change: %s', matching_path)
@@ -188,7 +188,7 @@
else:
_LOG.debug('State: COOLDOWN -> WAITING (cooldown expired)')
self.state = _State.WAITING_FOR_FILE_CHANGE_EVENT
- self.on_any_event(matching_path) # Retrigger.
+ self.handle_matched_event(matching_path) # Retrigger.
_WATCH_PATTERN_DELIMITER = ','
diff --git a/pw_module/py/pw_module/__init__.py b/pw_module/py/pw_module/__init__.py
index 30f758c..a4ccd83 100644
--- a/pw_module/py/pw_module/__init__.py
+++ b/pw_module/py/pw_module/__init__.py
@@ -11,6 +11,7 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations under
# the License.
+"""The Pigweed meta-module, with documentation about modules themselves."""
# Note that these imports will trigger plugin registrations.
import pw_module.check
diff --git a/pw_unit_test/py/pw_unit_test/__init__.py b/pw_unit_test/py/pw_unit_test/__init__.py
index f272f0c..f59d903 100644
--- a/pw_unit_test/py/pw_unit_test/__init__.py
+++ b/pw_unit_test/py/pw_unit_test/__init__.py
@@ -12,5 +12,7 @@
# License for the specific language governing permissions and limitations under
# the License.
+"""Pigweed's unit test runner infrastructure"""
+
# Import to register the plugin.
import pw_unit_test.test_runner