You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Comma after last argument in 'write_then_readinto' function on line 113 throws syntax error on line 114 in i2c_device.py
python 3.5
proposed fix: delete comma (worked for us)
The text was updated successfully, but these errors were encountered:
We use the black code formatter, which by default inserts commas on all argument lines when the arguments are split across multiple lines, and we require that all code is formatted using black. So we'd have to reformat code in all our libraries using Python 3.5 syntax (black --target-version py35), to suppress this behavior. That would cause other issues with Python syntax we have that is past 3.5.
Are you able to upgrade past Python 3.5? I'm sorry this has happened to you, but I don't think we can accommodate this in all our libraries.
Comma after last argument in 'write_then_readinto' function on line 113 throws syntax error on line 114 in i2c_device.py
python 3.5
proposed fix: delete comma (worked for us)
The text was updated successfully, but these errors were encountered: