aboutsummaryrefslogtreecommitdiff
path: root/pw_arduino_build
diff options
context:
space:
mode:
authorRob Mohr <mohrr@google.com>2022-11-30 23:48:59 +0000
committerCQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-11-30 23:48:59 +0000
commitd64ba160189672976fbae008f0c332cebfd3b935 (patch)
tree17284d3da18e2aa4e65e415d9510074c6d7dedb1 /pw_arduino_build
parent09f3bbf03c302cb3b40eeb53654901ebbd6f3194 (diff)
downloadpigweed-d64ba160189672976fbae008f0c332cebfd3b935.tar.gz
python: Remove "yapf: disable"
Bug: b/259595799 Change-Id: Idb0355abe7980c204ecb4ee7ffe8ff21d385127a Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/121951 Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com> Pigweed-Auto-Submit: Rob Mohr <mohrr@google.com> Reviewed-by: Armando Montanez <amontanez@google.com>
Diffstat (limited to 'pw_arduino_build')
-rw-r--r--pw_arduino_build/py/builder_test.py2
-rw-r--r--pw_arduino_build/py/file_operations_test.py2
-rw-r--r--pw_arduino_build/py/pw_arduino_build/core_installer.py3
3 files changed, 3 insertions, 4 deletions
diff --git a/pw_arduino_build/py/builder_test.py b/pw_arduino_build/py/builder_test.py
index 0ff641b0b..0c7df224b 100644
--- a/pw_arduino_build/py/builder_test.py
+++ b/pw_arduino_build/py/builder_test.py
@@ -37,7 +37,7 @@ class TestShellArgumentSplitting(unittest.TestCase):
],
)
]
- ) # yapf: disable
+ )
def test_split_arguments_and_remove_quotes(
self, unused_test_name, input_string, expected
):
diff --git a/pw_arduino_build/py/file_operations_test.py b/pw_arduino_build/py/file_operations_test.py
index 82095745b..5f36c0ba9 100644
--- a/pw_arduino_build/py/file_operations_test.py
+++ b/pw_arduino_build/py/file_operations_test.py
@@ -97,7 +97,7 @@ class TestFileOperations(unittest.TestCase):
],
),
]
- ) # yapf: disable
+ )
def test_find_files(
self, test_case, base_fileset, patterns, expected_results
):
diff --git a/pw_arduino_build/py/pw_arduino_build/core_installer.py b/pw_arduino_build/py/pw_arduino_build/core_installer.py
index f3561a3f3..710b3e226 100644
--- a/pw_arduino_build/py/pw_arduino_build/core_installer.py
+++ b/pw_arduino_build/py/pw_arduino_build/core_installer.py
@@ -36,7 +36,6 @@ class ArduinoCoreNotSupported(Exception):
"""Exception raised when a given core can not be installed."""
-# yapf: disable
_ARDUINO_CORE_ARTIFACTS: Dict[str, Dict] = {
# pylint: disable=line-too-long
"teensy": {
@@ -111,7 +110,7 @@ _ARDUINO_CORE_ARTIFACTS: Dict[str, Dict] = {
"file_name": "Teensyduino.exe",
"sha256": "88f58681e5c4772c54e462bc88280320e4276e5b316dcab592fe38d96db990a1",
},
- }
+ },
},
"adafruit-samd": {
"all": {