From 595a79870e64372a85f401ce0b36fcebb2e99392 Mon Sep 17 00:00:00 2001 From: Travis Plunk Date: Mon, 19 Feb 2018 14:00:36 -0800 Subject: [PATCH] fix spelling failures in CI (#6191) This fixes spelling failures in CI. It appears to be caused by a change in the tool used to test spelling This change: -Updates the dictionary for new and words which are detected differently -updates markdown where it is more appropriate -adds one file to the markdown tests. --- .spelling | 15 ++++++++++++--- demos/SSHRemoting/README.md | 4 ++-- demos/python/README.md | 6 +++--- test/common/markdown/markdown.tests.ps1 | 1 + 4 files changed, 18 insertions(+), 8 deletions(-) diff --git a/.spelling b/.spelling index 66e5cc7679..834889fcd4 100644 --- a/.spelling +++ b/.spelling @@ -103,6 +103,7 @@ linux-x64 lockfile macOS md +microsoft Microsoft.PowerShell.Archive microsoft.powershell.commands.diagnostics microsoft.powershell.commands.management @@ -223,6 +224,8 @@ _Jobs -Include -Title 0xfeeddeadbeef +about_ +about_Jobs acceptance alpha.10 alpha.11 @@ -389,6 +392,7 @@ SwarfegaGit #region CODE_OF_CONDUCT.md Overrides - CODE_OF_CONDUCT.md microsoft.com +o opencode #endregion @@ -420,6 +424,8 @@ u #region demos/DSC/readme.md Overrides - demos/DSC/readme.md +www.github.com +omi #endregion #region demos/python/README.md Overrides @@ -485,7 +491,6 @@ WindowsPSModulePath andschwa's CurrentUser hub.docker.com -microsoft NanoServer-Insider nanoserver-insider-powershell #endregion @@ -506,8 +511,6 @@ WMI-based #region docs/building/internals.md Overrides - docs/building/internals.md -_arm -_arm64 Catalog flavor libpsl @@ -517,6 +520,8 @@ plugin powershell-unix src v141 +x64_arm +x64_arm64 #endregion #region docs/building/macos.md Overrides @@ -691,6 +696,7 @@ RemoteSigned #region docs/learning-powershell/debugging-from-commandline.md Overrides - docs/learning-powershell/debugging-from-commandline.md _Debuggers +about_Debuggers celsius Set-PSBreakpoint test.ps1 @@ -942,6 +948,7 @@ TabCompletion #region docs/testing-guidelines/TestRoadmap.md Overrides - docs/testing-guidelines/TestRoadmap.md +_no_ corefx DotCover Downlevel @@ -975,6 +982,7 @@ Gitter microsoft.com msi omnisharp-vscode +o opencode pkg tgz @@ -994,6 +1002,7 @@ libpsl-native _history.txt _PSReadline 50ms +about_PSReadline AddToHistoryHandler AppData BackgroundColor diff --git a/demos/SSHRemoting/README.md b/demos/SSHRemoting/README.md index 25f1b5e8e0..0192ae076d 100644 --- a/demos/SSHRemoting/README.md +++ b/demos/SSHRemoting/README.md @@ -41,7 +41,7 @@ In addition you will need to enable password authentication and optionally key b New-PSSession [-HostName] [-Name ] [-UserName ] [-KeyFilePath ] [-SSHTransport] [] ``` 1. Install the latest [Win32 Open SSH] build from GitHub using the [installation] instructions -1. Edit the sshd_config file at the location where you installed Win32 Open SSH +1. Edit the `sshd_config` file at the location where you installed Win32 Open SSH - Make sure password authentication is enabled ```none PasswordAuthentication yes @@ -70,7 +70,7 @@ In addition you will need to enable password authentication and optionally key b sudo apt install openssh-client sudo apt install openssh-server ``` -1. Edit the sshd_config file at location /etc/ssh +1. Edit the `sshd_config` file at location /etc/ssh - Make sure password authentication is enabled ```none PasswordAuthentication yes diff --git a/demos/python/README.md b/demos/python/README.md index 66ec4862d7..d2d1486e2f 100644 --- a/demos/python/README.md +++ b/demos/python/README.md @@ -1,8 +1,8 @@ -## PowerShell/Python Interoperation Demo +# PowerShell/Python Interoperation Demo -The "demo_script.ps1" file in this directory walks through a +The `demo_script.ps1` file in this directory walks through a demonstration of basic interoperation between PowerShell and Python including how to use JSON to exchange structured objects between Python and PowerShell. -The other files in this directory are referenced by demo_script.ps1. +The other files in this directory are referenced by `demo_script.ps1`. diff --git a/test/common/markdown/markdown.tests.ps1 b/test/common/markdown/markdown.tests.ps1 index 1096d51587..9581e55bc0 100644 --- a/test/common/markdown/markdown.tests.ps1 +++ b/test/common/markdown/markdown.tests.ps1 @@ -77,6 +77,7 @@ Describe 'Common Tests - Validate Markdown Files' -Tag 'CI' { './.github/CONTRIBUTING.md' './*.md' './demos/SSHRemoting/*.md' + './demos/python/*.md' './docker/*.md' './docs/*.md' './docs/building/*.md'