Skip to content

Commit 0babb06

Browse files
committed
chore: Fix spelling
Signed-off-by: Sergei Petrosian <[email protected]>
1 parent df4e988 commit 0babb06

File tree

9 files changed

+37
-36
lines changed

9 files changed

+37
-36
lines changed

.codespell_ignores

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
iif

README.md

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ In general these work like shell globs.
480480

481481
- `*`, matches zero or more of any character
482482
- `?`, matches any single character
483-
- `[fo]` - matches any single `f` or `o` character - also supports ranges - `[0-9]`
483+
- `[fo]` - matches any single `f` or `o` character - also supports ranges - `[0-9]` <!-- codespell:ignore fo -->
484484
will match any single digit character
485485

486486
### `path`
@@ -788,31 +788,31 @@ The ethtool configuration supports the following options:
788788
coalesce:
789789
adaptive_rx: true|false # optional
790790
adaptive_tx: true|false # optional
791-
pkt_rate_high: 0 # optional mininum=0 maximum=0xffffffff
792-
pkt_rate_low: 0 # optional mininum=0 maximum=0xffffffff
793-
rx_frames: 0 # optional mininum=0 maximum=0xffffffff
794-
rx_frames_high: 0 # optional mininum=0 maximum=0xffffffff
795-
rx_frames_irq: 0 # optional mininum=0 maximum=0xffffffff
796-
rx_frames_low: 0 # optional mininum=0 maximum=0xffffffff
797-
rx_usecs: 0 # optional mininum=0 maximum=0xffffffff
798-
rx_usecs_high: 0 # optional mininum=0 maximum=0xffffffff
799-
rx_usecs_irq: 0 # optional mininum=0 maximum=0xffffffff
800-
rx_usecs_low: 0 # optional mininum=0 maximum=0xffffffff
801-
sample_interval: 0 # optional mininum=0 maximum=0xffffffff
802-
stats_block_usecs: 0 # optional mininum=0 maximum=0xffffffff
803-
tx_frames: 0 # optional mininum=0 maximum=0xffffffff
804-
tx_frames_high: 0 # optional mininum=0 maximum=0xffffffff
805-
tx_frames_irq: 0 # optional mininum=0 maximum=0xffffffff
806-
tx_frames_low: 0 # optional mininum=0 maximum=0xffffffff
807-
tx_usecs: 0 # optional mininum=0 maximum=0xffffffff
808-
tx_usecs_high: 0 # optional mininum=0 maximum=0xffffffff
809-
tx_usecs_irq: 0 # optional mininum=0 maximum=0xffffffff
810-
tx_usecs_low: 0 # optional mininum=0 maximum=0xffffffff
791+
pkt_rate_high: 0 # optional minimum=0 maximum=0xffffffff
792+
pkt_rate_low: 0 # optional minimum=0 maximum=0xffffffff
793+
rx_frames: 0 # optional minimum=0 maximum=0xffffffff
794+
rx_frames_high: 0 # optional minimum=0 maximum=0xffffffff
795+
rx_frames_irq: 0 # optional minimum=0 maximum=0xffffffff
796+
rx_frames_low: 0 # optional minimum=0 maximum=0xffffffff
797+
rx_usecs: 0 # optional minimum=0 maximum=0xffffffff
798+
rx_usecs_high: 0 # optional minimum=0 maximum=0xffffffff
799+
rx_usecs_irq: 0 # optional minimum=0 maximum=0xffffffff
800+
rx_usecs_low: 0 # optional minimum=0 maximum=0xffffffff
801+
sample_interval: 0 # optional minimum=0 maximum=0xffffffff
802+
stats_block_usecs: 0 # optional minimum=0 maximum=0xffffffff
803+
tx_frames: 0 # optional minimum=0 maximum=0xffffffff
804+
tx_frames_high: 0 # optional minimum=0 maximum=0xffffffff
805+
tx_frames_irq: 0 # optional minimum=0 maximum=0xffffffff
806+
tx_frames_low: 0 # optional minimum=0 maximum=0xffffffff
807+
tx_usecs: 0 # optional minimum=0 maximum=0xffffffff
808+
tx_usecs_high: 0 # optional minimum=0 maximum=0xffffffff
809+
tx_usecs_irq: 0 # optional minimum=0 maximum=0xffffffff
810+
tx_usecs_low: 0 # optional minimum=0 maximum=0xffffffff
811811
ring:
812-
rx: 0 # optional mininum=0 maximum=0xffffffff
813-
rx_jumbo: 0 # optional mininum=0 maximum=0xffffffff
814-
rx_mini: 0 # optional mininum=0 maximum=0xffffffff
815-
tx: 0 # optional mininum=0 maximum=0xffffffff
812+
rx: 0 # optional minimum=0 maximum=0xffffffff
813+
rx_jumbo: 0 # optional minimum=0 maximum=0xffffffff
814+
rx_mini: 0 # optional minimum=0 maximum=0xffffffff
815+
tx: 0 # optional minimum=0 maximum=0xffffffff
816816
```
817817

818818
### `ieee802_1x`
@@ -959,7 +959,7 @@ following options:
959959

960960
- `lacp_rate`
961961

962-
In `802.3ad` bonding mode, this option defines the rate in which we requst link
962+
In `802.3ad` bonding mode, this option defines the rate in which we request link
963963
partner to transmit LACPDU packets. The possible values are: `slow`, `fast`.
964964

965965
- `lp_interval`
@@ -978,7 +978,7 @@ following options:
978978

979979
- `num_grat_arp`
980980

981-
This option specify the number of peer notifications (gratuitious ARPs) to be
981+
This option specify the number of peer notifications (gratuitous ARPs) to be
982982
issued after a failover event. The allowed range for the value is 0 - 255.
983983

984984
- `packets_per_port`
@@ -1464,7 +1464,7 @@ role treats like RHEL, such as AlmaLinux, CentOS, OracleLinux, Rocky.
14641464
As Ansible usually works via the network, for example via SSH, there are some
14651465
limitations to be considered:
14661466

1467-
The `network` role does not support bootstraping networking configuration. One option
1467+
The `network` role does not support bootstrapping networking configuration. One option
14681468
may be
14691469
[ansible-pull](https://docs.ansible.com/ansible/latest/cli/ansible-pull.html).
14701470
Another option maybe be to initially auto-configure the host during installation (ISO

library/network_connections.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ def ValueEscape(cls, value):
306306
return value
307307

308308
if any(ord(c) < ord(" ") for c in value):
309-
# needs ansic escaping due to ANSI control caracters (newline)
309+
# needs ansic escaping due to ANSI control characters (newline)
310310
s = "$'"
311311
for c in value:
312312
if ord(c) < ord(c):
@@ -2194,7 +2194,7 @@ def start_transaction(self):
21942194
"""Hook before making changes"""
21952195

21962196
def finish_transaction(self):
2197-
"""Hook for after all changes where made successfuly"""
2197+
"""Hook for after all changes where made successfully"""
21982198

21992199
def rollback_transaction(self, idx, action, error):
22002200
"""Hook if configuring a profile results in an error

module_utils/network_lsr/argument_validator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2012,7 +2012,7 @@ def _validate_post_fields(self, value, name, result):
20122012
# If there are no runtime changes, "wait" and "force_state_change" do
20132013
# not make sense
20142014
# FIXME: Maybe this restriction can be removed. Need to make sure that
2015-
# defaults for wait or force_state_change do not interfer
2015+
# defaults for wait or force_state_change do not interfere
20162016
if not state:
20172017
while "wait" in valid_fields:
20182018
valid_fields.remove("wait")

module_utils/network_lsr/nm/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def _clean_up(self):
9393
self._mainloop = None
9494

9595
def quit(self):
96-
logging.debug("NM mainloop quiting")
96+
logging.debug("NM mainloop quitting")
9797
self._mainloop.quit()
9898
self._clean_up()
9999

pylintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ confidence=
5252
# can either give multiple identifiers separated by comma (,) or put this
5353
# option multiple times (only on the command line, not in the configuration
5454
# file where it should appear only once).You can also use "--disable=all" to
55-
# disable everything first and then reenable specific checks. For example, if
55+
# disable everything first and then re-enable specific checks. For example, if
5656
# you want to run only the similarities checker, you can use "--disable=all
5757
# --enable=similarities". If you want to run only the classes checker, but have
5858
# no Warning level messages displayed, use"--disable=all --enable=classes

scripts/print_all_options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def parse_validator(validator):
8484
if not validator.required:
8585
comment += " optional"
8686
if minval is not None:
87-
comment += " mininum=" + str(minval)
87+
comment += " minimum=" + str(minval)
8888
if maxval:
8989
if maxval == 0xFFFFFFFF:
9090
maxval = hex(maxval)

tests/playbooks/tests_checkpoint_cleanup.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: BSD-3-Clause
22
# This test is supposed to check that checkpoints are properly cleaned-up after
33
# failures in the module. This test currently uses the initscripts provider to
4-
# mark a device as unmanaged for NM and then tries to activiate it using NM.
4+
# mark a device as unmanaged for NM and then tries to activate it using NM.
55
# This failed without removing the checkpoint.
66
---
77
- name: Play for testing checkpoint cleanup

tests/tasks/manage_test_interface.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
changed_when: false
3737
- name: Set up veth as managed by NetworkManager
3838
command: nmcli d set {{ interface }} managed true
39-
# The varible for `network_provider` is not exists yet,
39+
# The variable for `network_provider` is not exists yet,
4040
# just ignore error for initscripts
4141
ignore_errors: true # noqa ignore-errors
4242
when: "type == 'veth' and state == 'present'"

0 commit comments

Comments
 (0)