From 320c6fadde751e8de05e98416738a91b89c24de8 Mon Sep 17 00:00:00 2001 From: Sean Mooney Date: Tue, 3 Oct 2023 01:09:59 +0100 Subject: [PATCH] [codespell] fix typos in api-ref this change uses codespell to fix typos in the api-ref and updates setup.cfg to exclude more binary types and build files. Change-Id: Ife9bf9a87c70126969bf43f7aa4a3645617de901 --- api-ref/source/parameters.yaml | 8 ++++---- api-ref/source/servers-actions.inc | 2 +- setup.cfg | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/api-ref/source/parameters.yaml b/api-ref/source/parameters.yaml index e185dce29dbf..813499abe940 100644 --- a/api-ref/source/parameters.yaml +++ b/api-ref/source/parameters.yaml @@ -3379,7 +3379,7 @@ force_evacuate: Furthermore, this should not be specified when evacuating instances managed by a clustered hypervisor driver like ironic since you cannot specify a node, so the compute service will pick a node randomly - which may not be able to accomodate the instance. + which may not be able to accommodate the instance. in: body required: false type: boolean @@ -5559,7 +5559,7 @@ os:scheduler_hints_cidr: Schedule the server on a host in the network specified with an IP address (``os:scheduler_hints:build_near_host_ip``) and this parameter. If ``os:scheduler_hints:build_near_host_ip`` is specified and - this paramete is omitted, ``/24`` is used. + this parameter is omitted, ``/24`` is used. It is available when ``SimpleCIDRAffinityFilter`` is available on cloud side. in: body @@ -6372,7 +6372,7 @@ server_hostname: &server_hostname .. note:: This information is published via the metadata service and requires - application such as ``cloud-init`` to propogate it through to the + application such as ``cloud-init`` to propagate it through to the instance. min_version: 2.3 server_hostname_req: @@ -6388,7 +6388,7 @@ server_hostname_req: .. note:: This information is published via the metadata service and requires - application such as ``cloud-init`` to propogate it through to the + application such as ``cloud-init`` to propagate it through to the instance. min_version: 2.90 server_hostname_update_rebuild: diff --git a/api-ref/source/servers-actions.inc b/api-ref/source/servers-actions.inc index bb9953afa0fc..83b07382e208 100644 --- a/api-ref/source/servers-actions.inc +++ b/api-ref/source/servers-actions.inc @@ -545,7 +545,7 @@ With microversion 2.93, we support rebuilding volume backed instances which will reimage the volume with the provided image. For microversion < 2.93, this operation keeps the contents of the volume given the image provided is same as -the image with which the volume was created else the opearation +the image with which the volume was created else the operation will error out. **Preconditions** diff --git a/setup.cfg b/setup.cfg index ca02b12ddc65..4e607b961ea3 100644 --- a/setup.cfg +++ b/setup.cfg @@ -103,6 +103,6 @@ check_untyped_defs = true warn_unused_ignores = true [codespell] -skip = *.po,*.js,*.css,*.html,*.svg,HACKING.py,./doc/build*,*_static*,doc/dictionary.txt +skip = *.po,*.js,*.css,*.html,*.svg,HACKING.py,*build*,*_static*,doc/dictionary.txt,*.pyc,*.inv,*.gz,*.jpg,*.png,*.vsd,*.graffle count = quiet-level = 4 \ No newline at end of file