Skip to content

Changed iterator name to get around duplicate-code check #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 24, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions adafruit_boardtest/boardtest_gpio.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ def _main():
print("All pins found:", end=" ")

# Print pins
for pin in pins:
print(pin, end=" ")
for pin1 in pins:
print(pin1, end=" ")
print("\n")

# Run test
Expand Down
4 changes: 2 additions & 2 deletions adafruit_boardtest/boardtest_i2c.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ def _main():
print("All pins found:", end=" ")

# Print pins
for pin in pins:
print(pin, end=" ")
for pin2 in pins:
print(pin2, end=" ")
print("\n")

# Run test
Expand Down
4 changes: 2 additions & 2 deletions adafruit_boardtest/boardtest_led.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ def _main():
print("All pins found:", end=" ")

# Print pins
for pin in pins:
print(pin, end=" ")
for pin4 in pins:
print(pin4, end=" ")
print("\n")

# Run test
Expand Down
4 changes: 2 additions & 2 deletions adafruit_boardtest/boardtest_sd.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ def _main():
print("All pins found:", end=" ")

# Print pins
for pin in pins:
print(pin, end=" ")
for pin5 in pins:
print(pin5, end=" ")
print("\n")

# Run test
Expand Down
4 changes: 2 additions & 2 deletions adafruit_boardtest/boardtest_sd_cd.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ def _main():
print("All pins found:", end=" ")

# Print pins
for pin in pins:
print(pin, end=" ")
for pin6 in pins:
print(pin6, end=" ")
print("\n")

# Run test
Expand Down
4 changes: 2 additions & 2 deletions adafruit_boardtest/boardtest_spi.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,8 @@ def _main():
print("All pins found:", end=" ")

# Print pins
for pin in pins:
print(pin, end=" ")
for pin7 in pins:
print(pin7, end=" ")
print("\n")

# Run test
Expand Down
4 changes: 2 additions & 2 deletions adafruit_boardtest/boardtest_uart.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ def _main():
print("All pins found:", end=" ")

# Print pins
for pin in pins:
print(pin, end=" ")
for pin3 in pins:
print(pin3, end=" ")
print("\n")

# Run test
Expand Down
4 changes: 2 additions & 2 deletions adafruit_boardtest/boardtest_voltage_monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ def _main():
print("All pins found:", end=" ")

# Print pins
for pin in pins:
print(pin, end=" ")
for pin8 in pins:
print(pin8, end=" ")
print("\n")

# Run test
Expand Down