This is an automated email from the ASF dual-hosted git repository. aw pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/yetus.git
The following commit(s) were added to refs/heads/main by this push: new a57d0bdb YETUS-1207. upgrade codespell to 2.2.1 (#295) a57d0bdb is described below commit a57d0bdbc05cbad72f157c847d7ba502c4bb1499 Author: Allen Wittenauer <a...@apache.org> AuthorDate: Sun Oct 16 23:00:33 2022 -0700 YETUS-1207. upgrade codespell to 2.2.1 (#295) --- .codespellignorelines | 1 + .codespellignorewords | 1 + .codespellrc | 4 ++-- asf-site-src/source/documentation/in-progress/precommit/qbt.html.md | 2 +- .../source/documentation/in-progress/precommit/usage-intro.html.md | 2 +- pom.xml | 1 + precommit/src/main/shell/core.d/change-analysis.sh | 2 +- precommit/src/main/shell/test-patch-docker/Dockerfile | 2 +- yetus-dist/pom.xml | 2 +- 9 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.codespellignorelines b/.codespellignorelines index a73b7c59..11d53b4c 100644 --- a/.codespellignorelines +++ b/.codespellignorelines @@ -14,3 +14,4 @@ # limitations under the License. unless FileUtils.uptodate?(output, docs) && FileUtils.uptodate?(output, [SHELLDOCS]) + -v /src/precommit/src/main/shell:/input:ro \ diff --git a/.codespellignorewords b/.codespellignorewords new file mode 100644 index 00000000..1b6ee2f5 --- /dev/null +++ b/.codespellignorewords @@ -0,0 +1 @@ +drob diff --git a/.codespellrc b/.codespellrc index 91673b68..04f51e22 100644 --- a/.codespellrc +++ b/.codespellrc @@ -15,5 +15,5 @@ [codespell] skip = *.css.*,*.js,./.git/*,./asf.yaml,./asf-site-src/Gemfile.lock -ignore-regex = class\=\"nd\" - +ignore-words = .codespellignorewords +exclude-file = .codespellignorelines diff --git a/asf-site-src/source/documentation/in-progress/precommit/qbt.html.md b/asf-site-src/source/documentation/in-progress/precommit/qbt.html.md index 1164fc13..72926cc3 100644 --- a/asf-site-src/source/documentation/in-progress/precommit/qbt.html.md +++ b/asf-site-src/source/documentation/in-progress/precommit/qbt.html.md @@ -69,7 +69,7 @@ ${FILE,path="<report-file-path>"} </body></html> ``` -If your mailing lists do not allow HTML-formatted email, then the `--brief-report-file` provides a solution. This option creates a very plain, reduced content text file suitable for email. It contains just the barebones information needed to get information on failures: what voted -1, what tests failed, what subsystems are long running (configurable with the `--brief-report-long` opton), and a list of any attached log files. +If your mailing lists do not allow HTML-formatted email, then the `--brief-report-file` provides a solution. This option creates a very plain, reduced content text file suitable for email. It contains just the barebones information needed to get information on failures: what voted -1, what tests failed, what subsystems are long running (configurable with the `--brief-report-long` option), and a list of any attached log files. NOTE: Be aware that ASF mailing lists do not allow HTML formatted email. diff --git a/asf-site-src/source/documentation/in-progress/precommit/usage-intro.html.md b/asf-site-src/source/documentation/in-progress/precommit/usage-intro.html.md index bbafefe8..1044bf37 100644 --- a/asf-site-src/source/documentation/in-progress/precommit/usage-intro.html.md +++ b/asf-site-src/source/documentation/in-progress/precommit/usage-intro.html.md @@ -440,7 +440,7 @@ For many projects, it is useful to test Java code against multiple versions of J $ test-patch --plugins=all --multijdkdirs="/j/d/k/1,/j/d/k/2" ``` -Not all Java tests support this mode, but those that do will now run their tests with all of the given versions of Java consecutively (e.g., `javac`--the Java compliation test). Tests that do not support MultiJDK mode (e.g., checkstyle, mvn install) will use JAVA\_HOME. +Not all Java tests support this mode, but those that do will now run their tests with all of the given versions of Java consecutively (e.g., `javac`--the Java compilation test). Tests that do not support MultiJDK mode (e.g., checkstyle, mvn install) will use JAVA\_HOME. NOTE: JAVA\_HOME is always appended to the list of JDKs in MultiJDK mode. If JAVA\_HOME is in the list, it will be moved to the end. diff --git a/pom.xml b/pom.xml index 100f913a..0a39beb1 100644 --- a/pom.xml +++ b/pom.xml @@ -253,6 +253,7 @@ <excludes> <exclude>.mvn/maven.config</exclude> <exclude>.gitattributes</exclude> + <exclude>.codespellignorewords</exclude> </excludes> </configuration> </plugin> diff --git a/precommit/src/main/shell/core.d/change-analysis.sh b/precommit/src/main/shell/core.d/change-analysis.sh index a5e1e946..1f50d230 100755 --- a/precommit/src/main/shell/core.d/change-analysis.sh +++ b/precommit/src/main/shell/core.d/change-analysis.sh @@ -131,7 +131,7 @@ function exclude_paths_from_changed_files } ## @description Check for directories to skip during -## @description changed module calcuation +## @description changed module calculation ## @description requires $MODULE_SKIPDIRS to be set ## @audience private ## @stability stable diff --git a/precommit/src/main/shell/test-patch-docker/Dockerfile b/precommit/src/main/shell/test-patch-docker/Dockerfile index e5acba71..6d192b5a 100644 --- a/precommit/src/main/shell/test-patch-docker/Dockerfile +++ b/precommit/src/main/shell/test-patch-docker/Dockerfile @@ -322,7 +322,7 @@ RUN apt-get -q update && apt-get -q install --no-install-recommends -y \ ARG PY3_ANSIBLE_VERSION=5.5.0 ARG PY3_ANSIBLELINT_VERSION=6.0.2 ARG PY3_ASTROID_VERSION=2.11.2 -ARG PY3_CODESPELL_VERSION=2.1.0 +ARG PY3_CODESPELL_VERSION=2.2.1 ARG PY3_DETECT_SECRETS=1.2.0 ARG PY3_DOCKER_COMPOSE=1.29.2 ARG PY3_PYLINT_VERSION=2.13.4 diff --git a/yetus-dist/pom.xml b/yetus-dist/pom.xml index b3d43250..67029376 100644 --- a/yetus-dist/pom.xml +++ b/yetus-dist/pom.xml @@ -29,7 +29,7 @@ <relativePath>..</relativePath> </parent> <artifactId>yetus-dist</artifactId> - <description>Distrbution Creation</description> + <description>Distribution Creation</description> <name>Apache Yetus - Distribution</name> <packaging>pom</packaging>