We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New python3 warnings.
--- a/src/sonic-device-data/tests/hwsku_json_checker +++ b/src/sonic-device-data/tests/hwsku_json_checker @@ -8,7 +8,7 @@ import sys # Global variable PORT_ATTRIBUTES = ["default_brkout_mode"] OPTIONAL_PORT_ATTRIBUTES = ["fec", "autoneg", "port_type", "subport", "role"] -PORT_REG = "Ethernet(\d+)" +PORT_REG = r"Ethernet(\d+)" HWSKU_JSON = '*hwsku.json' INTF_KEY = "interfaces" diff --git a/src/sonic-device-data/tests/platform_json_checker b/src/sonic-device-data/tests/platform_json_checker index 7b92936b9..f1865bf7b 100755 --- a/src/sonic-device-data/tests/platform_json_checker +++ b/src/sonic-device-data/tests/platform_json_checker @@ -8,7 +8,7 @@ import sys # Global variable PORT_ATTRIBUTES = ["index", "lanes", "breakout_modes"] ATTR_LEN = len(PORT_ATTRIBUTES) -PORT_REG = "Ethernet(\d+)" +PORT_REG = r"Ethernet(\d+)" PLATFORM_JSON = '*platform.json' INTF_KEY = "interfaces" CHASSIS_KEY = "chassis"
Needs PR upstream.
master + 202405
The text was updated successfully, but these errors were encountered:
[#49] build: (minor) hwsku_json_checker .. have improper regex escape
086c023
8ce329c
4d7e453
No branches or pull requests
Description
New python3 warnings.
Needs PR upstream.
Which build are we running (if any)
master + 202405
Upstream issues/PRs
The text was updated successfully, but these errors were encountered: