Skip to content

Commit

Permalink
Update android codelab code to fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminLawson authored and uael committed Nov 6, 2023
1 parent 8e5c0a8 commit 4fd1e8d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/android-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ Create a new Avatar test class file `codelab_test.py` in the Android Avatar
tests folder, `packages/modules/Bluetooth/android/pandora/test/`:

```python
import asyncio # Provides utilities for calling asynchronous functions.

from typing import Optional # Avatar is strictly typed.

# Importing Mobly modules required for the test.
Expand All @@ -90,7 +92,7 @@ from pandora.host_pb2 import RANDOM, DataTypes


# The test class to test the LE (Bluetooth Low Energy) Connectivity.
class CodelabTest(base_test.BaseTestClass):
class CodelabTest(base_test.BaseTestClass): # type: ignore[misc]
devices: Optional[PandoraDevices] = None
dut: PandoraClient
ref: BumblePandoraClient # `BumblePandoraClient` is a sub-class of `PandoraClient`
Expand Down

0 comments on commit 4fd1e8d

Please sign in to comment.