Skip to content

Commit

Permalink
Removed python matrix run for 3.9 and 3.10, as project will only supp…
Browse files Browse the repository at this point in the history
…ort 3.11 and above. Ignored flake8 qa warning for unused variable in test
  • Loading branch information
simcax committed Oct 28, 2023
1 parent 08d5dc5 commit cd5949d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11","3.12"]
python-version: ["3.11","3.12"]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion iconnmon/check_hosts.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def _check_ip(value: str) -> bool:
Validates the str is a valid ip v4 address
"""
try:
ip = ip_address(value)
ip = ip_address(value) # noqa: F841
return_value = True
except ValueError:
return_value = False
Expand Down

0 comments on commit cd5949d

Please sign in to comment.