diff options
| author | Yuriy Andamasov <yuriy@vyos.io> | 2026-06-29 10:28:43 +0300 |
|---|---|---|
| committer | Yuriy Andamasov <yuriy@vyos.io> | 2026-06-29 15:10:10 +0300 |
| commit | 094928ba02bbabf3807ebe8f5ae77b957435d288 (patch) | |
| tree | b435c65401c374221735a47f18fbee7be7ea4301 /src/helpers | |
| parent | fe27e9cedb1bc7a91095a19d1867cfda428e12fe (diff) | |
| download | vyos-1x-094928ba02bbabf3807ebe8f5ae77b957435d288.tar.gz vyos-1x-094928ba02bbabf3807ebe8f5ae77b957435d288.zip | |
ci: T8490: fix typos in comments, strings, and local identifiers
Reaches a clean typos baseline for the T8490 ruleset pilot. Categories:
- Comments/docs: recursivly, taret, passsed, characted, arhive, AtrributeError;
"ned" -> "new" (migration comments).
- Messages/strings: writeable -> writable (x5); OCaml log "Commandis" -> "Command is".
- Local variables (all refs in-function): commited, formating, presistent;
inpt_range -> input_range; tz_datas -> tz_data_raw (avoids the tz_data collision).
- Self-contained renames (definition + all references in-file): formated_stats,
_get_formatted_output_conections -> ..._connections, expension_failure ->
expansion_failure (ping + traceroute), snmpd_restart_reqired -> ..._required.
False positives are allowlisted centrally (vyos/.github, separate PR), NOT changed
here: mke2fs, Maya-calendar "Mak", RFC 4122 "IDentifier" (hostapd), and VPP's
"U-Forwrd" bridge-domain column header (op_mode/vpp.py + the VPP smoketest assert
the real upstream `vppctl` output). Verified: typos clean, py_compile of every
edited .py, zero remaining old-identifier references.
🤖 Generated by [robots](https://vyos.io)
Diffstat (limited to 'src/helpers')
| -rwxr-xr-x | src/helpers/run-config-migration.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helpers/run-config-migration.py b/src/helpers/run-config-migration.py index 6a3533644..6329d2979 100755 --- a/src/helpers/run-config-migration.py +++ b/src/helpers/run-config-migration.py @@ -47,13 +47,13 @@ if not os.access(config_file, os.R_OK): if out_file is None: if not os.access(config_file, os.W_OK): - print(f"Config file '{config_file}' not writeable") + print(f"Config file '{config_file}' not writable") sys.exit(1) else: try: open(out_file, 'w').close() except OSError: - print(f"Output file '{out_file}' not writeable") + print(f"Output file '{out_file}' not writable") sys.exit(1) config_migrate = ConfigMigrate(config_file, force=force, output_file=out_file) |
