docs: Fix a few typos (#4340)

There are small typos in:
- platformio/test/helpers.py
- platformio/util.py
- tests/project/test_savedeps.py

Fixes:
- Should read `specified` rather than `sepcified`.
- Should read `overridden` rather than `overriden`.
- Should read `compatibility` rather than `compatiblty`.
This commit is contained in:
Tim Gates
2022-07-03 20:16:33 +10:00
committed by GitHub
parent 6c71a3bea2
commit d3b7508bd5
3 changed files with 4 additions and 4 deletions

View File

@ -43,7 +43,7 @@ def list_test_suites(project_config, environments, filters, ignores):
# filter and ignore patterns
patterns = dict(filter=list(filters), ignore=list(ignores))
for key, value in patterns.items():
if value: # overriden from CLI
if value: # overridden from CLI
continue
patterns[key].extend( # pylint: disable=unnecessary-dict-index-lookup
project_config.get(f"env:{env_name}", f"test_{key}", [])

View File

@ -34,7 +34,7 @@ from platformio.proc import exec_command
# pylint: enable=unused-import
# also export list_serial_ports as get_serialports to be
# backward compatiblty with arduinosam versions 3.9.0 to 3.5.0 (and possibly others)
# backward compatibility with arduinosam versions 3.9.0 to 3.5.0 (and possibly others)
get_serialports = get_serial_ports

View File

@ -54,7 +54,7 @@ def test_save_libraries(tmp_path):
PackageSpec("https://github.com/nanopb/nanopb.git"),
]
# add to the sepcified environment
# add to the specified environment
save_project_dependencies(
str(project_dir), specs, scope="lib_deps", action="add", environments=["debug"]
)
@ -140,7 +140,7 @@ def test_save_tools(tmp_path):
PackageSpec("platformio/tool-esptoolpy"),
]
# add to the sepcified environment
# add to the specified environment
save_project_dependencies(
str(project_dir),
specs,