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

Default port.name to "Port N" #722

Merged
merged 2 commits into from
Oct 23, 2024
Merged

Default port.name to "Port N" #722

merged 2 commits into from
Oct 23, 2024

Conversation

dotdoom
Copy link
Contributor

@dotdoom dotdoom commented Aug 28, 2024

No description provided.

@dotdoom
Copy link
Contributor Author

dotdoom commented Aug 28, 2024

Tested via:

$ ./setup.sh
$ source venv/bin/activate
(venv) $ python3 -m pytest

...

Required test coverage of 95.0% reached. Total coverage: 96.94%
============================================ 159 passed, 1 warning in 2.09s ============================================

@Kane610
Copy link
Owner

Kane610 commented Aug 29, 2024

Thanks. Ill have a look next week once Im back home

@dotdoom
Copy link
Contributor Author

dotdoom commented Sep 17, 2024

Friendly ping @Kane610, hope you got home safe.

Copy link
Owner

@Kane610 Kane610 left a comment

Choose a reason for hiding this comment

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

Sorry, have been really busy IRL

aiounifi/models/port.py Outdated Show resolved Hide resolved
@dotdoom
Copy link
Contributor Author

dotdoom commented Oct 23, 2024

Merged the change; I am not sure if Port could be None, this was a case of defensive programming. I have removed that branch now.

@Kane610
Copy link
Owner

Kane610 commented Oct 23, 2024

Almost there, you need to run ruff

ruff format aiounifi tests
@dotdoom
Copy link
Contributor Author

dotdoom commented Oct 23, 2024

That is now done!

Copy link
Owner

@Kane610 Kane610 left a comment

Choose a reason for hiding this comment

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

Allright!

@Kane610 Kane610 merged commit 5bbae8b into Kane610:master Oct 23, 2024
1 check passed
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.

2 participants