mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-23 10:25:28 +00:00
ci: Check spelling with codespell
* You can ignore words inline by adding a comment like `# codespell:ignore word`. * You can ignore words by adding them to the `.codespell_ignores` file. * You can ignore files and directories by adding them with `skip = ` to the `.codespellrc` file. Signed-off-by: Sergei Petrosian <spetrosi@redhat.com>
This commit is contained in:
parent
1b57520aa9
commit
62d3bdc110
12 changed files with 64 additions and 38 deletions
|
|
@ -84,7 +84,7 @@ def parse_validator(validator):
|
|||
if not validator.required:
|
||||
comment += " optional"
|
||||
if minval is not None:
|
||||
comment += " mininum=" + str(minval)
|
||||
comment += " minimum=" + str(minval)
|
||||
if maxval:
|
||||
if maxval == 0xFFFFFFFF:
|
||||
maxval = hex(maxval)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue