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
At the time of writing the board.py source file contains 990 lines. The maximum permitted by the project's Pylint configuration is 1000. Attempting to add support for a new board resulted in build failures.
One possible solution might be to refactor some of the if-elif constructs to use a dictionary instead.
The text was updated successfully, but these errors were encountered:
Yeah, good idea. Another solution that could help would be to move a lot of the private id functions to another module and just import from there. That way it shouldn't break anything.
That's a great idea @makermelissa. To check that I have understood your idea correctly I have created a draft PR #299. I have initially chosen a single but very common board to aid testing. I would be grateful if you could take a look.
At the time of writing the
board.py
source file contains990
lines. The maximum permitted by the project's Pylint configuration is1000
. Attempting to add support for a new board resulted in build failures.One possible solution might be to refactor some of the
if-elif
constructs to use a dictionary instead.The text was updated successfully, but these errors were encountered: