Skip to content

removing assert statements #21

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 5 commits into from
May 25, 2021
Merged

removing assert statements #21

merged 5 commits into from
May 25, 2021

Conversation

jposada202020
Copy link
Contributor

Solves #20 . @caternuson Could you test this, Flying blind here do not have the hardware. I did some tests with the asserts vs the ifs in the REPL, but do not like to change code without testing. Thanks :)

@jposada202020 jposada202020 added the enhancement New feature or request label Apr 25, 2021
@jposada202020 jposada202020 requested review from caternuson and a team April 25, 2021 02:26
@caternuson
Copy link

@jposada202020 Didn't see your original mention. Do you want to re-open? It generally looks OK.

@jposada202020
Copy link
Contributor Author

Yes :) no problem did not want to bother you again

@jposada202020 jposada202020 reopened this May 23, 2021
@caternuson
Copy link

No worries. Feel free to ping me again. Totally my bad, not the best at catching GH mentions. :(

Copy link

@caternuson caternuson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a few suggestions. Check those against all the other changes as well. In general, this all looks fine, so just need to make sure logic is correct and tweak the cosmetics of the messages.

@jposada202020
Copy link
Contributor Author

Thanks for reviewing @caternuson Will do according to suggestions.

Copy link

@caternuson caternuson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One more comment tweak.

@jposada202020
Copy link
Contributor Author

@caternuson please review. Thanks :)

@jposada202020 jposada202020 merged commit 8d5788a into adafruit:master May 25, 2021
@jposada202020 jposada202020 deleted the changing_assertions branch May 25, 2021 17:32
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Jun 1, 2021
Updating https://github.com/adafruit/Adafruit_CircuitPython_BNO08X to 1.1.1 from 1.1.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_BNO08x#23 from jposada202020/improving_docs
  > Moved CI to Python 3.7
  > Added help text and problem matcher
  > Added pull request template
  > Merge pull request adafruit/Adafruit_CircuitPython_BNO08x#22 from caternuson/iss21

Updating https://github.com/adafruit/Adafruit_CircuitPython_DPS310 to 1.2.6 from 1.2.5:
  > Merge pull request adafruit/Adafruit_CircuitPython_DPS310#17 from jposada202020/correcting_returning_units
  > Moved CI to Python 3.7
  > Added help text and problem matcher
  > Added pull request template

Updating https://github.com/adafruit/Adafruit_CircuitPython_ESP32SPI to 3.5.10 from 3.5.9:
  > Merge pull request adafruit/Adafruit_CircuitPython_ESP32SPI#132 from mikejc58/wait_spi_char
  > Moved CI to Python 3.7
  > Added help text and problem matcher
  > Added pull request template

Updating https://github.com/adafruit/Adafruit_CircuitPython_PCA9685 to 3.3.7 from 3.3.6:
  > Merge pull request adafruit/Adafruit_CircuitPython_PCA9685#36 from jvalrog/fix-servo-example
  > Moved CI to Python 3.7
  > Added help text and problem matcher
  > Added pull request template

Updating https://github.com/adafruit/Adafruit_CircuitPython_SI5351 to 1.2.8 from 1.2.7:
  > Merge pull request adafruit/Adafruit_CircuitPython_SI5351#21 from jposada202020/changing_assertions
  > Moved CI to Python 3.7
  > Added help text and problem matcher
  > Added pull request template

Updating https://github.com/adafruit/Adafruit_CircuitPython_TCA9548A to 0.5.0 from 0.4.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_TCA9548A#35 from jposada202020/adding_example_docs_improvement
  > Moved CI to Python 3.7
  > Added help text and problem matcher
  > Added pull request template
  > "Increase duplicate code check threshold "

Updating https://github.com/adafruit/Adafruit_CircuitPython_Wiznet5k to 1.10.1 from 1.10.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_Wiznet5k#34 from bjnhur/master
  > Moved CI to Python 3.7
  > Added help text and problem matcher
  > Added pull request template

Updating https://github.com/adafruit/Adafruit_CircuitPython_Bitmap_Font to 1.5.1 from 1.5.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_Bitmap_Font#47 from adafruit/linting
  > Moved CI to Python 3.7
  > Added help text and problem matcher
  > Added pull request template

Updating https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_Layout to 1.9.3 from 1.9.2:
  > Merge pull request adafruit/Adafruit_CircuitPython_DisplayIO_Layout#39 from adafruit/linting
  > Moved CI to Python 3.7
  > Added help text and problem matcher
  > Added pull request template
  > Merge pull request adafruit/Adafruit_CircuitPython_DisplayIO_Layout#37 from jposada202020/main

Updating https://github.com/adafruit/Adafruit_CircuitPython_Gizmo to 1.3.2 from 1.3.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_Gizmo#18 from adafruit/linting
  > Moved CI to Python 3.7
  > Added help text and problem matcher
  > Added pull request template
  > "Increase duplicate code check threshold "

Updating https://github.com/adafruit/Adafruit_CircuitPython_HID to 5.0.1 from 5.0.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_HID#69 from jfurcean/fix-led-example
  > Merge pull request adafruit/Adafruit_CircuitPython_HID#70 from FoamyGuy/adding_brightness_codes
  > Moved CI to Python 3.7
  > Added help text and problem matcher
  > Added pull request template

Updating https://github.com/adafruit/Adafruit_CircuitPython_ProgressBar to 2.2.0 from 2.1.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_ProgressBar#31 from jposada202020/progressbar_accelerometer
  > Merge pull request adafruit/Adafruit_CircuitPython_ProgressBar#30 from alimustafashah/master
  > Moved CI to Python 3.7
  > Added help text and problem matcher
  > Added pull request template
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants