-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add the ability to flag previously-supported accessories & platforms as not (currently) supported #86
Conversation
… arms, whose binary drivers don't exist in Jazzy yet)
…f hard-coding the distro
…ngs with f'' strings.
…jor code tidying-up should be done now
fa883ab
to
8908f9e
Compare
…ircular dependency. Instead use the system level envar
Added a similar exception for the W200 to mark it as unsupported. |
angular.z.min_velocity": -2.0 | ||
angular.z.max_acceleration": 6.0 | ||
angular.z.min_acceleration": -6.0 | ||
linear.x.max_velocity': 1.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should these quotes have a corresponding quote to make a pair?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. I'm not sure why these appear to have been missing the matching quotation marks in the first place, but I've fixed them up now.
…ructure to avoid `foo.bar.spam: eggs` notation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to set an E501, line length, limit for ourselves or should we just allow any length?
Rather than removing them completely, we can override the
assert_is_supported
method to raise the necessary exception, which will have the same effect as a failed assertion.I opted to raise the exception since it allows nicer exception handling at a higher level and could allow for better logging than a simple
assert self.is_supported, 'This accessory isn't supported'
style.