Skip to content

Commit a5dee28

Browse files
authored
Remove Python 3.7 support (#237)
* Sync with develop branch. * Remove Python 3.7 from unittests, add 3.11 * Update invoke to 2.2.0 Bump invoke to a version that works with Python 3.11
1 parent fca17aa commit a5dee28

File tree

6 files changed

+498
-459
lines changed

6 files changed

+498
-459
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ jobs:
113113
strategy:
114114
fail-fast: true
115115
matrix:
116-
python-version: ["3.7", "3.8", "3.9", "3.10"]
116+
python-version: ["3.8", "3.9", "3.10", "3.11"]
117117
runs-on: "ubuntu-20.04"
118118
env:
119119
INVOKE_LOCAL: "True"

circuit_maintenance_parser/output.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ class CircuitImpact(BaseModel, extra=Extra.forbid):
8282
# Optional Attributes
8383
impact: Impact = Impact.OUTAGE
8484

85-
# pylint: disable=no-self-argument,no-self-use
85+
# pylint: disable=no-self-argument
8686
@validator("impact")
8787
def validate_impact_type(cls, value):
8888
"""Validate Impact type."""
@@ -144,7 +144,7 @@ class Maintenance(BaseModel, extra=Extra.forbid):
144144
sequence: StrictInt = 1
145145
summary: StrictStr = ""
146146

147-
# pylint: disable=no-self-argument,no-self-use
147+
# pylint: disable=no-self-argument
148148
@validator("status")
149149
def validate_status_type(cls, value):
150150
"""Validate Status type."""

circuit_maintenance_parser/parsers/equinix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def _parse_b(self, b_elements, data):
9090
impact = Impact.REDUCED_REDUNDANCY
9191
return impact
9292

93-
def _parse_table(self, theader_elements, data, impact): # pylint: disable=no-self-use
93+
def _parse_table(self, theader_elements, data, impact):
9494
for th_elem in theader_elements:
9595
if "Account #" in th_elem:
9696
circuit_table = th_elem.find_parent("table")

0 commit comments

Comments
 (0)