Skip to content
This repository has been archived by the owner on Oct 7, 2022. It is now read-only.

Miscellaneous quality-of-life fixes #70

Merged
merged 3 commits into from
Sep 7, 2022
Merged

Miscellaneous quality-of-life fixes #70

merged 3 commits into from
Sep 7, 2022

Conversation

djmetzle
Copy link
Contributor

@djmetzle djmetzle commented Sep 7, 2022

A few easy touchups to make working with the repo a little easier:

  • Pass through stderr from the run-tests.py. The facilitates debugging.
  • Drop a few deprecated functions. These are "in the way" otherwise.
  • Pull up a named function to the top-level function scope.
    • note that RGB translation function has no state, and only relies on the const colorValues map.

Ref: https://github.com/iFixit/ifixit/issues/43782

qa_req 0 (passes tests)

CC @iFixit/devops

We can `console.error` when we hit bugs, but it gets swallowed by the
test python script. If we see some stderr output, lets print it out to
the user. This is nice for troubleshooting and testing.
These were deprecated, and we're not using them. Drop `addCircle` and
`addRectangle`.
Copy link
Member

@danielbeardsley danielbeardsley left a comment

Choose a reason for hiding this comment

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

CR 👍

Thanks!

@djmetzle djmetzle merged commit 941654b into master Sep 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants