From 029c991b0d2f33cfe1911915224bcfcfc1cdf68e Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Wed, 26 Jan 2022 11:35:53 -0800 Subject: [PATCH] ansible-test - Update outdated links in comments. --- test/lib/ansible_test/_data/requirements/sanity.pslint.ps1 | 2 +- test/lib/ansible_test/_util/target/setup/quiet_pip.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/lib/ansible_test/_data/requirements/sanity.pslint.ps1 b/test/lib/ansible_test/_data/requirements/sanity.pslint.ps1 index 194cdd79c09..68545c9e94f 100644 --- a/test/lib/ansible_test/_data/requirements/sanity.pslint.ps1 +++ b/test/lib/ansible_test/_data/requirements/sanity.pslint.ps1 @@ -34,7 +34,7 @@ Install-PSModule -Name PSScriptAnalyzer -RequiredVersion 1.20.0 if ($IsContainer) { # PSScriptAnalyzer contain lots of json files for the UseCompatibleCommands check. We don't use this rule so by # removing the contents we can save 200MB in the docker image (or more in the future). - # https://github.com/PowerShell/PSScriptAnalyzer/blob/master/RuleDocumentation/UseCompatibleCommands.md + # https://github.com/PowerShell/PSScriptAnalyzer/blob/master/docs/Rules/UseCompatibleCommands.md $pssaPath = (Get-Module -ListAvailable -Name PSScriptAnalyzer).ModuleBase $compatPath = Join-Path -Path $pssaPath -ChildPath compatibility_profiles -AdditionalChildPath '*' Remove-Item -Path $compatPath -Recurse -Force diff --git a/test/lib/ansible_test/_util/target/setup/quiet_pip.py b/test/lib/ansible_test/_util/target/setup/quiet_pip.py index 13f82994cbf..fa143a3c06f 100644 --- a/test/lib/ansible_test/_util/target/setup/quiet_pip.py +++ b/test/lib/ansible_test/_util/target/setup/quiet_pip.py @@ -19,7 +19,7 @@ LOGGING_MESSAGE_FILTER = re.compile("^(" "Requirement already satisfied.*" ")$") -# [1] https://src.fedoraproject.org/rpms/python-pip/blob/master/f/emit-a-warning-when-running-with-root-privileges.patch +# [1] https://src.fedoraproject.org/rpms/python-pip/blob/f34/f/emit-a-warning-when-running-with-root-privileges.patch WARNING_MESSAGE_FILTERS = ( # DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained.