Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Nauber committed Jun 11, 2024
1 parent 700850e commit e434852
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 1 addition & 4 deletions solax/inverters/x1_boost_g4.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,7 @@ class X1BoostG4(Inverter):
): str,
vol.Required("ver"): str,
vol.Required("data"): vol.Schema(
vol.All(
[vol.Coerce(float)],
vol.Length(min=100, max=100)
)
vol.All([vol.Coerce(float)], vol.Length(min=100, max=100))
),
vol.Required("information"): vol.Schema(
vol.All(vol.Length(min=10, max=10))
Expand Down
2 changes: 0 additions & 2 deletions tests/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ def simple_http_fixture(httpserver):
headers=X_FORWARDED_HEADER,
data=None,
),

InverterUnderTest(
uri="/",
method="POST",
Expand All @@ -160,7 +159,6 @@ def simple_http_fixture(httpserver):
headers=X_FORWARDED_HEADER,
data=None,
),

InverterUnderTest(
uri="/",
method="POST",
Expand Down

0 comments on commit e434852

Please sign in to comment.