Skip to content

SPI has no address #61

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
Jan 7, 2021
Merged

SPI has no address #61

merged 2 commits into from
Jan 7, 2021

Conversation

mstaack
Copy link
Contributor

@mstaack mstaack commented Dec 30, 2020

No description provided.

@mstaack mstaack changed the title SPI has not address SPI has no address Dec 30, 2020
@ladyada
Copy link
Member

ladyada commented Jan 3, 2021

its true! however, now pylint has a complaint...
@dherrada can you assist in getting pylint happy :)

@ladyada ladyada requested a review from evaherrada January 3, 2021 18:40
@caternuson
Copy link
Contributor

Weird. Looks like there was an attempt to turn that check off. Wonder why it's only failing now. Maybe need to move the disable up a bit in scope?

        except OSError:
            # some OS's dont like writing an empty bytesting...
            # Retry by reading a byte
            # pylint: disable=raise-missing-from
            try:
                result = bytearray(1)
                self.i2c.readfrom_into(self.device_address, result)
            except OSError:
                raise ValueError("No I2C device at address: 0x%x" % self.device_address)
            # pylint: enable=raise-missing-from

@evaherrada
Copy link
Collaborator

@ladyada sure thing

@evaherrada
Copy link
Collaborator

@ladyada Ok. This is passing

@ladyada ladyada merged commit fb7f084 into adafruit:master Jan 7, 2021
@ladyada
Copy link
Member

ladyada commented Jan 7, 2021

great teamwork! merged!

adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Jan 12, 2021
Updating https://github.com/adafruit/Adafruit_CircuitPython_PyPortal to 5.0.0 from 4.0.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_PyPortal#99 from makermelissa/master
  > Merge pull request adafruit/Adafruit_CircuitPython_PyPortal#100 from makermelissa/fix-precommit
  > Added pre-commit-config file
  > Added pre-commit and SPDX copyright

Updating https://github.com/adafruit/Adafruit_CircuitPython_TM to 1.0.1 from 1.0.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_TM#1 from adeanzan/patch-1

Updating https://github.com/adafruit/Adafruit_CircuitPython_BusDevice to 5.0.3 from 5.0.2:
  > Merge pull request adafruit/Adafruit_CircuitPython_BusDevice#61 from mstaack/patch-1

Updating https://github.com/adafruit/Adafruit_CircuitPython_PortalBase to 1.1.0 from 1.0.2:
  > Merge pull request adafruit/Adafruit_CircuitPython_PortalBase#8 from makermelissa/main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants