Skip to content

Commit

Permalink
More linting
Browse files Browse the repository at this point in the history
  • Loading branch information
CJNE committed Oct 16, 2024
1 parent b1ff807 commit ce31dee
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/constraints.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pip==21.2.4
pre-commit==2.13.0
black==21.7b0
black==22.3.0
flake8==3.9.2
reorder-python-imports==2.6.0
pytest-timeout==1.4.2
6 changes: 3 additions & 3 deletions pymyenergi/libbi.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,12 +287,12 @@ def show(self, short_format=False):
else:
ret = ret + "Disabled\n"
else:
ret = ret + f"<unavailable>\n"
ret = ret + f"Charge target: "
ret = ret + "<unavailable>\n"
ret = ret + "Charge target: "
if self.charge_target is not None:
ret = ret + f"{self.charge_target}kWh\n"
else:
ret = ret + f"<unavailable>\n"
ret = ret + "<unavailable>\n"
ret = ret + f"CT 1 {self.ct1.name} {self.ct1.power}W phase {self.ct1.phase}\n"
ret = ret + f"CT 2 {self.ct2.name} {self.ct2.power}W phase {self.ct2.phase}\n"
ret = ret + f"CT 3 {self.ct3.name} {self.ct3.power}W phase {self.ct3.phase}\n"
Expand Down
2 changes: 1 addition & 1 deletion requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
httpx
pycognito
pre-commit==2.13.0
black==21.7b0
black==22.3.0
flake8==3.9.2
reorder-python-imports==2.6.0
pytest-timeout==1.4.2

0 comments on commit ce31dee

Please sign in to comment.