Skip to content
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

refactor: Rename check_file_size #161

Merged
merged 3 commits into from
Feb 19, 2024

Conversation

dashmage
Copy link
Contributor

Allows for easier comprehension of the if statements that use this method. Extra details in docstring are also removed (this info can be provided elsewhere in the docs). Due to the change in vocabulary, the True/ False return conditions are also switched.

Unit tests are also modified.

Allows for easier comprehension of the if statements that use this
method. Extra details in docstring are also removed.

Unit tests were also modified.
@dashmage dashmage requested review from a team, Pjack, aieri, agileshaw, jneo8 and rgildein February 13, 2024 16:24
src/hw_tools.py Show resolved Hide resolved
@dashmage
Copy link
Contributor Author

The juju 3.1 tests suddenly seem to be failing after the docstring change possibly due to something with upstream deps
https://github.com/canonical/hardware-observer-operator/actions/runs/7896988625/job/21552023416?pr=161

rgildein
rgildein previously approved these changes Feb 14, 2024
src/hw_tools.py Outdated Show resolved Hide resolved
@dashmage
Copy link
Contributor Author

dashmage commented Feb 15, 2024

func test fix being made here: #163.

Edit: PR not needed, fix was done upstream

Copy link
Contributor

@rgildein rgildein left a comment

Choose a reason for hiding this comment

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

LGTM

@dashmage dashmage merged commit a7cee56 into canonical:master Feb 19, 2024
5 checks passed
@dashmage dashmage deleted the refactor/rename-method branch February 19, 2024 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants