Skip to content

Commit

Permalink
🔥 Remove checks for port descriptions (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck authored Jan 18, 2023
1 parent b4d057c commit 1163e13
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,16 +82,6 @@ def is_default(validator, properties, instance, schema):
)
exit_code = 1

if "ports" in configuration and "ports_description" not in configuration:
print(f"::error file={config}::'ports' is defined without 'ports_description'.")
exit_code = 1

if set(configuration.get("ports", {})) != set(
configuration.get("ports_description", {})
):
print(f"::error file={config}::'ports' and 'ports_description' do not match.")
exit_code = 1

if configuration.get("full_access") and any(
item in ["devices", "gpio", "uart", "usb"] for item in configuration
):
Expand Down

0 comments on commit 1163e13

Please sign in to comment.