Skip to content

[FIX] pre-commit broken in scale plugin - #112

Merged
PierrickBrun merged 2 commits into
masterfrom
fix_precommit_scale
Oct 10, 2022
Merged

[FIX] pre-commit broken in scale plugin#112
PierrickBrun merged 2 commits into
masterfrom
fix_precommit_scale

Conversation

@PierrickBrun

Copy link
Copy Markdown
Contributor

No description provided.

@PierrickBrun

Copy link
Copy Markdown
Contributor Author

ping @carmenbianca @huguesdk Can one of you validate that I did not break anything with the addition of the _read_raw_data function ?

Flake8 did not like that acquire_data was too long so I had to extract a bit of code from it

@huguesdk huguesdk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

great idea to put the read loop in a separate function, it’s much cleaner. thanks!

apart from the comments about the stx variable, looks good to me.

Comment thread pywebdriver/plugins/scale_protocols/mettler_toledo_8217.py Outdated
Comment thread pywebdriver/plugins/scale_protocols/mettler_toledo_8217.py Outdated
Co-authored-by: hugues de keyzer <odoo@hugues.info>
@PierrickBrun
PierrickBrun merged commit 530ccb2 into master Oct 10, 2022
@github-grap-bot
github-grap-bot deleted the fix_precommit_scale branch October 10, 2022 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants